aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/Node.webidl
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2015-09-11 23:55:20 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2015-09-13 19:46:28 +0200
commitc25085f68a86e2885d77146add097f9f796c96ac (patch)
tree6e5f7040cd7b4ba5cfb421049485782f44b22740 /components/script/dom/webidls/Node.webidl
parent941f7dc04bc02ad196e86c5167ea292477fb7284 (diff)
downloadservo-c25085f68a86e2885d77146add097f9f796c96ac.tar.gz
servo-c25085f68a86e2885d77146add097f9f796c96ac.zip
Introduce [Abstract] to mark non-leaf interfaces
Some interfaces like Node, CharacterData and HTMLTableCellElement are never instantiated directly, only their descendant interfaces are. Those are marked with [Abstract] to set their type_id to None instead of having dummy values in the TypeId enums.
Diffstat (limited to 'components/script/dom/webidls/Node.webidl')
-rw-r--r--components/script/dom/webidls/Node.webidl1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/webidls/Node.webidl b/components/script/dom/webidls/Node.webidl
index bb118820237..73635ab6f7b 100644
--- a/components/script/dom/webidls/Node.webidl
+++ b/components/script/dom/webidls/Node.webidl
@@ -7,6 +7,7 @@
* https://dom.spec.whatwg.org/#interface-node
*/
+[Abstract]
interface Node : EventTarget {
const unsigned short ELEMENT_NODE = 1;
const unsigned short ATTRIBUTE_NODE = 2; // historical