Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Unified Diff: LayoutTests/css3/calc/calc-errors.html

Issue 1239983004: Make CSSCalcValue work with CSSParserTokenRange (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add more subtests Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/css3/calc/calc-errors-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/css3/calc/calc-errors.html
diff --git a/LayoutTests/css3/calc/calc-errors.html b/LayoutTests/css3/calc/calc-errors.html
index e9a9a0ca2e7a092fea7ca8a14010b14108e050d4..375367ff7162768df421ed3b35c22f28de774eb3 100644
--- a/LayoutTests/css3/calc/calc-errors.html
+++ b/LayoutTests/css3/calc/calc-errors.html
@@ -37,6 +37,24 @@ div {
<div style="width: calc(70px- 40px);">70px- 40px no whitespace on left of -</div>
<div style="width: calc(70px-+40px);">70px-+40px no whitespace around - </div>
+<div style="width: calc(70px+/**/40px);">70px+/**/40px no whitespace around + </div>
+<div style="width: calc(70px/**/+40px);">70px/**/+40px no whitespace around + </div>
+<div style="width: calc(70px/**/+/**/40px);">70px+/**/40px no whitespace around + </div>
+<div style="width: calc(70px +/**/40px);">70px +/**/40px no whitespace on right of +</div>
+<div style="width: calc(70px/**/+ 40px);">70px/**/+ 40px no whitespace on left of +</div>
+<div style="width: calc(70px/**/+-40px);">70px/**/+-40px no whitespace around + </div>
+<div style="width: calc(70px+/**/-40px);">70px+/**/-40px no whitespace around + </div>
+<div style="width: calc(70px/**/+/**/-40px);">70px/**/+/**/-40px no whitespace around + </div>
+
+<div style="width: calc(70px-/**/40px);">70px-/**/40px no whitespace around - </div>
+<div style="width: calc(70px/**/-40px);">70px/**/-40px no whitespace around - </div>
+<div style="width: calc(70px/**/-/**/40px);">70px/**/-/**/40px no whitespace around - </div>
+<div style="width: calc(70px -/**/40px);">70px -/**/40px no whitespace on right of -</div>
+<div style="width: calc(70px/**/- 40px);">70px/**/- 40px no whitespace on left of -</div>
+<div style="width: calc(70px/**/-+40px);">70px/**/-+40px no whitespace around - </div>
+<div style="width: calc(70px-/**/+40px);">70px-/**/+40px no whitespace around - </div>
+<div style="width: calc(70px/**/-/**/+40px);">70px/**/-/**/+40px no whitespace around - </div>
+
<!-- too many nests should be rejected to avoid stack overflow -->
<div style="width: calc(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((200px)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))));">too many nests</div>
« no previous file with comments | « no previous file | LayoutTests/css3/calc/calc-errors-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698