whatwg / html

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

Remove unnecessary "in the HTML namespace" #10740

Open zcorpan opened 2 weeks ago

zcorpan commented 2 weeks ago

What is the issue with the HTML Standard?

https://html.spec.whatwg.org/#has-an-element-in-list-item-scope says

ol in the HTML namespace ul in the HTML namespace

(same for the next 3 definitions)

...whereas the rest of the spec omits "in the HTML namespace" when mentioning a specific HTML element, as per https://html.spec.whatwg.org/#xml

Except where otherwise stated, all elements defined or mentioned in this specification are in the HTML namespace ("http://www.w3.org/1999/xhtml"), and all attributes defined or mentioned in this specification have no namespace.