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

Unified Diff: third_party/WebKit/Source/build/scripts/make_computed_style_base.py

Issue 2766973002: Generate nonproperty originalDisplay 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/build/scripts/make_computed_style_base.py
diff --git a/third_party/WebKit/Source/build/scripts/make_computed_style_base.py b/third_party/WebKit/Source/build/scripts/make_computed_style_base.py
index a5d19860141b80b5d25b7eb137cd2982ba0a8e71..174941950ab6248421308683cec646ce9470580b 100755
--- a/third_party/WebKit/Source/build/scripts/make_computed_style_base.py
+++ b/third_party/WebKit/Source/build/scripts/make_computed_style_base.py
@@ -20,6 +20,13 @@ from name_utilities import (
NONPROPERTIES = [
{'name': 'IsLink', 'field_template': 'monotonic_flag',
'inherited': False, 'independent': False},
+ {'name': 'OriginalDisplay', 'field_template': 'keyword', 'initial_keyword': 'inline',
+ 'type_name': 'EDisplay', 'inherited': False, 'independent': False,
+ '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': 'InsideLink', 'field_template': 'keyword', 'initial_keyword': 'not-inside-link',
'keywords': ['not-inside-link', 'inside-unvisited-link', 'inside-visited-link'],
'inherited': True, 'independent': False},
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698