News for hackers. Stuff that matters.
Re:XUL Layout has been removed from Firefox by Dalewyn on Sunday April 02, 2023 @01:18AM (#35407421)
For the younger greenhorns among us: Once upon a time, we used to declare what version of HTML a page was written in with the doctype tag at the very top of the file.

Certain versions of HTML thus declared, incorrectly formed doctypes, or more often the absence of the doctype declaration altogether, would tell most rendering engines to enter Quirks Mode and render the page with backwards compatibility as the highest priority.

Re:XUL Layout has been removed from Firefox by Timwi on Sunday April 02, 2023 @03:18AM (#35408034)
> we used to declare what version of HTML a page was written in with the doctype tag at the very top of the file.

Um, we still do that. It's just that the doctype for HTML 5 is very short and doesn't mention the version number explicitly. (It's `<!DOCTYPE html>`.)