[Webkit-unassigned] [Bug 41655] Implement SVGSVGElement.getElementById
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 7 13:42:13 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=41655
Eric Seidel <eric at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #60748|review? |review-
Flag| |
--- Comment #10 from Eric Seidel <eric at webkit.org> 2010-07-07 13:42:13 PST ---
(From update of attachment 60748)
What about duplicate ids?
<div id="foo">
<svg>
<rect id="foo">
</svg>
<div id="foo>
I think would cause your code to wrongly fail. I don't remember which id wins for "getElementById", but you want to check all of them to see if any are under <svg> (if thee is a gitElementByIds) or you need to fall back to the walking in teh case where you find an id but it isn't an ancestor.
--
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