[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
Tue Sep 27 20:56:42 PDT 2011


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


Mike Bostock <mbostock at cs.stanford.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mbostock at cs.stanford.edu




--- Comment #2 from Mike Bostock <mbostock at cs.stanford.edu>  2011-09-27 20:56:42 PST ---
Any update on this? This is an issue with the D3.js visualization framework: you can create camel-cased elements, but it's impossible to select them again.

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.

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