[Webkit-unassigned] [Bug 183910] New: DOMParser - Importing elements from parsed document
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 22 12:24:13 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=183910
Bug ID: 183910
Summary: DOMParser - Importing elements from parsed document
Product: WebKit
Version: Other
Hardware: PC
OS: Windows 7
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: pnparam at gmail.com
CC: cdumez at apple.com
Created attachment 336296
--> https://bugs.webkit.org/attachment.cgi?id=336296&action=review
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180322/06fdd5aa/attachment.html>
More information about the webkit-unassigned
mailing list