This commit is contained in:
Jesse McNelis 2025-06-02 20:00:33 -03:00 committed by GitHub
commit 2921bbe83b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -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,

View file

@ -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(),

View file

@ -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