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

Unified Diff: Source/core/dom/Text.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/ProcessingInstruction.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Text.idl
diff --git a/Source/core/dom/Text.idl b/Source/core/dom/Text.idl
index 9b6fcd98ca55b96b78bfb469a435d274fa04b49b..c59fa288ed0760084e9714f8344e9955d7bdbada 100644
--- a/Source/core/dom/Text.idl
+++ b/Source/core/dom/Text.idl
@@ -19,9 +19,11 @@
[
Constructor(optional DOMString data = ""),
ConstructorCallWith=Document,
+ DoNotCheckConstants,
] interface Text : CharacterData {
// DOM Level 1
+ const unsigned short nodeType = 3;
[RaisesException] Text splitText(unsigned long offset);
// Introduced in DOM Level 3:
« no previous file with comments | « Source/core/dom/ProcessingInstruction.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698