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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 1903893003: Fix strong mode errors in SVG (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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:
Download patch
« no previous file with comments | « no previous file | sdk/lib/svg/dart2js/svg_dart2js.dart » ('j') | tools/dom/scripts/systemhtml.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index de9b7ba34dad77d9577b3bffccfb3b2bf9e695cf..d69f13b1834239409949066f2a1ea35cb55f0265 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -14836,9 +14836,8 @@ class Element extends Node implements NonDocumentTypeChildNode, GlobalEventHandl
@DocsEditable()
bool hidden;
- @DomName('Element.isContentEditable')
- @DocsEditable()
- final bool isContentEditable;
+ // Using property as subclass shadows.
+ bool get isContentEditable => JS("bool", "#.isContentEditable", this);
@DomName('Element.lang')
@DocsEditable()
@@ -14963,10 +14962,8 @@ class Element extends Node implements NonDocumentTypeChildNode, GlobalEventHandl
// Use implementation from Node.
// final String _namespaceUri;
- @JSName('outerHTML')
- @DomName('Element.outerHTML')
- @DocsEditable()
- final String outerHtml;
+ // Using property as subclass shadows.
+ String get outerHtml => JS("String", "#.outerHTML", this);
@JSName('scrollHeight')
@DomName('Element.scrollHeight')
« no previous file with comments | « no previous file | sdk/lib/svg/dart2js/svg_dart2js.dart » ('j') | tools/dom/scripts/systemhtml.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698