3 ms·
? Tables for layout? Seriously? Foolishness aside it is important to understand the DOM came out of work from the XML Schema spec and for many years updates to
by austincheney 7y ago
? Tables for layout? Seriously?
Foolishness aside it is important to understand the DOM came out of work from the XML Schema spec and for many years updates to those two documents were always released together.
The W3C isn’t irrelevant as there is more to the web than just HTML just like Oasis isn’t irrelevant for schematic design and business integration. This talk of irrelevance is a hard argument to make for many frontend developers who cant tell the difference between the standard DOM and Reacts VDOM.
- maeln 7y agoYes tables. There is a reason why people where abusing table for layout even though all hated it. In the end, we finally have CSS grid now ( https://css-tricks.com/snippets/css/complete-guide-grid https://css-tricks.com/snippets/css/complete-guide-grid ) which do what we were trying to achieve back in the day with tables. We had to wait until 2016 to have a type of layout which is considered standard in most GUI toolkit ...
- ChrisSD 7y ago`display: table` has been around since around 2001/02, for exactly that reason. However IE didn't support it until IE8.
- cygx 7y agoHowever IE didn't support it until IE8. Which got released in 2009, but took another year to overtake IE6+7 in market share. This means `display:table` was of limited usefulness for nearly a decade after its introduction...
- ChrisSD 7y agoSure but that's a different issue. It's not the fault of the standard if a major browser doesn't implement it. In practice I was using display table in some designs in the mid 00's but also using conditional stylesheets to hack an IE layout. This was not a particularly good solution but it "worked".
- maeln 7y agoBut that's kind of the point, we had to do a lot of things that just "worked" because we didn't have the tool that were considered standard in almost any other GUI toolkit.