mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 05:39:41 +02:00
Automatic update from web-platform-tests [css-tables] Subpixel tests that Chrome fails but Safari, FF, Edge pass This CL contains tests only, no behavior change. Bug: 377847 Change-Id: I5782e3195094700a9cb992ef2ab9e353ddf048db Reviewed-on: https://chromium-review.googlesource.com/c/1444391 Commit-Queue: David Grogan <dgrogan@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#627533} -- wpt-commits: 18a1fc0a5f95e08dae436d652c9953f2277dfd8e wpt-pr: 15142
28 lines
695 B
HTML
28 lines
695 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="flags" content="" />
|
|
<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>
|