Bug 59059
| Summary: | 'new DOMParser().parseFromString(...)' doesn't create shadow DOM | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Roland Steiner <rolandsteiner> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | dglazkov, dominicc, morrita |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
| Bug Depends on: | |||
| Bug Blocks: | 52962 | ||
Roland Steiner
var doc = new DOMParser().parseFromString('<keygen/>', 'text/xml') doesn't create the shadow tree for the <keygen> element.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Dominic Cooney
I don’t think this is a bug, because you are parsing a text/xml document. So the parsed <keygen> element isn’t a HTML keygen element, just an element with tag name keygen.