wpt / css / css-images / image-orientation / image-orientation-background-image.html

Status: FAIL | Duration: 10ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-images/image-orientation/image-orientation-background-image.html

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Images Module Level 3: image-orientation does apply to background-image</title>
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au">
<link rel="help" href="https://drafts.csswg.org/css-images-3/#propdef-image-orientation">
<link rel="match" href="reference/image-orientation-background-image-ref.html">
<meta name=fuzzy content="0-3;0-60">
<style>
div { width: 100px; height: 50px; background-image: url(support/exif-orientation-2-ur.jpg); }
.no-orient { image-orientation: none; }
</style>
<div></div>
<div class="no-orient"></div>

/css/css-images/image-orientation/reference/image-orientation-background-image-ref.html

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reference</title>
<style>
div { width: 100px; height: 50px; }
.orient { background-image: url(../support/exif-orientation-2-ur-pre-rotated.jpg); }
.no-orient { background-image: url(../support/exif-orientation-9-u.jpg); }
</style>
<div class="orient"></div>
<div class="no-orient"></div>