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

Status: FAIL | Duration: 25ms | 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-double-ellipse.html

<!DOCTYPE html>
<title>CSS Borders Test: double outline with tricky ellipses</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-double-ellipse-ref.html">
<meta name="fuzzy" content="maxDifference=0-150;totalPixels=0-2000">
<style>
body {
  margin: 0;
}
.container {
  padding: 40px;
}
.test {
  margin: 150px auto;
  width: 40px;
  height: 100px;
  border: 5px solid green;
  box-shadow: 0 0 0 90px red;
  border-shape: ellipse(50% 50% at 50% 50%) border-box ellipse(50% 50% at 50% 50%) padding-box;
  outline: 30px double blue;
  outline-offset: 15px;
}
</style>
<div class="container">
  <div class="test"></div>
</div>

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

<!DOCTYPE html>
<title>CSS Borders Reference: double outline with tricky ellipses</title>
<style>
body {
  margin: 0;
}
.container {
  padding: 40px;
}
.test {
  margin: 150px auto;
  width: 40px;
  height: 100px;
  border: 5px solid green;
  box-shadow: 0 0 0 90px red;
  border-radius: 50%;
  outline: 30px double blue;
  outline-offset: 15px;
}
</style>
<div class="container">
  <div class="test"></div>
</div>