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

Unified Diff: LayoutTests/css3/calc/simplification-expected.txt

Issue 1120133004: Serialize <number> to round to at most 6 decimals (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Try to fix win Created 5 years, 7 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
Index: LayoutTests/css3/calc/simplification-expected.txt
diff --git a/LayoutTests/css3/calc/simplification-expected.txt b/LayoutTests/css3/calc/simplification-expected.txt
index 177c134707d50a7723d934dc1d44d1e53cfd18a5..91c2a89a4ef839acd04128a9d3595dda42d43b86 100644
--- a/LayoutTests/css3/calc/simplification-expected.txt
+++ b/LayoutTests/css3/calc/simplification-expected.txt
@@ -6,7 +6,7 @@ This tests parse time simplification in calc()
100cm * (5 - 4 / 5) => calc(420cm)
100mm * (2.4 * 5 - 8 / 5) => calc(1040mm)
100in * (6 * (5 - 4) / 8) => calc(75in)
-1px * (3 + 1/(7 + 1/(15 + 1/(1 + 1/(292 + 1/(1 + 1/(1 + 1/(1 + 1)))))))) => calc(3.14159265355836px)
+1px * (3 + 1/(7 + 1/(15 + 1/(1 + 1/(292 + 1/(1 + 1/(1 + 1/(1 + 1)))))))) => calc(3.14159px)
100pc * 20 + 100rem * 10 - 100ch * 5 + 100pc => calc(((2000pc + 1000rem) - 500ch) + 100pc)
((100px + 20 * 5px) * 10 - 5 * (10em * 5 + 10em)) * 2 => calc((2000px - 300em) * 2)
100px + 1in => calc(196px)
@@ -14,7 +14,7 @@ This tests parse time simplification in calc()
100px + 1in + 10% => calc(196px + 10%)
100px - 1in => calc(4px)
50cm + 50cm => calc(100cm)
-50cm + 10in + 100mm => calc(3227.71653543307px)
+50cm + 10in + 100mm => calc(3227.72px)
100px + 1em => calc(100px + 1em)
100px + 1em + 100px => calc((100px + 1em) + 100px)
1em + 1rem => calc(1em + 1rem)

Powered by Google App Engine
This is Rietveld 408576698