haikuwebkit/LayoutTests/fast/images/image-orientation-backgroun...

15 lines
431 B
HTML

<!DOCTYPE html>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<style>
div {
background-image: url(resources/green-504x378-90deg.jpg);
background-size: cover;
width: 200px;
height: 366px;
background-color: red;
outline: 4px solid green;
}
</style>
<p>Test passes if the rectangle below is solid green. You should see no red or empty, white part of the rectangle.</p>
<div></div>