fune/testing/web-platform/tests/css/css-tables/height-distribution/td-different-subpixel-padding-in-same-row-vertical-rl.html
Xianzhu Wang af62bf9f45 Bug 1447876 [wpt PR 10132] - [PE] Add ToInt() for logical padding top and bottom for LayoutTableCell, a=testonly
Automatic update from web-platform-tests[PE] Add ToInt() for logical padding top and bottom for LayoutTableCell

This reverts the logic for logical top/bottom paddings to be the same
as before https://chromium-review.googlesource.com/619603. The logical
top/bottom paddings are truncated like what we do for other table
layouts.

We still keep subpixels for logical left/right paddings to ensure
correct logical width calculation. This is still the same as before
https://chromium-review.googlesource.com/619603.

Bug: 823824
Change-Id: Icb617bf5771d1726f767207853f4adc8275731dc
Reviewed-on: https://chromium-review.googlesource.com/974315
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#545225}

wpt-commits: 4e1bb5100b7de0d9373bccf5fd09e8476801d3cd
wpt-pr: 10132
wpt-commits: 4e1bb5100b7de0d9373bccf5fd09e8476801d3cd
wpt-pr: 10132
2018-04-15 08:35:14 +01:00

15 lines
660 B
HTML

<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#height-distribution-algorithm">
<link rel="match" href="td-different-subpixel-padding-in-same-row-vertical-rl-ref.html">
Passes if there is an unbroken rectangular border.
<style>td { width: 20px; height: 20px }</style>
<table style="position: absolute; top: 30.3px; border: 2px solid black;
border-collapse: collapse; writing-mode: vertical-rl">
<tr>
<td style="padding: 2px 1px"></td>
<td style="padding: 2px 1.2px"></td>
<td style="padding: 2px 1.5px"></td>
<td style="padding: 2px 1.7px"></td>
<td style="padding: 2px"></td>
</tr>
</table>