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

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

Issue 2904453002: Use LayoutUnit for all border-*-width logic (Closed)
Patch Set: Change to using LayoutUnit 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 1693efd4f9b06f9a35b6b44fadc614d453d2bfdc..8214c556090dc5ddcb6e48d9463966e16374ba16 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -702,9 +702,8 @@
keywords: ["thin", "medium", "thick"],
typedom_types: ["Length"],
field_template: "storage_only",
- type_name: "unsigned",
- field_size : 26,
- default_value: "WidthToFixedPoint(3)",
+ field_type_path: "platform/LayoutUnit",
+ default_value: "LayoutUnit(3)",
field_group: "surround",
},
{
@@ -774,9 +773,8 @@
keywords: ["thin", "medium", "thick"],
typedom_types: ["Length"],
field_template: "storage_only",
- type_name: "unsigned",
- field_size : 26,
- default_value: "WidthToFixedPoint(3)",
+ field_type_path: "platform/LayoutUnit",
+ default_value: "LayoutUnit(3)",
field_group: "surround",
},
{
@@ -806,9 +804,8 @@
keywords: ["thin", "medium", "thick"],
typedom_types: ["Length"],
field_template: "storage_only",
- type_name: "unsigned",
- field_size : 26,
- default_value: "WidthToFixedPoint(3)",
+ field_type_path: "platform/LayoutUnit",
+ default_value: "LayoutUnit(3)",
field_group: "surround",
},
{
@@ -861,9 +858,8 @@
supports_percentage: true,
typedom_types: ["Length"],
field_template: "storage_only",
- type_name: "unsigned",
- field_size : 26,
- default_value: "WidthToFixedPoint(3)",
+ field_type_path: "platform/LayoutUnit",
+ default_value: "LayoutUnit(3)",
field_group: "surround",
},
{

Powered by Google App Engine
This is Rietveld 408576698