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: third_party/WebKit/Source/core/css/CSSProperties.json5

Issue 2880573002: Store border-*-style on SurroundData in ComputedStyle (Closed)
Patch Set: Merge branch 'enumClass' into borderStyle Created 3 years, 7 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: 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 dd3d0592ac02b8df9147ff03b7ce18238dec34fe..053c4adbd6b78f892c0963d5250e6e035c77a7c1 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -685,10 +685,12 @@
},
{
name: "border-bottom-style",
- initial: "InitialBorderStyle",
type_name: "EBorderStyle",
- keywords: ["none"],
+ field_template: "keyword",
+ keywords: ["none", "hidden", "inset", "groove", "outset", "ridge", "dotted", "dashed", "solid", "double"],
+ default_value: "none",
typedom_types: ["Image"],
+ field_group: "surround",
},
{
name: "border-bottom-width",
@@ -755,10 +757,12 @@
},
{
name: "border-left-style",
- initial: "InitialBorderStyle",
type_name: "EBorderStyle",
- keywords: ["none"],
+ field_template: "keyword",
+ keywords: ["none", "hidden", "inset", "groove", "outset", "ridge", "dotted", "dashed", "solid", "double"],
+ default_value: "none",
typedom_types: ["Image"],
+ field_group: "surround",
},
{
name: "border-left-width",
@@ -785,10 +789,12 @@
},
{
name: "border-right-style",
- initial: "InitialBorderStyle",
type_name: "EBorderStyle",
- keywords: ["none"],
typedom_types: ["Image"],
+ field_template: "keyword",
+ default_value: "none",
+ keywords: ["none", "hidden", "inset", "groove", "outset", "ridge", "dotted", "dashed", "solid", "double"],
+ field_group: "surround",
},
{
name: "border-right-width",
@@ -837,10 +843,12 @@
},
{
name: "border-top-style",
- initial: "InitialBorderStyle",
type_name: "EBorderStyle",
- keywords: ["none"],
+ field_template: "keyword",
+ default_value: "none",
+ keywords: ["none", "hidden", "inset", "groove", "outset", "ridge", "dotted", "dashed", "solid", "double"],
typedom_types: ["Image"],
+ field_group: "surround",
},
{
name: "border-top-width",
@@ -2259,7 +2267,7 @@
},
{
name: "column-rule-style",
- initial: "InitialBorderStyle",
+ initial: "InitialColumnRuleStyle",
type_name: "EBorderStyle",
},
{

Powered by Google App Engine
This is Rietveld 408576698