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

Unified Diff: LayoutTests/fast/shapes/parsing/parsing-shape-outside-expected.txt

Issue 227793002: [CSS Shapes] inset args and radial args should serialize to the simplest form (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase and fix calc expectation Created 6 years, 8 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/fast/shapes/parsing/parsing-shape-outside-expected.txt
diff --git a/LayoutTests/fast/shapes/parsing/parsing-shape-outside-expected.txt b/LayoutTests/fast/shapes/parsing/parsing-shape-outside-expected.txt
index 178e030955aeb1720a3f320d694637e06a2d4ebb..93e81b8dc9d6bb21dd19a4d640695426681a61ee 100644
--- a/LayoutTests/fast/shapes/parsing/parsing-shape-outside-expected.txt
+++ b/LayoutTests/fast/shapes/parsing/parsing-shape-outside-expected.txt
@@ -5,58 +5,70 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS getCSSText("shape-outside", "none") is "none"
PASS getComputedStyleValue("shape-outside", "none") is "none"
-PASS getCSSText("shape-outside", "inset(10px)") is "inset(10px 10px 10px 10px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px)") is "inset(10px 10px 10px 10px round 0px 0px 0px 0px / 0px 0px 0px 0px)"
-PASS getCSSText("shape-outside", "inset(10px 9px)") is "inset(10px 9px 10px 9px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px 9px)") is "inset(10px 9px 10px 9px round 0px 0px 0px 0px / 0px 0px 0px 0px)"
-PASS getCSSText("shape-outside", "inset(10px 9px 8px)") is "inset(10px 9px 8px 9px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px 9px 8px)") is "inset(10px 9px 8px 9px round 0px 0px 0px 0px / 0px 0px 0px 0px)"
+PASS getCSSText("shape-outside", "inset(10px)") is "inset(10px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px)") is "inset(10px)"
+PASS getCSSText("shape-outside", "inset(10px 9px)") is "inset(10px 9px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px 9px)") is "inset(10px 9px)"
+PASS getCSSText("shape-outside", "inset(10px 9px 8px)") is "inset(10px 9px 8px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px 9px 8px)") is "inset(10px 9px 8px)"
PASS getCSSText("shape-outside", "inset(10px 20px 30px 40px)") is "inset(10px 20px 30px 40px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px 20px 30px 40px)") is "inset(10px 20px 30px 40px round 0px 0px 0px 0px / 0px 0px 0px 0px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px)") is "inset(10px 10px 10px 10px round 9px 9px 9px 9px / 9px 9px 9px 9px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px)") is "inset(10px 10px 10px 10px round 9px 9px 9px 9px / 9px 9px 9px 9px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px / 9px)") is "inset(10px 10px 10px 10px round 9px 9px 9px 9px / 9px 9px 9px 9px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px / 9px)") is "inset(10px 10px 10px 10px round 9px 9px 9px 9px / 9px 9px 9px 9px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px / 8px)") is "inset(10px 10px 10px 10px round 9px 9px 9px 9px / 8px 8px 8px 8px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px / 8px)") is "inset(10px 10px 10px 10px round 9px 9px 9px 9px / 8px 8px 8px 8px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px / 8px 7px)") is "inset(10px 10px 10px 10px round 9px 9px 9px 9px / 8px 7px 8px 7px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px / 8px 7px)") is "inset(10px 10px 10px 10px round 9px 9px 9px 9px / 8px 7px 8px 7px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px / 8px 7px 6px)") is "inset(10px 10px 10px 10px round 9px 9px 9px 9px / 8px 7px 6px 7px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px / 8px 7px 6px)") is "inset(10px 10px 10px 10px round 9px 9px 9px 9px / 8px 7px 6px 7px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px / 8px 7px 6px 5px)") is "inset(10px 10px 10px 10px round 9px 9px 9px 9px / 8px 7px 6px 5px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px / 8px 7px 6px 5px)") is "inset(10px 10px 10px 10px round 9px 9px 9px 9px / 8px 7px 6px 5px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px 8px / 7px)") is "inset(10px 10px 10px 10px round 9px 8px 9px 8px / 7px 7px 7px 7px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px / 7px)") is "inset(10px 10px 10px 10px round 9px 8px 9px 8px / 7px 7px 7px 7px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px 8px / 7px 6px)") is "inset(10px 10px 10px 10px round 9px 8px 9px 8px / 7px 6px 7px 6px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px / 7px 6px)") is "inset(10px 10px 10px 10px round 9px 8px 9px 8px / 7px 6px 7px 6px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px 8px / 7px 6px)") is "inset(10px 10px 10px 10px round 9px 8px 9px 8px / 7px 6px 7px 6px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px / 7px 6px)") is "inset(10px 10px 10px 10px round 9px 8px 9px 8px / 7px 6px 7px 6px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px 8px / 7px 6px 5px)") is "inset(10px 10px 10px 10px round 9px 8px 9px 8px / 7px 6px 5px 6px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px / 7px 6px 5px)") is "inset(10px 10px 10px 10px round 9px 8px 9px 8px / 7px 6px 5px 6px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px 8px / 7px 6px 5px 4px)") is "inset(10px 10px 10px 10px round 9px 8px 9px 8px / 7px 6px 5px 4px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px / 7px 6px 5px 4px)") is "inset(10px 10px 10px 10px round 9px 8px 9px 8px / 7px 6px 5px 4px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px 8px 7px / 6px)") is "inset(10px 10px 10px 10px round 9px 8px 7px 8px / 6px 6px 6px 6px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px 7px / 6px)") is "inset(10px 10px 10px 10px round 9px 8px 7px 8px / 6px 6px 6px 6px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px 8px 7px / 6px 5px)") is "inset(10px 10px 10px 10px round 9px 8px 7px 8px / 6px 5px 6px 5px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px 7px / 6px 5px)") is "inset(10px 10px 10px 10px round 9px 8px 7px 8px / 6px 5px 6px 5px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px 8px 7px / 6px 5px 4px)") is "inset(10px 10px 10px 10px round 9px 8px 7px 8px / 6px 5px 4px 5px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px 7px / 6px 5px 4px)") is "inset(10px 10px 10px 10px round 9px 8px 7px 8px / 6px 5px 4px 5px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px 8px 7px / 6px 5px 4px 3px)") is "inset(10px 10px 10px 10px round 9px 8px 7px 8px / 6px 5px 4px 3px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px 7px / 6px 5px 4px 3px)") is "inset(10px 10px 10px 10px round 9px 8px 7px 8px / 6px 5px 4px 3px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px 8px 7px 6px / 5px)") is "inset(10px 10px 10px 10px round 9px 8px 7px 6px / 5px 5px 5px 5px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px 7px 6px / 5px)") is "inset(10px 10px 10px 10px round 9px 8px 7px 6px / 5px 5px 5px 5px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px 8px 7px 6px / 5px 4px)") is "inset(10px 10px 10px 10px round 9px 8px 7px 6px / 5px 4px 5px 4px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px 7px 6px / 5px 4px)") is "inset(10px 10px 10px 10px round 9px 8px 7px 6px / 5px 4px 5px 4px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px 8px 7px 6px / 5px 4px 3px)") is "inset(10px 10px 10px 10px round 9px 8px 7px 6px / 5px 4px 3px 4px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px 7px 6px / 5px 4px 3px)") is "inset(10px 10px 10px 10px round 9px 8px 7px 6px / 5px 4px 3px 4px)"
-PASS getCSSText("shape-outside", "inset(10px round 9px 8px 7px 6px / 5px 4px 3px 2px)") is "inset(10px 10px 10px 10px round 9px 8px 7px 6px / 5px 4px 3px 2px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px 7px 6px / 5px 4px 3px 2px)") is "inset(10px 10px 10px 10px round 9px 8px 7px 6px / 5px 4px 3px 2px)"
-PASS getCSSText("shape-outside", "inset(10px 20px 30px 40px round 5px 6px)") is "inset(10px 20px 30px 40px round 5px 6px 5px 6px / 5px 6px 5px 6px)"
-PASS getComputedStyleValue("shape-outside", "inset(10px 20px 30px 40px round 5px 6px)") is "inset(10px 20px 30px 40px round 5px 6px 5px 6px / 5px 6px 5px 6px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px 20px 30px 40px)") is "inset(10px 20px 30px 40px)"
+PASS getCSSText("shape-outside", "inset(10px 20px 30px 20px)") is "inset(10px 20px 30px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px 20px 30px 20px)") is "inset(10px 20px 30px)"
+PASS getCSSText("shape-outside", "inset(10px 20px 10px 20px)") is "inset(10px 20px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px 20px 10px 20px)") is "inset(10px 20px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px)") is "inset(10px round 9px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px)") is "inset(10px round 9px)"
+PASS getCSSText("shape-outside", "inset(10px round 0px / 0px 10px)") is "inset(10px round 0px / 0px 10px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 0px / 0px 10px)") is "inset(10px round 0px / 0px 10px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px / 9px)") is "inset(10px round 9px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px / 9px)") is "inset(10px round 9px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px / 8px)") is "inset(10px round 9px / 8px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px / 8px)") is "inset(10px round 9px / 8px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px / 8px 7px)") is "inset(10px round 9px / 8px 7px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px / 8px 7px)") is "inset(10px round 9px / 8px 7px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px / 8px 7px 6px)") is "inset(10px round 9px / 8px 7px 6px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px / 8px 7px 6px)") is "inset(10px round 9px / 8px 7px 6px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px / 8px 7px 6px 5px)") is "inset(10px round 9px / 8px 7px 6px 5px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px / 8px 7px 6px 5px)") is "inset(10px round 9px / 8px 7px 6px 5px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px 8px / 7px)") is "inset(10px round 9px 8px / 7px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px / 7px)") is "inset(10px round 9px 8px / 7px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px 8px / 7px 6px)") is "inset(10px round 9px 8px / 7px 6px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px / 7px 6px)") is "inset(10px round 9px 8px / 7px 6px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px 8px / 7px 6px)") is "inset(10px round 9px 8px / 7px 6px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px / 7px 6px)") is "inset(10px round 9px 8px / 7px 6px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px 8px / 7px 6px 5px)") is "inset(10px round 9px 8px / 7px 6px 5px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px / 7px 6px 5px)") is "inset(10px round 9px 8px / 7px 6px 5px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px 8px / 7px 6px 5px 4px)") is "inset(10px round 9px 8px / 7px 6px 5px 4px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px / 7px 6px 5px 4px)") is "inset(10px round 9px 8px / 7px 6px 5px 4px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px 8px 7px / 6px)") is "inset(10px round 9px 8px 7px / 6px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px 7px / 6px)") is "inset(10px round 9px 8px 7px / 6px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px 8px 7px / 6px 5px)") is "inset(10px round 9px 8px 7px / 6px 5px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px 7px / 6px 5px)") is "inset(10px round 9px 8px 7px / 6px 5px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px 8px 7px / 6px 5px 4px)") is "inset(10px round 9px 8px 7px / 6px 5px 4px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px 7px / 6px 5px 4px)") is "inset(10px round 9px 8px 7px / 6px 5px 4px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px 8px 7px / 6px 5px 4px 3px)") is "inset(10px round 9px 8px 7px / 6px 5px 4px 3px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px 7px / 6px 5px 4px 3px)") is "inset(10px round 9px 8px 7px / 6px 5px 4px 3px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px 8px 7px 6px / 5px)") is "inset(10px round 9px 8px 7px 6px / 5px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px 7px 6px / 5px)") is "inset(10px round 9px 8px 7px 6px / 5px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px 8px 7px 6px / 5px 4px)") is "inset(10px round 9px 8px 7px 6px / 5px 4px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px 7px 6px / 5px 4px)") is "inset(10px round 9px 8px 7px 6px / 5px 4px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px 8px 7px 6px / 5px 4px 3px)") is "inset(10px round 9px 8px 7px 6px / 5px 4px 3px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px 7px 6px / 5px 4px 3px)") is "inset(10px round 9px 8px 7px 6px / 5px 4px 3px)"
+PASS getCSSText("shape-outside", "inset(10px round 9px 8px 7px 6px / 5px 4px 3px 2px)") is "inset(10px round 9px 8px 7px 6px / 5px 4px 3px 2px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 9px 8px 7px 6px / 5px 4px 3px 2px)") is "inset(10px round 9px 8px 7px 6px / 5px 4px 3px 2px)"
+PASS getCSSText("shape-outside", "inset(10px round 10px 20px 30px 20px)") is "inset(10px round 10px 20px 30px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 10px 20px 30px 20px)") is "inset(10px round 10px 20px 30px)"
+PASS getCSSText("shape-outside", "inset(10px round 10px 20px 10px 20px)") is "inset(10px round 10px 20px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 10px 20px 10px 20px)") is "inset(10px round 10px 20px)"
+PASS getCSSText("shape-outside", "inset(10px 20px 30px 40px round 5px 6px)") is "inset(10px 20px 30px 40px round 5px 6px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px 20px 30px 40px round 5px 6px)") is "inset(10px 20px 30px 40px round 5px 6px)"
PASS getCSSText("shape-outside", "inset(10px 20px 30px 40px round 5px 6px 7px 8px / 50px 60px 70px 80px)") is "inset(10px 20px 30px 40px round 5px 6px 7px 8px / 50px 60px 70px 80px)"
PASS getComputedStyleValue("shape-outside", "inset(10px 20px 30px 40px round 5px 6px 7px 8px / 50px 60px 70px 80px)") is "inset(10px 20px 30px 40px round 5px 6px 7px 8px / 50px 60px 70px 80px)"
-PASS getCSSText("shape-outside", "inset(calc(25%*3 - 10in) 0 0 0)") is "inset(calc(75% - 10in) 0px 0px 0px)"
-PASS getComputedStyleValue("shape-outside", "inset(calc(25%*3 - 10in) 0 0 0)") is "inset(calc(75% - 960px) 0px 0px 0px round 0px 0px 0px 0px / 0px 0px 0px 0px)"
+PASS getCSSText("shape-outside", "inset(10px round 0px / 10px)") is "inset(10px round 0px / 10px)"
+PASS getComputedStyleValue("shape-outside", "inset(10px round 0px / 10px)") is "inset(10px round 0px / 10px)"
+PASS getCSSText("shape-outside", "inset(calc(25%*3 - 10in) 0 0 0)") is "inset(calc(75% - 10in) 0px 0px)"
+PASS getComputedStyleValue("shape-outside", "inset(calc(25%*3 - 10in) 0 0 0)") is "inset(calc(75% - 960px) 0px 0px)"
PASS getCSSText("shape-outside", "circle()") is "circle(at 50% 50%)"
PASS getComputedStyleValue("shape-outside", "circle()") is "circle(closest-side at 50% 50%)"
PASS getCSSText("shape-outside", "circle(farthest-side)") is "circle(farthest-side at 50% 50%)"

Powered by Google App Engine
This is Rietveld 408576698