blob: 4b1d2fb8e784e02f281c46f6a390d141e82219ff [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>This tests that we properly layout positioned descendants.</title>
<script>
if (window.testRunner)
testRunner.dumpAsText();
window.onload = function() {
document.execCommand('selectAll');
document.designMode = 'on';
}
</script>
<style>
html, caption, tfoot, button {
display: inline-flex;
position: absolute;
flex-direction: row-reverse;
}
tfoot {
position: relative;
}
</style>
</head>
<body>
PASS if no assert in debug.
<table><caption></caption><tfoot><tr><th><button><span></span></button></th></tr></tfoot></table>
</body>
</html>