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

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

Issue 226373002: [CSS Shapes] shape-margin in percentage units always computes to 0px (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add margin specific test Created 6 years, 9 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 fec32cc12960820ebfcb8c615797a3ebdbdebb4e..31e95ece983b0884349f13f18ce7ee645dbefdb6 100644
--- a/LayoutTests/fast/shapes/parsing/parsing-test-utils.js
+++ b/LayoutTests/fast/shapes/parsing/parsing-test-utils.js
@@ -162,14 +162,14 @@ var validShapeLengths = [
"3.5mm",
"4pt",
"4.5pc",
- "5px"
+ "5px",
+ "120%"
];
// Invalid length values for shape-margin and shape-padding.
var invalidShapeLengths = [
"-5px",
"none",
- "120%",
"\'string\'"
];

Powered by Google App Engine
This is Rietveld 408576698