Layout is not a trivial problem. Particularly when the layout needs to react to the viewport.
Yes, because layouts have never had to react to a viewport before browsers came along. All those windows apps that had to respond to whatever resolution they were resized to never existed. There were also absolutely zero solutions for this problem, definitely not solutions provided by Visual Studio or other RAD development tools that made things measurably easier than CSS.