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

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

Issue 103413006: Implement parsing of the new ellipse shape syntax. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase after CSSParser rename Created 6 years, 12 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 1e4eef0235096be08c4599d0b958463619a9fd27..595d9b202311fcba8ec440a0b1ea2f5afd5af75e 100644
--- a/LayoutTests/fast/shapes/parsing/parsing-shape-outside-expected.txt
+++ b/LayoutTests/fast/shapes/parsing/parsing-shape-outside-expected.txt
@@ -29,8 +29,6 @@ PASS getCSSText("shape-outside", "circle(10px at 10px 10px)") is "circle(10px at
PASS getComputedStyleValue("shape-outside", "circle(10px at 10px 10px)") is "circle(10px at 10px 10px)"
PASS getCSSText("shape-outside", "circle(at 10px)") is "circle(at 10px 50%)"
PASS getComputedStyleValue("shape-outside", "circle(at 10px)") is "circle(closest-side at 10px 50%)"
-PASS getCSSText("shape-outside", "circle(at 10px)") is "circle(at 10px 50%)"
-PASS getComputedStyleValue("shape-outside", "circle(at 10px)") is "circle(closest-side at 10px 50%)"
PASS getCSSText("shape-outside", "circle(at 10px 10px)") is "circle(at 10px 10px)"
PASS getComputedStyleValue("shape-outside", "circle(at 10px 10px)") is "circle(closest-side at 10px 10px)"
PASS getCSSText("shape-outside", "circle(at top left)") is "circle(at 0% 0%)"
@@ -45,6 +43,38 @@ PASS getCSSText("shape-outside", "circle(10px at right 10px bottom 10px)") is "c
PASS getComputedStyleValue("shape-outside", "circle(10px at right 10px bottom 10px)") is "circle(10px at right 10px bottom 10px)"
PASS getCSSText("shape-outside", "ellipse(10px, 20px, 30px, 40px)") is "ellipse(10px, 20px, 30px, 40px)"
PASS getComputedStyleValue("shape-outside", "ellipse(10px, 20px, 30px, 40px)") is "ellipse(10px, 20px, 30px, 40px)"
+PASS getCSSText("shape-outside", "ellipse()") is "ellipse()"
+PASS getComputedStyleValue("shape-outside", "ellipse()") is "ellipse(closest-side closest-side at 50% 50%)"
+PASS getCSSText("shape-outside", "ellipse(10px)") is "ellipse(10px)"
+PASS getComputedStyleValue("shape-outside", "ellipse(10px)") is "ellipse(10px closest-side at 50% 50%)"
+PASS getCSSText("shape-outside", "ellipse(10px 20px)") is "ellipse(10px 20px)"
+PASS getComputedStyleValue("shape-outside", "ellipse(10px 20px)") is "ellipse(10px 20px at 50% 50%)"
+PASS getCSSText("shape-outside", "ellipse(10px at 10px)") is "ellipse(10px at 10px 50%)"
+PASS getComputedStyleValue("shape-outside", "ellipse(10px at 10px)") is "ellipse(10px closest-side at 10px 50%)"
+PASS getCSSText("shape-outside", "ellipse(10px 20px at 10px)") is "ellipse(10px 20px at 10px 50%)"
+PASS getComputedStyleValue("shape-outside", "ellipse(10px 20px at 10px)") is "ellipse(10px 20px at 10px 50%)"
+PASS getCSSText("shape-outside", "ellipse(10px at 10px 10px)") is "ellipse(10px at 10px 10px)"
+PASS getComputedStyleValue("shape-outside", "ellipse(10px at 10px 10px)") is "ellipse(10px closest-side at 10px 10px)"
+PASS getCSSText("shape-outside", "ellipse(at 10px)") is "ellipse(at 10px 50%)"
+PASS getComputedStyleValue("shape-outside", "ellipse(at 10px)") is "ellipse(closest-side closest-side at 10px 50%)"
+PASS getCSSText("shape-outside", "ellipse(at 10px 10px)") is "ellipse(at 10px 10px)"
+PASS getComputedStyleValue("shape-outside", "ellipse(at 10px 10px)") is "ellipse(closest-side closest-side at 10px 10px)"
+PASS getCSSText("shape-outside", "ellipse(at top left)") is "ellipse(at 0% 0%)"
+PASS getComputedStyleValue("shape-outside", "ellipse(at top left)") is "ellipse(closest-side closest-side at 0% 0%)"
+PASS getCSSText("shape-outside", "ellipse(at right bottom)") is "ellipse(at 100% 100%)"
+PASS getComputedStyleValue("shape-outside", "ellipse(at right bottom)") is "ellipse(closest-side closest-side at 100% 100%)"
+PASS getCSSText("shape-outside", "ellipse(10px at left top 10px)") is "ellipse(10px at left 0% top 10px)"
+PASS getComputedStyleValue("shape-outside", "ellipse(10px at left top 10px)") is "ellipse(10px closest-side at left 0% top 10px)"
+PASS getCSSText("shape-outside", "ellipse(10px at top 10px left 10px)") is "ellipse(10px at left 10px top 10px)"
+PASS getComputedStyleValue("shape-outside", "ellipse(10px at top 10px left 10px)") is "ellipse(10px closest-side at left 10px top 10px)"
+PASS getCSSText("shape-outside", "ellipse(10px at right 10px bottom 10px)") is "ellipse(10px at right 10px bottom 10px)"
+PASS getComputedStyleValue("shape-outside", "ellipse(10px at right 10px bottom 10px)") is "ellipse(10px closest-side at right 10px bottom 10px)"
+PASS getCSSText("shape-outside", "ellipse(10px 20px at left top 10px)") is "ellipse(10px 20px at left 0% top 10px)"
+PASS getComputedStyleValue("shape-outside", "ellipse(10px 20px at left top 10px)") is "ellipse(10px 20px at left 0% top 10px)"
+PASS getCSSText("shape-outside", "ellipse(10px 20px at top 10px left 10px)") is "ellipse(10px 20px at left 10px top 10px)"
+PASS getComputedStyleValue("shape-outside", "ellipse(10px 20px at top 10px left 10px)") is "ellipse(10px 20px at left 10px top 10px)"
+PASS getCSSText("shape-outside", "ellipse(10px 20px at right 10px bottom 10px)") is "ellipse(10px 20px at right 10px bottom 10px)"
+PASS getComputedStyleValue("shape-outside", "ellipse(10px 20px at right 10px bottom 10px)") is "ellipse(10px 20px at right 10px bottom 10px)"
PASS getCSSText("shape-outside", "polygon(10px 20px, 30px 40px, 40px 50px)") is "polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)"
PASS getComputedStyleValue("shape-outside", "polygon(10px 20px, 30px 40px, 40px 50px)") is "polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)"
PASS getCSSText("shape-outside", "polygon(evenodd, 10px 20px, 30px 40px, 40px 50px)") is "polygon(evenodd, 10px 20px, 30px 40px, 40px 50px)"
@@ -125,16 +155,28 @@ PASS getCSSText("shape-outside", "circle(at 10px 10px at center)") is ""
PASS getComputedStyleValue("shape-outside", "circle(at 10px 10px at center)") is "auto"
PASS getCSSText("shape-outside", "circle(at center center 10px)") is ""
PASS getComputedStyleValue("shape-outside", "circle(at center center 10px)") is "auto"
-PASS getCSSText("shape-outside", "ellipse()") is ""
-PASS getComputedStyleValue("shape-outside", "ellipse()") is "auto"
-PASS getCSSText("shape-outside", "ellipse(10px)") is ""
-PASS getComputedStyleValue("shape-outside", "ellipse(10px)") is "auto"
PASS getCSSText("shape-outside", "ellipse(10px, 20px)") is ""
PASS getComputedStyleValue("shape-outside", "ellipse(10px, 20px)") is "auto"
PASS getCSSText("shape-outside", "ellipse(10px, 20px, 30px)") is ""
PASS getComputedStyleValue("shape-outside", "ellipse(10px, 20px, 30px)") is "auto"
PASS getCSSText("shape-outside", "ellipse(10px 20px 30px 40px)") is ""
PASS getComputedStyleValue("shape-outside", "ellipse(10px 20px 30px 40px)") is "auto"
+PASS getCSSText("shape-outside", "ellipse(10px 20px 30px)") is ""
+PASS getComputedStyleValue("shape-outside", "ellipse(10px 20px 30px)") is "auto"
+PASS getCSSText("shape-outside", "ellipse(10px at 10px 10px 10px)") is ""
+PASS getComputedStyleValue("shape-outside", "ellipse(10px at 10px 10px 10px)") is "auto"
+PASS getCSSText("shape-outside", "ellipse(10px at 10px 10px at center)") is ""
+PASS getComputedStyleValue("shape-outside", "ellipse(10px at 10px 10px at center)") is "auto"
+PASS getCSSText("shape-outside", "ellipse(10px at center center 10px)") is ""
+PASS getComputedStyleValue("shape-outside", "ellipse(10px at center center 10px)") is "auto"
+PASS getCSSText("shape-outside", "ellipse(10px 20px 30px at center center 10px)") is ""
+PASS getComputedStyleValue("shape-outside", "ellipse(10px 20px 30px at center center 10px)") is "auto"
+PASS getCSSText("shape-outside", "ellipse(at 10px 10px 10px)") is ""
+PASS getComputedStyleValue("shape-outside", "ellipse(at 10px 10px 10px)") is "auto"
+PASS getCSSText("shape-outside", "ellipse(at 10px 10px at center)") is ""
+PASS getComputedStyleValue("shape-outside", "ellipse(at 10px 10px at center)") is "auto"
+PASS getCSSText("shape-outside", "ellipse(at center center 10px)") is ""
+PASS getComputedStyleValue("shape-outside", "ellipse(at center center 10px)") is "auto"
PASS getCSSText("shape-outside", "polygon()") is ""
PASS getComputedStyleValue("shape-outside", "polygon()") is "auto"
PASS getCSSText("shape-outside", "polygon(evenodd 10px 20px, 30px 40px, 40px 50px)") is ""

Powered by Google App Engine
This is Rietveld 408576698