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 2853433003: Generate enum/getters/setters/mappings for box-sizing. (Closed)
Patch Set: Rebase 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 946aed8875e14fbc044837910b1326e517ff0e89..10271d03c7b086d7c2aa4dbbfc9584885574c7eb 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -876,7 +876,14 @@
converter: "ConvertShadowList",
interpolable: true,
},
- "box-sizing",
+ {
+ name: "box-sizing",
+ field_template: "keyword",
+ type_name: "EBoxSizing",
+ default_value: "content-box",
+ keywords: ["content-box", "border-box"],
+ field_group: "box",
+ },
{
name: "break-after",
// Storage for this property also covers these legacy properties:

Powered by Google App Engine
This is Rietveld 408576698