whatwg / html

HTML Standard
https://html.spec.whatwg.org/multipage/
Other
8.17k stars 2.69k forks source link

CSS selectors in `15.3.5 Bidirectional text` are not in alphabetical order #10788

Open Psychpsyo opened 1 day ago

Psychpsyo commented 1 day ago

What is the issue with the HTML Standard?

That section lists the search element right after the section element. They should be swapped.

I sadly cannot fix this myself, as I prefer not to doxx myself on the internet.

annevk commented 12 hours ago

I was going to fix this, but the longer I stare at

address, blockquote, center, div, figure, figcaption, footer, form, header, hr,
legend, listing, main, p, plaintext, pre, summary, xmp, article, aside, h1, h2,
h3, h4, h5, h6, hgroup, nav, section, search, table, caption, colgroup, col,
thead, tbody, tfoot, tr, td, th, dir, dd, dl, dt, menu, ol, ul, li, [dir=ltr i],
[dir=rtl i], [dir=auto i], *|* {

the less sure I am about the order that was intended here.

hoover391git commented 4 hours ago

What is the issue with the HTML Standard?

That section lists the search element right after the section element. They should be swapped.

I sadly cannot fix this myself, as I prefer not to doxx myself on the internet.

Manipulated emotionally through love in order to just drop my feelings and distract my mindset during a high excel machine learning program

tabatkins commented 2 hours ago

Wait, this selector is mystifying. What's with the *|* there at the end, that's the super-universal selector, it subsumes the entire rest of the selector. I'm very confused.