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: lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 10977017: Adding constructor to ContentElement. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixing the test. Created 8 years, 2 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
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index dc8db31d9c58e5176022cbd72a00463d705c7494..5f9e117f0f2dcff73140e3feca7e060440e62c1f 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -9259,6 +9259,8 @@ class _ConsoleImpl extends NativeFieldWrapperClass1 implements Console {
/// @domName HTMLContentElement
abstract class ContentElement implements Element {
+ factory ContentElement() => _Elements.createContentElement();
+
/** @domName HTMLContentElement.select */
String select;
}
@@ -42051,6 +42053,11 @@ class _Elements {
return _e;
}
+ static ContentElement createContentElement() {
+ _HTMLContentElementImpl _e = _document.$dom_createElement("content");
+ return _e;
+ }
+
static DListElement createDListElement() {
_HTMLDListElementImpl _e = _document.$dom_createElement("dl");
return _e;

Powered by Google App Engine
This is Rietveld 408576698