aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/wpt/mozilla/meta/MANIFEST.json2
-rw-r--r--tests/wpt/mozilla/tests/css/calc-serialization.html9
2 files changed, 3 insertions, 8 deletions
diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json
index a52e0f9feb4..436141455ed 100644
--- a/tests/wpt/mozilla/meta/MANIFEST.json
+++ b/tests/wpt/mozilla/meta/MANIFEST.json
@@ -61697,7 +61697,7 @@
"testharness"
],
"css/calc-serialization.html": [
- "628597eb36bf21a1ec982c7f6935ee7949c62044",
+ "d0bcbd402cb78e704dabc7f1665d40ba163e30eb",
"testharness"
],
"css/canvas_as_block_element_a.html": [
diff --git a/tests/wpt/mozilla/tests/css/calc-serialization.html b/tests/wpt/mozilla/tests/css/calc-serialization.html
index b423557a1b8..f92de7338d3 100644
--- a/tests/wpt/mozilla/tests/css/calc-serialization.html
+++ b/tests/wpt/mozilla/tests/css/calc-serialization.html
@@ -3,20 +3,15 @@
<title>CSS Values and Units: calc() serialization.</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@mozilla.com">
<link rel="help" href="https://drafts.csswg.org/css-values/#calc-serialize">
+<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/1731">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
-<!-- FIXME(emilio): Upstream when spec stops being under discussion -->
<div id="content"></div>
<script>
-
-// NOTE(emilio): This intentionally doesn't test for order of percentages
-// because of:
-//
-// https://github.com/w3c/csswg-drafts/issues/1731
-
test(function() {
// specified -> expected
var values = {
+ "calc(10px + 1vmin + 10%)": "calc(10% + 10px + 1vmin)",
"calc(10px + 1vmin)": "calc(10px + 1vmin)",
"calc(10px + 1em)": "calc(1em + 10px)",
"calc(1vmin - 10px)": "calc(-10px + 1vmin)",