Bug 1733965 [wpt PR 31097] - Set SetSelfOrAncestorHasDirAutoAttribute in ChildrenChan...
commit2d8f64e44e38dc8fc935cd275d72d040112cfd12
authorMiyoung Shin <myid.shin@igalia.com>
Wed, 6 Oct 2021 15:56:09 +0000 (6 15:56 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 13 Oct 2021 09:30:39 +0000 (13 09:30 +0000)
tree8851d8b642b027b5f7129d9f839035ad8c008c80
parent1ee92726044afecdbe48b5031b7befc500eab505
Bug 1733965 [wpt PR 31097] - Set SetSelfOrAncestorHasDirAutoAttribute in ChildrenChanged, a=testonly

Automatic update from web-platform-tests
Set SetSelfOrAncestorHasDirAutoAttribute in ChildrenChanged

We set |SelfOrAncestorHasDirAutoAttribute| flag in OnDirAttrChanged
if an element has dir=auto attribute or set it in
BeginParsingChildren if the element is the <BDI>, but
BeginParsingChildren does not be called when the <BDI> element as
a child is added by JS. So, this CL change setting the flag to
ChildrenChanged.

Bug: 576815, 1254669
Change-Id: Iec26690f860e8ccf448dd237a1bf7da1176f2923
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3199866
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Miyoung Shin <myid.shin@igalia.com>
Cr-Commit-Position: refs/heads/main@{#928597}

--

wpt-commits: b2cfba0fdef0295a119d2752ba5f95120132faba
wpt-pr: 31097
testing/web-platform/tests/html/dom/elements/global-attributes/dir-bdi-script.html [new file with mode: 0644]