mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Serialize empty media rules with a single newline
This deviates from the CSSOM specification but all modern browsers do this.
This commit is contained in:
committed by
Andreas Kling
parent
a2cccf9420
commit
02a8966b61
Notes:
sideshowbarker
2024-07-17 02:42:21 +09:00
Author: https://github.com/tcl3 Commit: https://github.com/SerenityOS/serenity/commit/02a8966b61 Pull-request: https://github.com/SerenityOS/serenity/pull/24162
@@ -1,15 +1,10 @@
|
||||
@media screen {
|
||||
|
||||
}
|
||||
@media screen and ((min-width: 20px) and (max-width: 40px)) {
|
||||
|
||||
}
|
||||
@media screen and (min-resolution: 1dppx) {
|
||||
|
||||
}
|
||||
@media screen and (min-resolution: 2dppx) {
|
||||
|
||||
}
|
||||
@media screen and (min-resolution: 2.54dppx) {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user