зеркало из https://github.com/mozilla/gecko-dev.git
17 строки
482 B
HTML
17 строки
482 B
HTML
<html><head>
|
|
<title>Testcase Bug 178762 - Percentage height ignored for child inside table with table-layout:fixed</title>
|
|
<style>
|
|
table { width: 100%; height: 100%; border:1px solid red;
|
|
table-layout: fixed; position:relative; }
|
|
div{width:100%;height:100%;background-color:green;}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<table><tr><td>
|
|
<div>
|
|
The viewport should be filled directly with a green square. A resize of the window seems to fix the bug.
|
|
</div>
|
|
</td></tr></table>
|
|
</body>
|
|
</html>
|