mirror of
https://github.com/servo/servo.git
synced 2025-06-06 00:25:37 +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(),
|
||||
Some(self.upcast::<Element>()),
|
||||
"text/css".into(),
|
||||
None, // todo handle location
|
||||
None, // todo handle title
|
||||
get_attr(self.upcast(), &local_name!("href")).map(DOMString::from_string),
|
||||
get_attr(self.upcast(), &local_name!("title")).map(DOMString::from_string),
|
||||
sheet,
|
||||
false, // is_constructed
|
||||
can_gc,
|
||||
|
|
|
@ -167,8 +167,8 @@ impl HTMLStyleElement {
|
|||
&self.owner_window(),
|
||||
Some(self.upcast::<Element>()),
|
||||
"text/css".into(),
|
||||
None, // todo handle location
|
||||
None, // todo handle title
|
||||
None,
|
||||
None,
|
||||
sheet,
|
||||
false, // is_constructed
|
||||
CanGc::note(),
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
[stylesheet-not-removed-until-next-stylesheet-loads.html]
|
||||
[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