1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-12 02:30:30 +09:00
ladybird/Tests/LibWeb/Text/input/css/media-query-serialization-basic.html
2025-03-20 11:50:49 +01:00

17 lines
507 B
HTML

<!DOCTYPE html>
<head><style>
@media only screen { }
@media only screen and (min-width: 20px) and (max-width: 40px) { }
@media only screen and (min-resolution: 96dpi) { }
@media only screen and (min-resolution: 2dppx) { }
@media only screen and (min-resolution: 96dpcm) { }
</style></head>
<script src="../include.js"></script>
<script>
test(() => {
let sheet = document.head.firstChild.sheet
for (rule of sheet.cssRules) {
println(rule.cssText);
}
});
</script>