Skip to content

Commit 05abc25

Browse files
committed
Remove the excess parentheses in calc() test
See w3c/csswg-drafts#3462 (comment) for rationale
1 parent 16d11be commit 05abc25

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

calc-errors-ref.html

-3
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@
6969
<div style="width: 100px;">70px- 40px no whitespace on left of - => PASS</div>
7070
<div style="width: 100px;">70px-+40px no whitespace around - => PASS</div>
7171

72-
<!-- too many nests should be rejected to avoid stack overflow -->
73-
<div style="width: 100px;">too many nests => PASS</div>
74-
7572
<!-- invalid formulas -->
7673
<div style="width: 100px;">end with operator => PASS</div>
7774
<div style="width: 100px;">start with operator => PASS</div>

calc-errors.html

-3
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@
7373
<div style="width: 100px; width: calc(70px- 40px);">70px- 40px no whitespace on left of -</div>
7474
<div style="width: 100px; width: calc(70px-+40px);">70px-+40px no whitespace around - </div>
7575

76-
<!-- too many nests should be rejected to avoid stack overflow -->
77-
<div style="width: 100px; width: calc(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((200px)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))));">too many nests</div>
78-
7976
<!-- invalid formulas -->
8077
<div style="width: 100px; width: calc(200px*);">end with operator</div>
8178
<div style="width: 100px; width: calc(+ +200px);">start with operator</div>

0 commit comments

Comments
 (0)