31 lines
599 B
HTML
31 lines
599 B
HTML
<!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>
|