mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Merge d6b24682ab
into 8d086b9fe5
This commit is contained in:
commit
2921bbe83b
3 changed files with 5 additions and 5 deletions
|
@ -193,8 +193,8 @@ impl HTMLLinkElement {
|
||||||
&self.owner_window(),
|
&self.owner_window(),
|
||||||
Some(self.upcast::<Element>()),
|
Some(self.upcast::<Element>()),
|
||||||
"text/css".into(),
|
"text/css".into(),
|
||||||
None, // todo handle location
|
get_attr(self.upcast(), &local_name!("href")).map(DOMString::from_string),
|
||||||
None, // todo handle title
|
get_attr(self.upcast(), &local_name!("title")).map(DOMString::from_string),
|
||||||
sheet,
|
sheet,
|
||||||
false, // is_constructed
|
false, // is_constructed
|
||||||
can_gc,
|
can_gc,
|
||||||
|
|
|
@ -167,8 +167,8 @@ impl HTMLStyleElement {
|
||||||
&self.owner_window(),
|
&self.owner_window(),
|
||||||
Some(self.upcast::<Element>()),
|
Some(self.upcast::<Element>()),
|
||||||
"text/css".into(),
|
"text/css".into(),
|
||||||
None, // todo handle location
|
None,
|
||||||
None, // todo handle title
|
None,
|
||||||
sheet,
|
sheet,
|
||||||
false, // is_constructed
|
false, // is_constructed
|
||||||
CanGc::note(),
|
CanGc::note(),
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
[stylesheet-not-removed-until-next-stylesheet-loads.html]
|
[stylesheet-not-removed-until-next-stylesheet-loads.html]
|
||||||
[Check that a style sheet loaded by a <link> is available until its successor is loaded]
|
[Check that a style sheet loaded by a <link> is available until its successor is loaded]
|
||||||
expected: FAIL
|
expected: PASS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue