mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
parent
99ad3678fa
commit
138a0480fe
22 changed files with 500 additions and 20 deletions
|
@ -14,12 +14,16 @@
|
|||
|
||||
DOMInterfaces = {
|
||||
|
||||
'MediaQueryList': {
|
||||
'weakReferenceable': True,
|
||||
},
|
||||
|
||||
'Promise': {
|
||||
'spiderMonkeyInterface': True,
|
||||
},
|
||||
|
||||
'Range': {
|
||||
'weakReferenceable': True,
|
||||
'weakReferenceable': True,
|
||||
},
|
||||
|
||||
#FIXME(jdm): This should be 'register': False, but then we don't generate enum types
|
||||
|
|
|
@ -90,6 +90,7 @@ use std::time::{SystemTime, Instant};
|
|||
use string_cache::{Atom, Namespace, QualName};
|
||||
use style::attr::{AttrIdentifier, AttrValue, LengthOrPercentageOrAuto};
|
||||
use style::element_state::*;
|
||||
use style::media_queries::MediaQueryList;
|
||||
use style::properties::PropertyDeclarationBlock;
|
||||
use style::selector_impl::{ElementSnapshot, PseudoElement};
|
||||
use style::values::specified::Length;
|
||||
|
@ -366,7 +367,7 @@ no_jsmanaged_fields!(WebGLProgramId);
|
|||
no_jsmanaged_fields!(WebGLRenderbufferId);
|
||||
no_jsmanaged_fields!(WebGLShaderId);
|
||||
no_jsmanaged_fields!(WebGLTextureId);
|
||||
|
||||
no_jsmanaged_fields!(MediaQueryList);
|
||||
|
||||
impl JSTraceable for Box<ScriptChan + Send> {
|
||||
#[inline]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue