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

Unified Diff: Source/core/dom/Element.idl

Issue 555723002: Install nodeType attribute as constant in function tempalte Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 3 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 | « Source/core/dom/DocumentType.idl ('k') | Source/core/dom/Node.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.idl
diff --git a/Source/core/dom/Element.idl b/Source/core/dom/Element.idl
index 325f36ecfc2243215a6f9463bfd520b91fda8d66..71caefe1c6d78aaf349b8d9022fa3c540da815e3 100644
--- a/Source/core/dom/Element.idl
+++ b/Source/core/dom/Element.idl
@@ -20,9 +20,11 @@
[
SpecialWrapFor=(HTMLElement,SVGElement),
+ DoNotCheckConstants,
] interface Element : Node {
// DOM Level 1 Core
+ const unsigned short nodeType = 1;
readonly attribute DOMString? tagName;
« no previous file with comments | « Source/core/dom/DocumentType.idl ('k') | Source/core/dom/Node.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698