mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Implement StyleSheet.disabled.
This commit is contained in:
parent
4529435f96
commit
64ff6dc103
10 changed files with 62 additions and 16 deletions
|
@ -57,6 +57,7 @@ fn test_parse_stylesheet() {
|
|||
origin: Origin::UserAgent,
|
||||
media: Default::default(),
|
||||
dirty_on_viewport_size_change: AtomicBool::new(false),
|
||||
disabled: AtomicBool::new(false),
|
||||
rules: vec![
|
||||
CssRule::Namespace(Arc::new(RwLock::new(NamespaceRule {
|
||||
prefix: None,
|
||||
|
|
|
@ -114,9 +114,6 @@
|
|||
[StyleSheet interface: attribute media]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheet interface: attribute disabled]
|
||||
expected: FAIL
|
||||
|
||||
[CSSStyleSheet interface: attribute ownerRule]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -135,9 +132,6 @@
|
|||
[StyleSheet interface: style_element.sheet must inherit property "media" with the proper type (5)]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheet interface: style_element.sheet must inherit property "disabled" with the proper type (6)]
|
||||
expected: FAIL
|
||||
|
||||
[StyleSheetList interface: existence and properties of interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue