| Summary: | Range APIs do not construct / move trees in tree order (observable by custom elements) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Russell Bicknell <bicknellr> | ||||
| Component: | DOM | Assignee: | Ryosuke Niwa <rniwa> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bicknellr, cdumez, fred.wang, ntim, rniwa, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari 11 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | https://wpt.fyi/results/custom-elements/range-and-constructors.html?label=experimental&label=master&product=chrome&product=firefox&product=safari&aligned&view=interop&q=label%3Ainterop-2023-webcomponents | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 154907 | ||||||
| Attachments: |
|
||||||
|
Description
Russell Bicknell
2018-08-02 15:15:39 PDT
Also, if you check the "#n" and "Cn" checkboxes and click "create source", you'll notice that all of the elements in the source tree were constructed before any of them are connected. I'll file a separate bug for this since it's not related to ranges. Possibly related: https://bugs.webkit.org/show_bug.cgi?id=160667 Other bugs filed: https://bugs.chromium.org/p/chromium/issues/detail?id=870464 https://bugzilla.mozilla.org/show_bug.cgi?id=1480618 This is presumably also observable via mutation observers since disconnection of a node is typically caused by a removal of the node, which is observable via mutations observers. Pull request: https://github.com/WebKit/WebKit/pull/9730 Committed 259987@main (fa5a06a66c96): <https://commits.webkit.org/259987@main> Reviewed commits have been landed. Closing PR #9730 and removing active labels. |