Bug
1858983 [wpt PR 42532] - Fix case of incorrect removal of dir=auto state in HTMLElement::OnDirAttrChanged., a=testonly
Automatic update from web-platform-tests
Fix case of incorrect removal of dir=auto state in HTMLElement::OnDirAttrChanged.
When a dir=auto attribute is removed, we might still need to be in the
ancestor-or-self-has-dir-auto state because of an ancestor. This state
is needed to know when we need to handle auto direction changes for
dynamic changes to text.
Bug: 576815
Change-Id: I5d8cd262a165962fbd0bc14aa0de8bd16c970400
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
4812429
Commit-Queue: Di Zhang <dizhangg@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Reviewed-by: Di Zhang <dizhangg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#
1209530}
--
wpt-commits:
d4808a74fcbedff8c1028a3f9a845bc84b83392e
wpt-pr: 42532