Re:CSS: It was twenty years ago today
by gioele on Friday October 10, 2014 @09:30AM
(#8437542)
--
[ Parent
| on HN ]
Unfortunately in the reason world you tend to design components that can be used anywhere in the page (and hopefully reused in different pages) so you don't get the freedom to work this way.
Unfortunately true, although the Shadow DOM could help fix that.
I agree. We were producing the cleanest HTML back when "semantic web" was all the rage. Around 2009 I guess?
Are you kidding? The semantic web was just a bunch of extra junk layers of indirection. Schematize everything, but nothing's actually using the schemata. Replace your <i> tags with <em> tags, because that's more semantic, and easier for a screenreader to interpret (this was a real argument made at the time). Write your actual page as an XSLT on top of what we'd now call your API - but XSLT is barely human-writable, never mind human-readable.