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

Unified Diff: third_party/WebKit/Source/core/css/CSSProperties.json5

Issue 2583063002: Add common test configs for properties that take lengths (Closed)
Patch Set: Remove extra whitespace Created 3 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
« no previous file with comments | « third_party/WebKit/LayoutTests/typedcssom/inlinestyle/width-height.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSProperties.json5
diff --git a/third_party/WebKit/Source/core/css/CSSProperties.json5 b/third_party/WebKit/Source/core/css/CSSProperties.json5
index d7cbdf534e3719deeb03bca63b70674bc6f5b83d..77703db1ec0da96ac4c6c0958fa4ce121c142d5b 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -636,6 +636,8 @@
converter: "convertLineWidth<float>",
initial: "initialBorderWidth",
interpolable: true,
+ keywords: ["thin", "medium", "thick"],
+ typedom_types: ["Length"],
},
{
name: "border-collapse",
@@ -695,6 +697,8 @@
converter: "convertLineWidth<float>",
initial: "initialBorderWidth",
interpolable: true,
+ keywords: ["thin", "medium", "thick"],
+ typedom_types: ["Length"],
},
{
name: "border-right-color",
@@ -714,6 +718,8 @@
converter: "convertLineWidth<float>",
initial: "initialBorderWidth",
interpolable: true,
+ keywords: ["thin", "medium", "thick"],
+ typedom_types: ["Length"],
},
{
name: "border-top-color",
@@ -1088,7 +1094,7 @@
converter: "convertLengthSizing",
initial: "initialSize",
interpolable: true,
- keywords: ["auto"],
+ keywords: ["auto", "fit-content", "min-content", "max-content"],
supports_percentage: true,
typedom_types: ["Length"],
},
@@ -2326,7 +2332,7 @@
converter: "convertLengthSizing",
initial: "initialSize",
interpolable: true,
- keywords: ["auto"],
+ keywords: ["auto", "fit-content", "min-content", "max-content"],
supports_percentage: true,
typedom_types: ["Length"],
},
« no previous file with comments | « third_party/WebKit/LayoutTests/typedcssom/inlinestyle/width-height.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698