dir-auto-dynamic-changes.window.html

FAILExpected15 of 21 subtests pass643 ms

Details

Test
/html/dom/elements/global-attributes/dir-auto-dynamic-changes.window.html
Harness
OK

Subtests

StatusSubtestMessage
FAILdynamic insertion of RTL text in a child element
b is not defined
b is not defined
PASSdir=auto changes for content insertion and removal, in and out of document
PASSdir=auto changes for slot reassignment
PASStext changes affecting both slot and ancestor with dir=auto
PASSdynamic changes to subtrees excluded as a result of the dir attribute
PASSdynamic changes inside of non-HTML elements
PASSslotted non-HTML elements
PASSslotted non-HTML elements after dynamically assigning dir=auto, and dir attribute ignored on non-HTML elements
PASSdir=auto ancestor considers text in subtree after removing dir=ltr from it
PASSSlotted content affects multiple dir=auto slots
PASSRemoving slotted content resets direction on dir=auto slot
PASSRemoving child of slotted content changes direction on dir=auto slot
PASSChild directionality gets updated when dir=auto is set on parent
PASSdir=auto slot is not affected by text in value of input element children
FAILinput direction changes if it stops being auto-directionality form-associated
assert_equals: expected "ltr" but got "rtl"
assert_equals: expected "ltr" but got "rtl"
PASSInput that becomes auto directionality associated but is dir=ltr stays LTR
FAILslot provides updated directionality from host to a dir=auto container
assert_equals: host dir change propagated via slot expected "rtl" but got "ltr"
assert_equals: host dir change propagated via slot expected "rtl" but got "ltr"
PASStext input and textarea value changes should only be reflected in :dir() when dir=auto (value changes)
FAILslot removal resets parent's dependency on host directionality
assert_equals: rtl inherited from host through slot child expected "rtl" but got "ltr"
assert_equals: rtl inherited from host through slot child expected "rtl" but got "ltr"
FAILslot 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"
assert_equals: Expect rtl as assigned node root3 contains slot1 which provides host dir=rtl expected "rtl" but got "ltr"
FAILslot insertion makes parent dependent on host directionality
assert_equals: expected "rtl" but got "ltr"
assert_equals: expected "rtl" but got "ltr"