Files
firefox/testing/web-platform/tests/html/resources
Mason Freed d93fca2a71 Bug 1881366 [wpt PR 44718] - Fix up bdo behavior with unicode-bidi property, a=testonly
Automatic update from web-platform-tests
Fix up bdo behavior with unicode-bidi property

See the predecessor CLs [1][2] which fixed up other elements. This
CL updates the bdo element UA stylesheet and some management code
in html_element.cc.

In particular, this CL makes the following changes to html.css:

add this:
  [dir=ltr i], [dir=rtl i], [dir=auto i] {
    unicode-bidi: isolate;
  }

and then replace this:
  bdo {
    unicode-bidi: bidi-override;
  }
with this:
  bdo, bdo[dir] {
    unicode-bidi: isolate-override;
  }

That is per spec:
https://html.spec.whatwg.org/multipage/rendering.html#bidi-rendering

Several tests had to be updated to match bdo's isolate-override
behavior.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/5240082
[2] https://chromium-review.googlesource.com/c/chromium/src/+/5260610

Bug: 1520671
Change-Id: Ic596a83974c01740d455a30f95a0fe28e9f73fa9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5262983
Reviewed-by: David Baron <[email protected]>
Auto-Submit: Mason Freed <[email protected]>
Commit-Queue: Mason Freed <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1264627}

--

wpt-commits: 16aaaefa887d10254730d0f0410c3583172a80dc
wpt-pr: 44718
2024-03-01 20:09:59 +00:00
..
…