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

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

Issue 16409016: Fixing up element_types_test to work properly in checked mode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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 | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
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 a00a4122bcc4f361ca4ef6353fa0e1ed37305ec6..3d650ba3e123b5f3d767cf8b4186e19464b5add3 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -15243,6 +15243,10 @@ class MessagePort extends EventTarget native "MessagePort" {
@DomName('HTMLMetaElement')
class MetaElement extends Element native "HTMLMetaElement" {
+ @DomName('HTMLMetaElement.HTMLMetaElement')
+ @DocsEditable
+ factory MetaElement() => document.$dom_createElement("meta");
+
@DomName('HTMLMetaElement.content')
@DocsEditable
String content;
@@ -18201,6 +18205,10 @@ class ProgressEvent extends Event native "ProgressEvent" {
@DomName('HTMLQuoteElement')
class QuoteElement extends Element native "HTMLQuoteElement" {
+ @DomName('HTMLQuoteElement.HTMLQuoteElement')
+ @DocsEditable
+ factory QuoteElement() => document.$dom_createElement("q");
+
@DomName('HTMLQuoteElement.cite')
@DocsEditable
String cite;
@@ -19572,6 +19580,10 @@ class Selection native "Selection" {
// https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#shadow-element
class ShadowElement extends Element native "HTMLShadowElement" {
+ @DomName('HTMLShadowElement.HTMLShadowElement')
+ @DocsEditable
+ factory ShadowElement() => document.$dom_createElement("shadow");
+
/// Checks if this type is supported on the current platform.
static bool get supported => Element.isTagSupported('shadow');
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698