[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
Fri Sep 30 01:42:04 PDT 2011


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





--- Comment #9 from Dirk Schulze <krit at webkit.org>  2011-09-30 01:42:03 PST ---
(In reply to comment #2)
> I assume this bug has something to do with the HTML elements being case-insensitive, while the SVG elements are case-sensitive. My guess is that the selector is internally downcased, but the SVG element names are not, making them impossible to select.
> 
> It'd be great if SVG were not case-sensitive when used inside an HTML document. I'm not sure if that's possible, but it would fix this issue and make SVG more accessible besides.

This assumption seems to be correct. I commented out this line:

http://trac.webkit.org/browser/trunk/Source/WebCore/dom/Node.cpp#L1671

And after that the first example works as well.

-- 
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