wpt / css / css-borders / border-shape / border-shape-outline-with-border.html

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

/css/css-borders/border-shape/border-shape-outline-with-border.html

<!DOCTYPE html>
<title>CSS Borders Test: outline follows border-shape with border</title>
<link rel="help" href="https://drafts.csswg.org/css-borders-4/#border-shape">
<link rel="help" href="https://drafts.csswg.org/css-ui/#outline">
<link rel="match" href="border-shape-outline-with-border-ref.html">
<meta name="fuzzy" content="maxDifference=0-125;totalPixels=0-1500">
<style>
body { margin: 0; }
.container { padding: 40px; }
.target {
  width: 100px;
  height: 100px;
  background: lightblue;
  border-shape: circle(50% at 50% 50%) border-box circle(50% at 50% 50%) padding-box;
  border: 10px solid green;
  outline: 4px solid red;
}
</style>
<div class="container">
  <div class="target"></div>
</div>

/css/css-borders/border-shape/border-shape-outline-with-border-ref.html

<!DOCTYPE html>
<title>CSS Borders Reference: outline follows border-shape with border</title>
<style>
body { margin: 0; }
.container { padding: 40px; }
.target {
  width: 100px;
  height: 100px;
  background: lightblue;
  border-radius: 50%;
  border: 10px solid green;
  outline: 4px solid red;
}
</style>
<div class="container">
  <div class="target"></div>
</div>