mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 10:06:03 +00:00
LibWeb: Assign linked style sheet location when parsing it
Before this change, we assigned the style sheet's location *after* its content rules were parsed and added to it. This meant any `@import`s would try to fetch their style sheet before they knew the URL they should fetch it relative to.
This commit is contained in:
parent
336ccdb5f1
commit
f29a95e2fe
Notes:
github-actions[bot]
2025-04-15 08:41:46 +00:00
Author: https://github.com/AtkinsSJ
Commit: f29a95e2fe
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4352
5 changed files with 30 additions and 5 deletions
|
@ -0,0 +1,3 @@
|
|||
<!doctype html>
|
||||
<link rel="stylesheet" href="../data/import-a.css">
|
||||
<div id="target">Hello</div>
|
Loading…
Add table
Add a link
Reference in a new issue