Skip to content

Commit e9471e1

Browse files
committed
Bug 1575841 [wpt PR 18612] - Revert "[CSS] Treat viewport-relative units as computationally independent", a=testonly
Automatic update from web-platform-tests Revert "[CSS] Treat viewport-relative units as computationally independent" This is a speculative revert in order to either confirm or eliminate it as a source for a hard to track down persistent performance regression. This reverts r679183 (commit 6b846d3689b9038c73d87ecbab61670e91c7e051). Bug: 993476 Tbr: pdrchromium.org Change-Id: I37566d32fb0853590e72299fdc0f281c712bf027 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1764195 Commit-Queue: Emil A Eklund <eaechromium.org> Reviewed-by: Emil A Eklund <eaechromium.org> Reviewed-by: Philip Rogers <pdrchromium.org> Cr-Commit-Position: refs/heads/master{#689475} -- wpt-commits: 7c8e32ead1a5cc9b402558fd43d0c555bd31965f wpt-pr: 18612 UltraBlame original commit: c6141012a736a409c71006910632fd8a477f3b73
1 parent 463d449 commit e9471e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/web-platform/tests/css/css-properties-values-api/register-property-syntax-parsing.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@
5454
assert_valid("<length-percentage>", "-54%");
5555
assert_valid("<length-percentage>", "0");
5656
assert_valid("<length-percentage>", "calc(-11px + 10.4%)");
57-
assert_valid("<length>", "10vmin");
58-
assert_valid("<percentage> | <length>+", "calc(100vh - 10px) 30px");
5957

6058
assert_valid("<number>", "-109");
6159
assert_valid("<number>", "2.3e4");
@@ -185,12 +183,14 @@
185183
assert_invalid("<length>", "calc(5px + 10%)");
186184
assert_invalid("<length>", "calc(5px * 3px / 6px)");
187185
assert_invalid("<length>", "10em");
186+
assert_invalid("<length>", "10vmin");
188187
assert_invalid("<length>", "calc(4px + 3em)");
189188
assert_invalid("<length>", "calc(4px + calc(8 * 2em))");
190189
assert_invalid("<length>+", "calc(2ex + 16px)");
191190
assert_invalid("<length>+", "10px calc(20px + 4rem)");
192191
assert_invalid("<length>+", "");
193192
assert_invalid("<length>#", "");
193+
assert_invalid("<percentage> | <length>+", "calc(100vh - 10px) 30px");
194194
assert_invalid("<length>", "10px;");
195195
assert_invalid("<length-percentage>", "calc(2px + 10% + 7ex)");
196196
assert_invalid("<percentage>", "0");

0 commit comments

Comments
 (0)