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

Unified Diff: lib/dom/scripts/systemhtml.py

Issue 10308002: Fix for $dom_$dom_svgClassName (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: comment out part of test Created 8 years, 8 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 | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/scripts/systemhtml.py
diff --git a/lib/dom/scripts/systemhtml.py b/lib/dom/scripts/systemhtml.py
index 3bfcc47389f4ad41f2c503caa7136f5774c7b3ea..d4fd26a14b19f1f23a3728ef06530b336f40c845 100644
--- a/lib/dom/scripts/systemhtml.py
+++ b/lib/dom/scripts/systemhtml.py
@@ -496,7 +496,8 @@ class HtmlSystemShared(object):
if not target_name.startswith('_'):
if self._PrivateInHtmlLibrary(interface, member, member_prefix):
- target_name = '$dom_' + target_name
+ if not target_name.startswith('$dom_'): # e.g. $dom_svgClassName
+ target_name = '$dom_' + target_name
elif implementation_class and self._ManuallyGeneratedInHtmlLibrary(
interface, member, member_prefix):
target_name = '_' + target_name
« no previous file with comments | « no previous file | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698