Bug 59059

Summary: 'new DOMParser().parseFromString(...)' doesn't create shadow DOM
Product: WebKit Reporter: Roland Steiner <rolandsteiner>
Component: DOMAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: dglazkov, dominicc, morrita
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 52962    

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.