[charmod-norm] Case matching example seems wrong

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[charmod-norm] Case matching example seems wrong

r12a via GitHub
r12a has just created a new issue for
https://github.com/w3c/charmod-norm:

== Case matching example seems wrong ==
http://w3c.github.io/charmod-norm/#definitionCaseFolding

> For example, this occurs when matching class names between an HTML
document and its associated style sheet. Consider this HTML fragment:

> Example 3
>
> <style type="text/css">
>
>   SPAN.h\e9llo {
>      text-decoration: underline;
>   }
> </style>
>
> <span class="h&#xe9;llo">Hello World!</span>
>
> The SPAN in the stylesheet matches the span element in the document,
 even though one is uppercase and the other is not.

The text before the example box talks about matching class names, but
the example shows matching of element names.  (Note that the escaped é
 is rather distracting, and i'm not sure why it's there. It _is_ in
the class name, but there's no case distinction.)


See https://github.com/w3c/charmod-norm/issues/99
Please do NOT reply to this email. If you'd like to contribute to the
discussion, please do so at the above link. You will need to subscribe
 yourself to the issue (using the button provided by that page) to
receive notifications of further comments.