However, the disabled attr on group definitely does not work!
It has been a problem for a long time if you want to support anything other than Chrome.
That's partially because Chrome keeps adopting standards nobody else wants to support.
Seems broken in mobile safari, not actually disabled I can still select the disabled items.
https://caniuse.com/mdn-html_elements_optgroup_disabled
I think it may be a Safari bug.
Also doesnt work for me on iPhone Firefox
unfortunately we have a new class of dev's that never learned html but went straight for React. Now with LLMs they will never learn HTML.
hence they reach for react components where simple html would have been sufficient.
When I first had to use XML, I had to learn the XML spec and output it manually - serialization libraries didn’t really exist yet. I’ve since seen generation of juniors come up through the ranks using XML as an interchange format (and then JSON) without ever learning it fully. It was fine, and nothing terrible happened.
I’ve seen AJAX go from the hot new thing to people not knowing what it stood for, to now most people not even recognizing the term. AJAX didn’t die; it became so common we don’t need a word for it anymore.
Thank god the underlying language, libraries, and browser support have moved forward. And IE6 is dead. God, what a nightmare.
IE 5.5 was much, much worse, and there was a long time there when it didn’t get any updates at all.
For example the HTML approach to style parts of a control is to use pseudoclasses. Sometimes the selectors are different across browsers! Then you have to test across browsers because who knows if it will actually work correctly.
React is not just easier it's more dependable. If I make something with React and some divs I know it's going to work the same in all browsers.
Unfortunately, it could be around a decade before all three major browsers finally implement the standard, and the fix might not be quite as clean as you originally imagined.
SuperHTML validates not only syntax but also element nesting and attribute values. No other language server implements the full HTML spec in its validation code.<MARQUEE>
<OL>
<LI>One</LI>
<LI>Two</LI>
<LI>Three</LI>
</OL>
</MARQUEE> <BLINK>
<MARQUEE>
<OL>
<LI>One</LI>
<LI>Two</LI>
<LI>Three</LI>
</OL>
</MARQUEE>
</BLINK>
FTFY<MARQUEE DIRECTION="DOWN" BEHAVIOR="SLIDE">Slide</MARQUEE>
And then to find out the list don't work on Safari iOS.
It's a nice read, not very long and you can kind of leisurely skim it.