mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWeb/CSS: Stop overwriting style sheet location after construction
This commit is contained in:
parent
981ede900a
commit
14fb567a0f
|
|
@ -78,7 +78,6 @@ GC::Ref<CSSStyleSheet> StyleSheetList::create_a_css_style_sheet(String const& cs
|
|||
sheet->set_title(move(title));
|
||||
sheet->set_alternate(alternate == Alternate::Yes);
|
||||
sheet->set_origin_clean(origin_clean == OriginClean::Yes);
|
||||
sheet->set_location(move(location));
|
||||
|
||||
// 2. Then run the add a CSS style sheet steps for the newly created CSS style sheet.
|
||||
add_a_css_style_sheet(*sheet);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user