blob: 3eb3119e41ad0ea41c55e2065c9222c229836263 [file] [log] [blame]
<style>
.container {
width: 100px;;
height: 100px;
background-color: green;
overflow: clip;
transform: translateX(0px);
}
.out-of-flow-child {
position: absolute;
top: -100px;
background-color: red;
width: 50px;
height: 50px;
}
</style>
<!-- PASS if no red box while typing in the input field. -->
<div class=container>
<div class=out-of-flow-child></div><input id=inputField>
</div>
<script>
inputField.focus();
document.execCommand('insertText', false, "text");
</script>