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/fast/shapes/parsing/parsing-test-utils.js

Issue 98723006: Parse new circle shape syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix stated issues Created 7 years 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-test-utils.js
diff --git a/LayoutTests/fast/shapes/parsing/parsing-test-utils.js b/LayoutTests/fast/shapes/parsing/parsing-test-utils.js
index c1a82af87fe308fe57738fba46b779019f20f119..b9b1b2ef0ef43b16d080602bfd0a2aaf0bbd6be4 100644
--- a/LayoutTests/fast/shapes/parsing/parsing-test-utils.js
+++ b/LayoutTests/fast/shapes/parsing/parsing-test-utils.js
@@ -14,7 +14,20 @@ var validShapeValues = [
["inset-rectangle(10px, 20px, 30px, 40px, 5px)", "inset-rectangle(10px, 20px, 30px, 40px, 5px)", "inset-rectangle(10px, 20px, 30px, 40px, 5px, 5px)"],
"inset-rectangle(10px, 20px, 30px, 40px, 5px, 10px)",
- "circle(10px, 20px, 30px)",
+ "circle(10px, 20px, 30px)", // FIXME remove with deprecated circle
+
+ ["circle()", "circle()", "circle(closest-side at 50% 50%)"],
+ ["circle(10px)", "circle(10px)", "circle(10px at 50% 50%)"],
+ ["circle(10px at 10px)", "circle(10px at 10px 50%)"],
+ "circle(10px at 10px 10px)",
+ ["circle(at 10px)", "circle(at 10px 50%)", "circle(closest-side at 10px 50%)"],
+ ["circle(at 10px)", "circle(at 10px 50%)", "circle(closest-side at 10px 50%)"],
+ ["circle(at 10px 10px)", "circle(at 10px 10px)", "circle(closest-side at 10px 10px)"],
+ ["circle(at top left)", "circle(at 0% 0%)", "circle(closest-side at 0% 0%)"],
+ ["circle(at right bottom)", "circle(at 100% 100%)", "circle(closest-side at 100% 100%)"],
+ ["circle(10px at left top 10px)", "circle(10px at left 0% top 10px)"],
+ ["circle(10px at top 10px left 10px)", "circle(10px at left 10px top 10px)"],
+ ["circle(10px at right 10px bottom 10px)", "circle(10px at right 10px bottom 10px)"],
"ellipse(10px, 20px, 30px, 40px)",
@@ -58,11 +71,17 @@ var invalidShapeValues = [
"inset-rectangle(10px 20px 30px 40px)",
"inset-rectangle(10px, 20px, 30px, 40px, 50px, 60px, 70px)",
- "circle()",
- "circle(10px)",
- "circle(10px, 20px)",
- "circle(10px 20px 30px)",
- "circle(10px, 20px, 30px, 40px)",
+ "circle(10px, 20px)", // FIXME remove with deprecated circle
+ "circle(10px 20px 30px)", // FIXME remove with deprecated circle
+ "circle(10px, 20px, 30px, 40px)", // FIXME remove with deprecated circle
+
+ "circle(10px 20px)",
+ "circle(10px at 10px 10px 10px)",
+ "circle(10px at 10px 10px at center)",
+ "circle(10px at center center 10px)",
+ "circle(at 10px 10px 10px)",
+ "circle(at 10px 10px at center)",
+ "circle(at center center 10px)",
"ellipse()",
"ellipse(10px)",
« no previous file with comments | « LayoutTests/fast/shapes/parsing/parsing-shape-outside-expected.txt ('k') | Source/core/css/BasicShapeFunctions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698