Selection-getComposedRanges-dom-mutations-removal.html
Details
- Test
/selection/shadow-dom/tentative/Selection-getComposedRanges-dom-mutations-removal.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | Range is fully in shadow tree. Removing shadow host collapses composed StaticRange. Note it does not update previously returned composed StaticRange. Failed to execute 'attachShadow' on 'Element': mode must be 'open' or 'closed' |
| FAIL | Range is fully in shadow tree. Removing parent of shadow host collapses composed StaticRange. Failed to execute 'attachShadow' on 'Element': mode must be 'open' or 'closed' |
| PASS | Range is in light DOM. Removing startContainer rescopes new composed range to its parent. |
| FAIL | Range is across shadow trees. Replacing shadowRoot content rescopes new composed range to the shadowRoot. Failed to execute 'attachShadow' on 'Element': mode must be 'open' or 'closed' |
| FAIL | Range is across shadow trees. Removing ancestor shadow host rescopes composed range end to parent. Failed to execute 'attachShadow' on 'Element': mode must be 'open' or 'closed' |
| PASS | Range is between two light slotted contents. Removing start container rescopes to its parent in light tree. |