serenity/Tests/LibWeb/Layout/input/picture-source-media-query.html
Andi Gallo 29d29134ba LibWeb: Skip children based on media when updating the source set
If child has a media attribute and its value does not match the
environment, continue to the next child.
2023-05-28 12:11:10 +02:00

11 lines
No EOL
165 B
HTML

<!DOCTYPE html>
<html>
<body>
<picture>
<source media="(max-width: 600px)" srcset="120.png">
<img src="400.png">
</picture>
</body>
</html>