fune/testing/web-platform/tests/css/css-tables/absolute-tables-007.html
Ian Kilpatrick 169e016198 Bug 1642042 [wpt PR 23874] - [css-tables] Add test for %-height table., a=testonly
Automatic update from web-platform-tests
[css-tables] Add test for %-height table.

Test-only for fixed bug by NG. No behaviour change.

Bug: 903224
Change-Id: I268ae2b8a49dd84fdb23fe49e2da551d550976c2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2223002
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Auto-Submit: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#773378}

--

wpt-commits: b84ed32df2690e42644c4a43f46bc724c86212f1
wpt-pr: 23874
2020-06-01 14:03:12 +00:00

9 lines
542 B
HTML

<!DOCTYPE html>
<link rel="help" href="https://crbug.com/903224">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="A positioned absolute table should resolve its %-height against its containing block.">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="position:relative; width:100px;">
<div style="position:absolute; display:table; width:100%; height:100%; background:green;"></div>
<div style="height:100px; background:red;"></div>
</div>