次のテストコードがあります。
<!DOCTYPE html>
<html style="min-width:100%;min-height:100%;height:100%;width:100%">
<body style="margin:0;min-width:100%;min-height:100%;height:100%;width:100%">
<div style="display:table;width:100%;height:100%;min-wight:100%;min-height:100%;">
<div style="display:table-row;background:red;">A</div>
<div style="display:table-row;background:green;">
<div style="display:block;background:yellow;width:100%;height:100%;">B</div>
</div>
<div style="display:table-row;background:blue;height:50px;">C</div>
</div>
</body>
</html>
Firefox では黄色の div が小さく表示されます (テーブル行として表示されますが、display:block が設定されています)。オペラも。Chrome は、緑色の div (テーブル行) の 100% の高さで黄色の div を表示します。
Chrome と同じように、これが Firefox、Opera、IE>8 で動作する必要があります。
アップデート:
次の問題が見つかりました。
<!DOCTYPE html>
<html style="min-width:100%;min-height:100%;height:100%;width:100%">
<body style="margin:0;min-width:100%;min-height:100%;height:100%;width:100%">
<div style="display:table;width:100%;height:100%;min-wight:100%;min-height:100%;">
<div style="height:50px;display:table-row;background:red;">A</div>
<div style="display:table-row;background:green;">
<div style="display:table-cell;background:yellow;">
<div style="display:block;width:100%;height:100%;background:darkred;">B</div>
</div>
</div>
<div style="display:table-row;background:blue;height:50px;">C</div>
</div>
</body>
</html>
Opera で darkred div が機能しない!