mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 13:18:45 +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
36 lines
973 B
HTML
36 lines
973 B
HTML
<!DOCTYPE html>
|
|
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
|
|
<link rel="help" href="https://www.w3.org/TR/CSS21/cascade.html#value-stages">
|
|
<link rel="match" href="subpixel-table-cell-width-001-ref.html">
|
|
<meta name="flags" content="" />
|
|
<meta name="assert" content="When a cell has a specified percent width that results in a fractional used width, the cell's actual width should match that of a block whose specified fixed width is the cell's used width" />
|
|
|
|
<style>
|
|
.table {
|
|
display: table;
|
|
height: 20px;
|
|
background: red;
|
|
}
|
|
.cell {
|
|
display: table-cell;
|
|
}
|
|
div > div:first-child {
|
|
background: blue;
|
|
}
|
|
div > div:nth-child(2) {
|
|
background: lime;
|
|
}
|
|
</style>
|
|
|
|
|
|
<div class=table style="width:7.2px;">
|
|
<div class=cell style="width:50%;"></div>
|
|
<div class=cell style="width:50%;"></div>
|
|
</div>
|
|
|
|
<br><br>
|
|
|
|
<div class=table style="width:6.6px;">
|
|
<div class=cell style="width:50%;"></div>
|
|
<div class=cell style="width:50%;"></div>
|
|
</div>
|