mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Use #[dom_struct] everywhere
This commit is contained in:
parent
c45550de73
commit
3f2cbb275b
119 changed files with 119 additions and 357 deletions
|
@ -24,9 +24,7 @@ use url::{Url, UrlParser};
|
|||
|
||||
use std::cell::RefCell;
|
||||
|
||||
#[jstraceable]
|
||||
#[must_root]
|
||||
#[privatize]
|
||||
#[dom_struct]
|
||||
pub struct HTMLImageElement {
|
||||
htmlelement: HTMLElement,
|
||||
image: RefCell<Option<Url>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue