<!doctype html> | |
<meta charset="utf8"> | |
<title>CSS contain-intrinsic-size: select multiple</title> | |
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org"> | |
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override"> | |
<style> | |
.border { | |
border: 1px solid blue; | |
width: max-content; | |
margin: 5px; | |
} | |
select { | |
background: lightblue; | |
box-sizing: content-box; | |
width: 55px; | |
height: 66px; | |
overflow: visible; | |
} | |
</style> | |
<select multiple></select> |