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
|
@ -28,9 +28,7 @@ use std::default::Default;
|
|||
static DefaultWidth: u32 = 300;
|
||||
static DefaultHeight: u32 = 150;
|
||||
|
||||
#[jstraceable]
|
||||
#[must_root]
|
||||
#[privatize]
|
||||
#[dom_struct]
|
||||
pub struct HTMLCanvasElement {
|
||||
htmlelement: HTMLElement,
|
||||
context: MutNullableJS<CanvasRenderingContext2D>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue