dir-auto-dynamic-changes.window.html
Details
- Test
/html/dom/elements/global-attributes/dir-auto-dynamic-changes.window.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | dynamic insertion of RTL text in a child element b is not defined |
| PASS | dir=auto changes for content insertion and removal, in and out of document |
| PASS | dir=auto changes for slot reassignment |
| PASS | text changes affecting both slot and ancestor with dir=auto |
| PASS | dynamic changes to subtrees excluded as a result of the dir attribute |
| PASS | dynamic changes inside of non-HTML elements |
| PASS | slotted non-HTML elements |
| PASS | slotted non-HTML elements after dynamically assigning dir=auto, and dir attribute ignored on non-HTML elements |
| PASS | dir=auto ancestor considers text in subtree after removing dir=ltr from it |
| PASS | Slotted content affects multiple dir=auto slots |
| PASS | Removing slotted content resets direction on dir=auto slot |
| PASS | Removing child of slotted content changes direction on dir=auto slot |
| PASS | Child directionality gets updated when dir=auto is set on parent |
| PASS | dir=auto slot is not affected by text in value of input element children |
| FAIL | input direction changes if it stops being auto-directionality form-associated assert_equals: expected "ltr" but got "rtl" |
| PASS | Input that becomes auto directionality associated but is dir=ltr stays LTR |
| FAIL | slot provides updated directionality from host to a dir=auto container assert_equals: host dir change propagated via slot expected "rtl" but got "ltr" |
| PASS | text input and textarea value changes should only be reflected in :dir() when dir=auto (value changes) |
| FAIL | slot removal resets parent's dependency on host directionality assert_equals: rtl inherited from host through slot child expected "rtl" but got "ltr" |
| FAIL | slot removal can impact multiple dir=auto nodes assert_equals: Expect rtl as assigned node root3 contains slot1 which provides host dir=rtl expected "rtl" but got "ltr" |
| FAIL | slot insertion makes parent dependent on host directionality assert_equals: expected "rtl" but got "ltr" |