mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Move EventTargetTypeId/NodeTypeId to DOMClass
This commit is contained in:
parent
8d7ba12f28
commit
941f7dc04b
24 changed files with 149 additions and 74 deletions
|
@ -41,8 +41,10 @@ impl HTMLMediaElement {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(JSTraceable, Copy, Clone, Debug, HeapSizeOf)]
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub enum HTMLMediaElementTypeId {
|
||||
HTMLMediaElement = -1,
|
||||
|
||||
HTMLAudioElement = 0,
|
||||
HTMLVideoElement = 1,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue