Closed Bug 1876835 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44235 - Add unicode-bidi UA stylesheet rules

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 44235 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/44235
Details from upstream follow.

Mason Freed <masonf@chromium.org> wrote:

Add unicode-bidi UA stylesheet rules

Per spec:

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

this should be in the UA stylesheet:

address, blockquote, center, div, figure, figcaption, footer, form, header, hr,
legend, listing, main, p, plaintext, pre, summary, xmp, article, aside, h1, h2,
h3, h4, h5, h6, hgroup, nav, section, search, table, caption, colgroup, col,
thead, tbody, tfoot, tr, td, th, dir, dd, dl, dt, menu, ol, ul, li, bdi, output,
[dir=ltr i], [dir=rtl i], [dir=auto i] {
unicode-bidi: isolate;
}

To avoid breakage, I just added the elements, and not the [dir] related rules,
nor did I change the \<bdo> rules.

Firefox and WebKit are both making the same change:
https://bugzilla.mozilla.org/show_bug.cgi?id=1874033
https://bugs.webkit.org/show_bug.cgi?id=267887

Fixed: 1520671
Change-Id: Icaa32061efc59d963942b0629327bb596ac224ec
Reviewed-on: https://chromium-review.googlesource.com/5240082
WPT-Export-Revision: 6f8de0a823f2de679c67ead034d6124332468df8

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 5 tests and 11 subtests

Status Summary

Firefox

OK : 4
PASS: 444

Chrome

OK : 4
PASS: 401
FAIL: 48

Safari

OK : 4
PASS: 420
FAIL: 48

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f6ae60149e20 [wpt PR 44235] - Add unicode-bidi UA stylesheet rules, a=testonly https://hg.mozilla.org/integration/autoland/rev/68c48e2ea5b3 [wpt PR 44235] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.