| Summary: | Element.tagName should be upper-case for HTML elements in HTML documents | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||
| Component: | DOM | Assignee: | Chris Dumez <cdumez> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | ap, cdumez, commit-queue, esprehn+autocc, gyuyoung.kim, rniwa, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar, WebExposed | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Ryosuke Niwa
2015-09-04 16:22:15 PDT
document.implementation.createDocument("http://www.w3.org/1999/xhtml", "div", null).createElementNS("http://www.w3.org/1999/xhtml", "i").tagName
fails but
document.createElementNS("http://www.w3.org/1999/xhtml", "i").tagName
successfully upper-cases the tag name so there's some XHTML document weirdness going on here.
Created attachment 260986 [details]
Patch
Comment on attachment 260986 [details] Patch Clearing flags on attachment: 260986 Committed r189618: <http://trac.webkit.org/changeset/189618> All reviewed patches have been landed. Closing bug. |