1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 05:35:07 +00:00
serenity/Tests/LibWeb/Layout/input/css-imported-sheet-with-media-rule.html
Andreas Kling 45f8542965 LibWeb: Actually visit rules and media queries in imported style sheets
Due to CSSImportRule::has_import_result() being backwards, we never
actually entered imported style sheets when traversing style rules or
media queries.

With this fixed, we no longer need the "collect style sheets" step in
StyleComputer, as normal for_each_effective_style_rule() will now
actually find all the rules. :^)
2023-03-30 16:54:15 +02:00

7 lines
112 B
HTML

<style>
@import "css-imported-sheet-with-media-rule.css";
* {
font-family: 'SerenitySans';
}
</style>
Crazy