fune/testing/web-platform/tests/css/css-tables/subpixel-table-width-001.html
Daniel Smith d72932489b Bug 1746965 [wpt PR 32151] - Remove empty css flags tags from the css directory (non-CSS2) (8/8), a=testonly
Automatic update from web-platform-tests
Remove empty css flags tags from the css directory (non-CSS2) (8/8) (#32151)

* remove empty flags tags from the (non CSS2) css directories

* remove extra spaces from merge
--

wpt-commits: 5e295079d07ef43bdd9fe1ccea9b59067fc5ae46
wpt-pr: 32151
2022-02-05 11:48:51 +00:00

27 lines
662 B
HTML

<!DOCTYPE html>
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
<link rel="help" href="https://www.w3.org/TR/CSS22/syndata.html#value-def-percentage">
<link rel="match" href="subpixel-table-width-001-ref.html">
<meta name="assert" content="A table with width:100% has same actual width as its parent's actual width." />
<style>
.parent {
background: red;
}
.parent table {
background: #aaa;
width: 100%;
height: 100px;
}
</style>
There should be two grey ~squares with no red showing.
<div class="parent" style="width:100.2px">
<table></table>
</div>
<div class="parent" style="width:100.8px">
<table></table>
</div>