haikuwebkit/LayoutTests/fast/hidpi/image-srcset-same-alternati...

5 lines
332 B
Plaintext

PASS internals.isPreloaded("resources/green-200-px-square.png") is false
PASS document.getElementById("foo").clientWidth==100 is true
This test passes if this img tag below is a blue square when the scale factor is 1. It ensures that when both source attributes has the same input alternative always the one from srcset is choosen