[Webkit-unassigned] [Bug 46800] querySelectorAll/getElementsByTagName unable to find SVG camelCase elements imported into HTML

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 5 03:19:17 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=46800





--- Comment #12 from Dirk Schulze <krit at webkit.org>  2011-10-05 03:19:16 PST ---
(In reply to comment #10)
> You need to implement:
> 
> http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-getelementsbytagname
> 
> querySelector should already be case-insensitive.

I just checked Opera with HTML5 Parser. It has exactly the same problem. Maybe I misunderstand the spec. Would be great if you can explain it Anne. My understanding of:

"""
Element nodes in the HTML namespace whose local name is localName converted to ASCII lowercase.
Element nodes, not in the HTML namespace, whose local name is localName.
"""

is, that just for HTML elements (Element nodes in the HTML namespace) the localName should converted to lowercase.

It might make more sense if the localName gets converted to lowercase if we search in an HTML document, independent of the namespace of the element that we search for? Otherwise we would have to check if other namespace contain the element before converting to lowercase and searching in the HTML namespace?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list