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

Unified Diff: third_party/WebKit/Source/devtools/scripts/build/generate_supported_css.py

Issue 2571713002: DevTools: [SSP] do not autocomplete SVG properties for non-svg nodes (Closed)
Patch Set: addres comments Created 4 years 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/devtools/scripts/build/generate_supported_css.py
diff --git a/third_party/WebKit/Source/devtools/scripts/build/generate_supported_css.py b/third_party/WebKit/Source/devtools/scripts/build/generate_supported_css.py
index a5993f77091f66d5e5e7acda3cb46413b519a1b1..91fcb91019ae6878d5b94862eee0fd13e20d3e6f 100755
--- a/third_party/WebKit/Source/devtools/scripts/build/generate_supported_css.py
+++ b/third_party/WebKit/Source/devtools/scripts/build/generate_supported_css.py
@@ -49,6 +49,8 @@ def properties_from_file(file_name):
entry = {"name": name}
if "inherited" in attributes:
entry["inherited"] = True
+ if "svg" in attributes:
+ entry["svg"] = True
propertyNames.add(name)
longhands = line.partition("longhands=")[2].partition(",")[0]
if longhands:

Powered by Google App Engine
This is Rietveld 408576698