Bug 1801620 [wpt PR 37047] - [mathml] Force writing-mode to horizontal-tb in UA sheet...
commit53c99d94746869908393979029dc9c3f08a1451f
authorFrédéric Wang <fwang@igalia.com>
Wed, 7 Dec 2022 13:49:16 +0000 (7 13:49 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sun, 11 Dec 2022 12:06:50 +0000 (11 12:06 +0000)
treeaa225b00247cb38b3519d7b27247817ae9ee29c9
parentbca26f94ce0f58526c2ba1f3c22ecea179d1eaee
Bug 1801620 [wpt PR 37047] - [mathml] Force writing-mode to horizontal-tb in UA sheet, a=testonly

Automatic update from web-platform-tests
[mathml] Force writing-mode to horizontal-tb in UA sheet

Currently Blink forces writing-mode to horizontal-tb in the style
adjuster, but this does not work well with logical properties [1]. This
CL move the logic to the UA sheet, as it is currently done in the MathML
Core specification [2]. WPT tests are added to check that writing-mode
cannot be overridden on MathML elements and that an author-specified
writing-mode does not affect logical properties. Indentation errors for
the universal rules are also fixed.

[1] https://phabricator.services.mozilla.com/D48279#5004118
[2] https://w3c.github.io/mathml-core/#user-agent-stylesheet

Bug: 6606
Change-Id: I5a109a9161a572aab7d94edc561bd9445b1f0182
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4040125
Reviewed-by: Manuel Rego <rego@igalia.com>
Commit-Queue: Frédéric Wang <fwang@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1074558}

--

wpt-commits: 186dc8abccd46235ddb19eb575c6cb6ecdfb6fc7
wpt-pr: 37047
testing/web-platform/tests/mathml/relations/css-styling/writing-mode/force-horizontal-tb.html [new file with mode: 0644]
testing/web-platform/tests/mathml/relations/css-styling/writing-mode/reset-and-logicial-property-ref.html [new file with mode: 0644]
testing/web-platform/tests/mathml/relations/css-styling/writing-mode/reset-and-logicial-property.html [new file with mode: 0644]