mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-12 20:11:51 +00:00
Some dimensions would always serialize in a canonical unit, others never did, and others we manually would do so in their StyleValue. This commit moves all of that into the dimension types, which means for example that Length can apply its special rounding. Our local serialization test now produces the same output as other browsers. :^)
10 lines
219 B
Text
10 lines
219 B
Text
@media screen {
|
|
}
|
|
@media screen and (min-width: 20px) and (max-width: 40px) {
|
|
}
|
|
@media screen and (min-resolution: 96dpi) {
|
|
}
|
|
@media screen and (min-resolution: 2dppx) {
|
|
}
|
|
@media screen and (min-resolution: 96dpcm) {
|
|
}
|