wpt / css / css-borders / border-shape / border-shape-outline-auto-forms.html

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

/css/css-borders/border-shape/border-shape-outline-auto-forms.html

<!DOCTYPE html>
<title>CSS Borders Test: outline auto follows border-shape on form elements</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-auto-forms-ref.html">
<meta name="fuzzy" content="maxDifference=0-5;totalPixels=0-50">
<style>
body {
  margin: 0;
}
.container {
  padding: 20px;
}
.test {
  width: 200px;
  height: 50px;
  vertical-align: top;
  border: 10px solid green;
  background-color: white;
  outline: auto 2px blue;
  border-shape: inset(0 round 25px);
  box-sizing: border-box;
  margin-right: 10px;
  resize: none;
}
textarea.test {
  height: 100px;
}
</style>
<div class="container">
  <input class="test" value="Input">
</div>

/css/css-borders/border-shape/border-shape-outline-auto-forms-ref.html

<!DOCTYPE html>
<title>CSS Borders Reference: outline auto follows border-shape on form elements</title>
<style>
body {
  margin: 0;
}
.container {
  padding: 20px;
}
.test {
  width: 200px;
  height: 50px;
  vertical-align: top;
  border: 10px solid green;
  background-color: white;
  outline: auto 2px blue;
  border-radius: 25px;
  box-sizing: border-box;
  margin-right: 10px;
  resize: none;
}
textarea.test {
  height: 100px;
}
</style>
<div class="container">
  <input class="test" value="Input">
</div>