Get href and title of stylesheet when passing html link element

Signed-off-by: Jesse McNelis <jessta@jessta.id.au>
This commit is contained in:
Jesse McNelis 2025-05-26 21:48:43 +10:00
parent 41ecfb53a1
commit d6b24682ab
3 changed files with 5 additions and 5 deletions

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