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

Status: PASS | Duration: 5ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

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

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Images Module Level 3: image-orientation does apply to border images</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-border-image-ref.html">
<meta name="fuzzy" content="0-16;0-80">
<style>
div {
  width: 100px;
  height: 50px;
  border: 10px solid black;
  border-image: url(support/exif-orientation-2-ur.jpg) 10;
}
.no-orient { image-orientation: none; }
</style>
<div></div>
<div class="no-orient"></div>

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

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