wpt / css / css-forms / textarea-base-appearance-rendering.tentative.html

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

/css/css-forms/textarea-base-appearance-rendering.tentative.html

<!DOCTYPE html>
<link rel=author href="mailto:lwarlow@igalia.com">
<link rel=help href="https://drafts.csswg.org/css-forms-1">
<link rel=match href="textarea-base-appearance-rendering-ref.tentative.html">

<textarea style="appearance:base">value</textarea>

<style>
body {
  font-family: monospace;
  background-color: black;
  color: green;
}
textarea {
  /* Without setting the width, we would be relying on intrinsic sizing which
   * is not specified or interoperable. */
  width: 150px;
  height: 40px;
}
</style>

/css/css-forms/textarea-base-appearance-rendering-ref.tentative.html

<!DOCTYPE html>
<div>value</div>
<style>
body {
  font-family: monospace;
  background-color: black;
  color: green;
}
div {
  width: 150px;
  height: 40px;
  border: 1px solid;
  box-sizing: border-box;
}
</style>