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

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

Issue 2921223002: [CSS Typed OM] Hook up getting CSSUnitValues from inline StylePropertyMaps (Closed)
Patch Set: Fix missed LayoutTests Created 3 years, 6 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 3802ea953e8143b8903c40853e008ad14c28b30b..38b07c9f3645b3bd3b99e47a1427d7c9ba1fb363 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -904,6 +904,7 @@
api_methods: ["parseSingleValue"],
converter: "ConvertLengthOrAuto",
interpolable: true,
+ typedom_types: ["Length", "Percent"],
keywords: ["auto"],
field_template: "external",
include_paths: ["platform/Length.h"],
@@ -1274,6 +1275,7 @@
converter: "ConvertLengthSizing",
is_descriptor: true,
interpolable: true,
+ typedom_types: ["Length", "Percent"],
keywords: ["auto", "fit-content", "min-content", "max-content"],
field_template: "external",
include_paths: ["platform/Length.h"],
@@ -1338,6 +1340,7 @@
api_methods: ["parseSingleValue"],
converter: "ConvertLengthOrAuto",
interpolable: true,
+ typedom_types: ["Length", "Percent"],
keywords: ["auto"],
field_template: "external",
include_paths: ["platform/Length.h"],
@@ -1798,6 +1801,7 @@
api_methods: ["parseSingleValue"],
converter: "ConvertLengthOrAuto",
interpolable: true,
+ typedom_types: ["Length", "Percent"],
keywords: ["auto"],
field_template: "external",
include_paths: ["platform/Length.h"],
@@ -2166,6 +2170,7 @@
api_methods: ["parseSingleValue"],
converter: "ConvertLengthOrAuto",
interpolable: true,
+ typedom_types: ["Length", "Percent"],
keywords: ["auto"],
field_template: "external",
include_paths: ["platform/Length.h"],
@@ -2734,6 +2739,7 @@
converter: "ConvertLengthSizing",
is_descriptor: true,
interpolable: true,
+ typedom_types: ["Length", "Percent"],
keywords: ["auto", "fit-content", "min-content", "max-content"],
field_template: "external",
include_paths: ["platform/Length.h"],

Powered by Google App Engine
This is Rietveld 408576698