[csswg-drafts] [selectors] Class selectors in Selectors-3 need updating for HTML 5

svgeesus has just created a new issue for https://github.com/w3c/csswg-drafts:

== [selectors] Class selectors in Selectors-3 need updating for HTML 5 ==
Selectors 3 limits the dot notation to HTML and allows processors that understand (as examples) SVG or MathML to also use it.

>UAs may apply selectors using the period (.) notation in XML documents if the UA has namespace-specific knowledge that allows it to determine which attribute is the "class" attribute for the respective namespace. One such example of namespace-specific knowledge is the prose in the specification for a particular namespace (e.g. SVG 1.1 [SVG11] describes the SVG class attribute and how a UA should interpret it, and similarly MathML [MATHML3] describes the MathML class attribute.) 

https://drafts.csswg.org/selectors-3/#class-html

HTML5 incorporates both SVG and MathML and thus, use of dot notation should be moved from an optional example to a conformance requirement to align with HTML5.

Needs tests.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2190 using your GitHub account

Received on Tuesday, 16 January 2018 14:01:16 UTC