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

Unified Diff: LayoutTests/fast/shapes/parsing/parsing-test-utils.js

Issue 112103012: Update default shape property value to 'none' (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merging with new ellipse code Created 6 years, 11 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-test-utils.js
diff --git a/LayoutTests/fast/shapes/parsing/parsing-test-utils.js b/LayoutTests/fast/shapes/parsing/parsing-test-utils.js
index 00ac671c00d07c9e2bbe9acaf1dfdb37e78aa725..04906933404f2718a16f8a32a38fe88ee301648f 100644
--- a/LayoutTests/fast/shapes/parsing/parsing-test-utils.js
+++ b/LayoutTests/fast/shapes/parsing/parsing-test-utils.js
@@ -5,7 +5,7 @@
// or: ["specified value", "CSS Text value/computed style value"]
// or: ["specified value", "CSS Text value", "Computed style value"]
var validShapeValues = [
- "auto",
+ "none",
["rectangle(10px, 20px, 30px, 40px)", "rectangle(10px, 20px, 30px, 40px)", "rectangle(10px, 20px, 30px, 40px, 0px, 0px)"],
["rectangle(10px, 20px, 30px, 40px, 5px)", "rectangle(10px, 20px, 30px, 40px, 5px)", "rectangle(10px, 20px, 30px, 40px, 5px, 5px)"],
"rectangle(10px, 20px, 30px, 40px, 5px, 10px)",
@@ -73,7 +73,7 @@ var validShapeValues = [
// shape property's computed value is the same as its default.
var invalidShapeValues = [
"calc()",
- "none",
+ "auto",
"rectangle()",
"rectangle(10px)",
@@ -126,12 +126,12 @@ var invalidShapeValues = [
"content-box content-box",
"polygon(nonzero, 0 0 ,10px 10px, 10px 0) polygon(nonzero, 0 0, 10px 10px, 10px 0)",
- "auto content-box",
- "content-box auto",
- "polygon(auto) content-box",
- "content-box polygon(auto)",
- "circle(50px) auto",
- "auto circle(50px)",
+ "none content-box",
+ "content-box none",
+ "polygon(none) content-box",
+ "content-box polygon(none)",
+ "circle(50px) none",
+ "none circle(50px)",
"url('shape.svg') content-box",
"url('shape.svg') polygon(nonzero, 0 0, 10px 10px, 10px 0)"
];
@@ -151,7 +151,7 @@ var validShapeLengths = [
// Invalid length values for shape-margin and shape-padding.
var invalidShapeLengths = [
"-5px",
- "auto",
+ "none",
"120%",
"\'string\'"
];

Powered by Google App Engine
This is Rietveld 408576698