[Webkit-unassigned] [Bug 74959] New: classList property undefined for SVG elements
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 20 14:43:18 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=74959
Summary: classList property undefined for SVG elements
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jamesr at chromium.org
CC: eric at webkit.org, arv at chromium.org
Testcase:
<!DOCTYPE html>
<svg class="foo bar"></svg>
<script>
w(document.querySelector('svg').classList.length);
</script>
produces "2" in Firefox and "Uncaught TypeError: Cannot read property 'length' of undefined on line 2" in WebKit because the .classList property on the <svg> element is undefined.
--
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