wpt / css / css-contain / contain-layout-select-001.tentative.html

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

/css/css-contain/contain-layout-select-001.tentative.html

<!doctype html>
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-layout">
<link rel="help" href="https://github.com/web-platform-tests/wpt/issues/45889">
<link rel="match" href="reference/contain-layout-select-001-ref.html">
<meta name=assert content="Select and button align when layout-contained">
<style>
button, select {
  appearance: none;
  contain: layout;
  width: 20px;
  height: 20px;
  border: 2px solid;
  margin: 5px;
  padding: 2px;
}
</style>
<button></button><select></select>

/css/css-contain/reference/contain-layout-select-001-ref.html

<!doctype html>
<style>
button {
  appearance: none;
  contain: layout;
  width: 20px;
  height: 20px;
  border: 2px solid;
  margin: 5px;
  padding: 2px;
}
</style>
<button></button><button></button>