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

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: Address review comments and add 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 | Source/core/css/CSSCalculationValue.h » ('j') | Source/core/css/CSSCalculationValue.cpp » ('J')
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..a69c7f0698c380ac6e8331432bb77700097581f8 100644
--- a/LayoutTests/css3/calc/calc-errors.html
+++ b/LayoutTests/css3/calc/calc-errors.html
@@ -36,6 +36,10 @@ 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(1px +/**/2px);"></div>
+<div style="width: calc(1px/**/+ 2px);"></div>
+<div style="width: calc(1px -/**/2px);"></div>
+<div style="width: calc(1px/**/- 2px);"></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 | Source/core/css/CSSCalculationValue.h » ('j') | Source/core/css/CSSCalculationValue.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698