Bug 59059 - 'new DOMParser().parseFromString(...)' doesn't create shadow DOM
Summary: 'new DOMParser().parseFromString(...)' doesn't create shadow DOM
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 52962
  Show dependency treegraph
 
Reported: 2011-04-20 18:50 PDT by Roland Steiner
Modified: 2011-04-20 19:17 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Steiner 2011-04-20 18:50:40 PDT
var doc = new DOMParser().parseFromString('<keygen/>', 'text/xml') doesn't create the shadow tree for the <keygen> element.
Comment 1 Dominic Cooney 2011-04-20 19:10:21 PDT
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.