Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>CSS Borders Test: outline auto follows border-shape on form elements</title>
<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>