Oh my gods I wish. I was working on a webapp some months ago and was having the weirdest issue with how things were updating. There was a hard to discern pattern to it, but eventually when I really dug into it, I realised that it was generating elements with duplicate IDs, then it all made sense.
If the browser yelled at me, at least in the dev tools, it would’ve saved me a lot of work trying to figure things out.
Interesting fact: Firefox (or Gecko to be accurate, because there was no single “Firefox” browser back then - there was Netscape Navigator and Mozilla Application Suite) had such rendering mode, but it was quickly abandoned.[1]
https://hsivonen.fi/doctype/: “In the summer of 2000 before Netscape 6 was released, Gecko actually had parser modes that enforced HTML syntax rules and one of these modes was called the “Strict DTD”. These modes were incompatible with existing Web content and were abandoned.”
Which is a shame. Browser should be strict when rendering.
XHTML.
Oh my gods I wish. I was working on a webapp some months ago and was having the weirdest issue with how things were updating. There was a hard to discern pattern to it, but eventually when I really dug into it, I realised that it was generating elements with duplicate IDs, then it all made sense.
If the browser yelled at me, at least in the dev tools, it would’ve saved me a lot of work trying to figure things out.
Interesting fact: Firefox (or Gecko to be accurate, because there was no single “Firefox” browser back then - there was Netscape Navigator and Mozilla Application Suite) had such rendering mode, but it was quickly abandoned.[1]
I choose to imagine that these offenses result in developers cooling their heels in the slammer rather than a browser being a picky eater.