Summary: | DOMParser - Importing elements from parsed document | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | pnparam <pnparam> | ||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED INVALID | ||||||
Severity: | Normal | CC: | cdumez | ||||
Priority: | P2 | ||||||
Version: | Other | ||||||
Hardware: | PC | ||||||
OS: | Windows 7 | ||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=172224 | ||||||
Attachments: |
|
User Agent String: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36 By using the help from: https://bugzilla.mozilla.org/show_bug.cgi?id=1448110 I am marking this issue as Resolved - Invalid |
Created attachment 336296 [details] Test Scenario I am creating a template engine for my application. A sample is attached. Actual results: While using XML Dom parsing of string and appending on main document element, the default browser styles are not getting applied on elements. Not even displaying the input tag properly. While using HTML Dom parsing of string and appending on main document element, tr/td elements are vanished - but instead a text node with its content is getting created on parsing. Expected results: When using XML Dom parsing method, at least when importNode is called, the default browser styles should be applied on the node. When using HTML Dom parsing, the tr/td tags should be persisted as it is, even if there is no holding table present in the document.