mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
Use #[must_root] for HTMLElements
This commit is contained in:
parent
30014c3919
commit
f5087e1490
70 changed files with 138 additions and 5 deletions
|
@ -13,6 +13,7 @@ use dom::node::ElementNodeTypeId;
|
|||
use servo_util::str::DOMString;
|
||||
|
||||
#[deriving(Encodable)]
|
||||
#[must_root]
|
||||
pub struct HTMLMediaElement {
|
||||
pub htmlelement: HTMLElement,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue