Bug 1635138 [wpt PR 23384] - Parse text-decoration-thickness, a=testonly
authormoz-wptsync-bot <wptsync@mozilla.com>
Wed, 13 May 2020 09:37:03 +0000
changeset 531046 3762c927a4253f5f88466ae43d0f3043964541ef
parent 531045 ccafb54a86967319cf41609e04497283ebbe1502
child 531047 b3460cb584c67aefd04dc18948ea6f2cb4064b22
push id37435
push userapavel@mozilla.com
push dateWed, 20 May 2020 15:28:23 +0000
treeherdermozilla-central@5415da14ec9a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1635138, 23384, 785230, 2178888, 765066
milestone78.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1635138 [wpt PR 23384] - Parse text-decoration-thickness, a=testonly Automatic update from web-platform-tests Parse text-decoration-thickness Implement parsing support for text-decoration-thickness, which allows us to pass text-decoration-thickness-(computed|valid|invalid) as well as the text-decoration-thickness.html CSSOM tests, which test for the CSS availability of the property, not full drawing support yet. Bug: 785230 Change-Id: I0a3535e474131f4997ba3b6fd4d7be8dc802f523 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2178888 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Dominik Röttsches <drott@chromium.org> Cr-Commit-Position: refs/heads/master@{#765066} -- wpt-commits: 9289b4445de8240f2ef0057c0c8de15162b2306e wpt-pr: 23384
testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-valid.html
testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/text-decoration-thickness.html
--- a/testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-valid.html
+++ b/testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-valid.html
@@ -16,13 +16,15 @@ test_valid_value("text-decoration-thickn
 test_valid_value("text-decoration-thickness", "-10px");
 test_valid_value("text-decoration-thickness", "2001em");
 test_valid_value("text-decoration-thickness", "-49em");
 test_valid_value("text-decoration-thickness", "53px");
 test_valid_value("text-decoration-thickness", "10%");
 test_valid_value("text-decoration-thickness", "-27%");
 test_valid_value("text-decoration-thickness", "calc(40em - 10px)");
 test_valid_value("text-decoration-thickness", "calc(-50em + 13px)");
+test_valid_value("text-decoration-thickness", "10%");
+test_valid_value("text-decoration-thickness", "-27%");
 test_valid_value("text-decoration-thickness", "calc(40% - 20px)");
 test_valid_value("text-decoration-thickness", "calc(100% - 40em)");
 </script>
 </body>
 </html>
--- a/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/text-decoration-thickness.html
+++ b/testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/text-decoration-thickness.html
@@ -12,13 +12,15 @@
 <div id="log"></div>
 <script>
 'use strict';
 
 runPropertyTests('text-decoration-thickness', [
   { syntax: 'auto' },
   {
     syntax: '<length>',
-    specified: assert_is_equal_with_range_handling
+  },
+  {
+    syntax: '<percentage>',
   },
 ]);
 
 </script>