mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 18:35:07 +00:00
LibWeb: Invalidate styles after CSSImportRule loads
This replicates the behavior of StyleSheetList::add_sheet, making sure the rules added by the imported style sheet are applied.
This commit is contained in:
parent
1ed5e79478
commit
1f9d76c7b8
4 changed files with 7 additions and 0 deletions
1
Base/res/html/misc/css-import-relative/css-import-4a.css
Normal file
1
Base/res/html/misc/css-import-relative/css-import-4a.css
Normal file
|
@ -0,0 +1 @@
|
|||
@import "css-import-4b.css";
|
1
Base/res/html/misc/css-import-relative/css-import-4b.css
Normal file
1
Base/res/html/misc/css-import-relative/css-import-4b.css
Normal file
|
@ -0,0 +1 @@
|
|||
p.fourth { background-color: lime; }
|
Loading…
Add table
Add a link
Reference in a new issue