aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/HTMLMediaElement.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/HTMLMediaElement.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/HTMLMediaElement.webidl')
-rw-r--r--components/script/dom/webidls/HTMLMediaElement.webidl1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/webidls/HTMLMediaElement.webidl b/components/script/dom/webidls/HTMLMediaElement.webidl
index e7b0383d1a3..17e86f91469 100644
--- a/components/script/dom/webidls/HTMLMediaElement.webidl
+++ b/components/script/dom/webidls/HTMLMediaElement.webidl
@@ -5,6 +5,7 @@
// https://www.whatwg.org/html/#htmlmediaelement
//enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
+[Abstract]
interface HTMLMediaElement : HTMLElement {
// error state