mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Evaluate media rules for adopted style sheets
Previously, media rules were not evaluated for adopted style sheets.
This commit is contained in:
committed by
Andreas Kling
parent
f4e0c5395a
commit
b9f0ea2178
Notes:
sideshowbarker
2024-07-19 01:59:31 +09:00
Author: https://github.com/tcl3 Commit: https://github.com/SerenityOS/serenity/commit/b9f0ea2178 Pull-request: https://github.com/SerenityOS/serenity/pull/24150
@@ -16,5 +16,6 @@
|
||||
}
|
||||
|
||||
println(`Disabled constructed style sheet applies to document: ${constructedStyleSheetAppliesToDocument({ disabled: true })}`);
|
||||
println(`Constructed style sheet with media rules applies to document: ${constructedStyleSheetAppliesToDocument({ media: "screen, print" })}`);
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user