[wpt-sync] Sync PR 44107 - Add getHTML() and modify getInnerHTML() accordingly [2/N]
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox124 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 2 open bugs, )
Details
(Whiteboard: [wptsync downstream])
Attachments
(2 files)
Sync web-platform-tests PR 44107 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/44107
Details from upstream follow.
Mason Freed <masonf@chromium.org> wrote:
Add getHTML() and modify getInnerHTML() accordingly [2/N]
This CL adds a new getHTML() method, and modifies the existing
getInnerHTML() method accordingly. The new method follows the
discussion and conclusions here:
https://github.com/whatwg/html/issues/8867#issuecomment-1856696628Essentially, that is:
- Provide a boolean option to getHTML() that says "please serialize
opted-in shadow roots". The default for this option is false.- Provide an option to getHTML() containing a sequence of shadowRoots
that should be serialized, independent of whether they opted in via
the flag above.This work falls under these two chromestatus entries:
https://chromestatus.com/guide/editall/5081733588582400
https://chromestatus.com/guide/editall/5102952270528512
and these two blink-dev threads:
https://groups.google.com/a/chromium.org/g/blink-dev/c/PE4VwMjLVTo
https://groups.google.com/a/chromium.org/g/blink-dev/c/it0X7BOimKwBug: 1519972, 1517959
Change-Id: I5181a0702a12d550b4dab64c0c306ea2ccb25fa3
Reviewed-on: https://chromium-review.googlesource.com/5219591
WPT-Export-Revision: 4f5ae86d38587e24c2f21858468a1bca599f2839
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
Comment 5•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bed358ab233d
https://hg.mozilla.org/mozilla-central/rev/ebf67c2a03fd
Description
•