Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<link rel="match" href="reference/contain-layout-button-002-ref.html">
<meta name=assert content="An empty button and a button with layout containment should align the same.">
<style>
button {
border: 5px solid green;
padding: 10px;
margin-bottom: 2px;
color: transparent;
width: 20px;
height: 20px;
}
</style>
<p>This test passes if it has the same output as the reference.</p>
<button></button> <button style="contain:layout"></button>