Open
Bug 1466183
Opened 6 years ago
Updated 2 years ago
Attaching a shadow root to the DOM should cause pretty print to drop
Categories
(Core :: XML, enhancement, P3)
Core
XML
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox62 | --- | affected |
People
(Reporter: timdream, Unassigned)
References
Details
See bug 1437956 comment 13. For pretty printed XML document where it is possible to attach shadow DOM to its node, i.e. XBL & XSLT documents with allowed HTML elements, we don't leave pretty print when a shadow DOM is attached just as we do when the DOM is modified. You can test this out with, for example, https://hg.mozilla.org/mozilla-central/raw-file/9900cebb1f90/dom/xml/resources/XMLPrettyPrint.xml and do document.documentElement.firstElementChild.firstElementChild.firstElementChild.attachShadow({ mode: 'open'}); in the DevTools console.
Updated•6 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•