News for hackers. Stuff that matters.
Re:Things I Learned Reading Webkit’s UA Stylesheet by CarelessExpert on Monday July 19, 2021 @02:50PM (#27886018)
I'm guessing, but if I had to bet, @namespace is almost certainly a holdover from those bad ol' pre-HTML5 days when the W3C was still pushing XHTML.

I'll be honest, I miss the consistency and regularity of XHTML. And being able to hook into the XML ecosystem is really attractive. But, at this point, it seems likely to remain in the dustbin of technology history...

Re:Things I Learned Reading Webkit’s UA Stylesheet by toxik on Monday July 19, 2021 @03:36PM (#27886478)
XHTML was a neat idea, replaced by something much less elegant.
Re:Things I Learned Reading Webkit’s UA Stylesheet by sigg3 on Monday July 19, 2021 @04:32PM (#27886950)
DHTML and ASP?
Re:Things I Learned Reading Webkit’s UA Stylesheet by com2kid on Monday July 19, 2021 @04:20PM (#27886863)
My main irritation with XHTML was that any tiny mistake in it rendered the document not visible at all.

Oh and how picky the <head> tag had to be specified.

It didn't help that this was all done back in the days when HTML pages were still often hand written.

Now days with HTML being largely framework generated, XHTML would be awesome!

Re:Things I Learned Reading Webkit’s UA Stylesheet by CarelessExpert on Monday July 19, 2021 @04:40PM (#27887043)
Oh yeah, HTML had ergonomics that made it easier to use by humans and a lot harder to use by computers.

XHTML is basically the opposite.

As a former coder, I support that tradeoff. As a user... well, there's many reasons XHTML failed, and that's definitely one of 'em!

Re:Things I Learned Reading Webkit’s UA Stylesheet by pjmlp on Tuesday July 20, 2021 @04:26AM (#27891234)
It mostly failed because browser vendors in general didn't care enough, and then Mozilla pushed HTML 5.
Re:Things I Learned Reading Webkit’s UA Stylesheet by blooalien on Monday July 19, 2021 @05:46PM (#27887609)
I could actually totally see that @namespace thing bein' useful if you're embedding SVG directly into your HTML (which is entirely possible, and even useful sometimes).