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

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

Issue 2672693002: Moved display property to be generated in ComputedStyleBase. (Closed)
Patch Set: Rebase 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
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 405122216f0e539fb7fd07d86445983a2e6d6dde..96bfa49c5fd7604c7b9512f8c3a4b3f63233a8e6 100644
--- a/third_party/WebKit/Source/core/css/CSSProperties.json5
+++ b/third_party/WebKit/Source/core/css/CSSProperties.json5
@@ -954,7 +954,16 @@
interpolable: true,
svg: true,
},
- "display",
+ {
+ name: "display",
+ initial_keyword: "inline",
+ field_template: 'keyword',
+ keywords: [
+ "inline", "block", "list-item", "inline-block", "table", "inline-table", "table-row-group", "table-header-group",
+ "table-footer-group", "table-row", "table-column-group", "table-column", "table-cell", "table-caption", "-webkit-box",
+ "-webkit-inline-box", "flex", "inline-flex", "grid", "inline-grid", "contents", "flow-root", "none",
+ ],
+ },
{
name: "dominant-baseline",
inherited: true,

Powered by Google App Engine
This is Rietveld 408576698