>
> or, at least, case insensitive on HTML documents, as the CSS level 3 spec
> evidently requires
> http://www.w3.org/TR/css3-selectors/#casesens
> <http://www.google.com/url?q=http%3A%2F%2Fwww.w3.org%2FTR%2Fcss3-selectors%2F%23casesens&sa=D&sntz=1&usg=AFQjCNHplbC8wM3zWRXwMTKj13ZikVSk2g>
>
Your interpretation is wrong, it depends on the document language, and in
HTML there are case-sensitive as well as case-insensitive attribute values.
So we would have to maintain a table of all possible attributes and handle
them all individually.
https://html.spec.whatwg.org/#attributes-3
> $dom->find('input[type=hidden],input[type=HIDDEN]')
>
> and maybe other combinations, which seems kind of wrong.
>
This would be a lot easier with the new case-insensitivity feature from
CSS4, but the spec is not ready yet.
http://dev.w3.org/csswg/selectors-4/#attribute-case
--
sebastian
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.