Summary: | DOM Element.children does not work on MathML elements | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Frédéric Wang (:fredw) <fred.wang> | ||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED WORKSFORME | ||||||
Severity: | Normal | CC: | ap, bfulgham, cdumez, davidc, dbarton, johnsonboatright | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 84012 | ||||||
Attachments: |
|
This seems to be fixed in WebKit (and Chrome), not sure which commit fixed it. Mass moving XML DOM bugs to the "DOM" Component. |
Created attachment 187812 [details] testcase See the attached testcase, which works with Opera & Firefox but not in Chrome 24. It seems that Element.children is available on HTML elements but not on MathML elements. firstElementChild/nextElementSibling/childElementCount work correctly.