1
Fork 0
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:
Simon Wanner 2022-03-14 20:56:05 +01:00 committed by Andreas Kling
parent 1ed5e79478
commit 1f9d76c7b8
4 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1 @@
@import "css-import-4b.css";

View file

@ -0,0 +1 @@
p.fourth { background-color: lime; }