From 776c0e4d71c8ef708743196463af8647fc34e253 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Mon, 28 Sep 2020 19:34:59 +0000 Subject: [PATCH] Bug 1666407 [wpt PR 25666] - [mathml] Update CSS math-superscript-shift to match the specification, a=testonly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic update from web-platform-tests [mathml] Update CSS math-superscript-shift to match the specification This feature was initially implemented in [1] [2]. After discussion with the CSSWG, the property and values have been renamed [3]. This CL performs the following changes: - Rename math-superscript-shift to math-shift - Rename value "display" and "inline" to "normal" and "compact" - Add a MathML test to verify the effect of CSS math-shift (rather than just testing indirectly via UA style sheet rules). - Sort math-style / math-shift alphabetically [1] https://chromium-review.googlesource.com/c/chromium/src/+/2144185 [2] https://chromium-review.googlesource.com/c/chromium/src/+/2277814 [3] https://github.com/w3c/csswg-drafts/issues/5388 Bug: 6606 Change-Id: I1c7c7c12954261217cafffabffbe044c6659db9e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2421662 Reviewed-by: Rob Buis Reviewed-by: Rune Lillesveen Commit-Queue: Frédéric Wang Cr-Commit-Position: refs/heads/master{#809259} -- wpt-commits: 96be9a34e38bf8d33636516aa7a81f414458589e wpt-pr: 25666 UltraBlame original commit: eb2e9cc1e0c5a4da0897e121252f817a8bdb82e6 --- .../scripts/cramped-001.html | 36 ++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/testing/web-platform/tests/mathml/presentation-markup/scripts/cramped-001.html b/testing/web-platform/tests/mathml/presentation-markup/scripts/cramped-001.html index 700c89bf1c41..876a8331d5a3 100644 --- a/testing/web-platform/tests/mathml/presentation-markup/scripts/cramped-001.html +++ b/testing/web-platform/tests/mathml/presentation-markup/scripts/cramped-001.html @@ -8,7 +8,7 @@ - + @@ -138,6 +138,14 @@ assert_cramped("mmultiscripts-005", false, "post-superscript"); }, "mmultiscripts"); + test(function() { + assert_true(MathMLFeatureDetection.has_mspace()); + assert_cramped("css-001", false); + assert_cramped("css-002", true); + assert_cramped("css-003", true); + assert_cramped("css-004", false); + }, "element with specified CSS math-style"); + done(); } @@ -588,5 +596,31 @@

+

+ + + + + + + + + + + + + + + + + + + + + + + + +