From 2de9c6c206e08b7f8fdb848cead5f0b1a14de0eb Mon Sep 17 00:00:00 2001 From: Xianzhu Wang Date: Mon, 5 Mar 2018 16:04:42 -0800 Subject: [PATCH] [PE] Don't truncate table cell's padding Truncation caused inadequate logical width when padding is like 1.7px. Bug: 817342 Change-Id: Ibdb76cc528cc7e04801fe65409bb8f60e5ac69a5 Reviewed-on: https://chromium-review.googlesource.com/943827 Commit-Queue: Xianzhu Wang Reviewed-by: Morten Stenshorne Cr-Commit-Position: refs/heads/master@{#540991} --- .../td-with-subpixel-padding.html | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 css/css-tables/width-distribution/td-with-subpixel-padding.html diff --git a/css/css-tables/width-distribution/td-with-subpixel-padding.html b/css/css-tables/width-distribution/td-with-subpixel-padding.html new file mode 100644 index 00000000000000..c99f2c32f60aa2 --- /dev/null +++ b/css/css-tables/width-distribution/td-with-subpixel-padding.html @@ -0,0 +1,52 @@ + + + + +Passes if each row has two blue squares. + + + + + +
+ + + + + +
+ + + + + +
+ + + + + +
+ + + + + +
+