summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/platform/linux/http/tests
diff options
context:
space:
mode:
authorrobhogan@gmail.com <robhogan@gmail.com>2015-06-03 19:34:59 +0000
committerrobhogan@gmail.com <robhogan@gmail.com>2015-06-03 19:34:59 +0000
commit9b9e82de54268d792b230d02870f38f7edab3a3f (patch)
tree3dad50ef4c2ed3400abd7530d5f3fd5bb569e41f /third_party/WebKit/LayoutTests/platform/linux/http/tests
parent469eb0aa281bca66d0f094b673612975f8cf179e (diff)
downloadchromium_src-9b9e82de54268d792b230d02870f38f7edab3a3f.zip
chromium_src-9b9e82de54268d792b230d02870f38f7edab3a3f.tar.gz
chromium_src-9b9e82de54268d792b230d02870f38f7edab3a3f.tar.bz2
Don't add artifical 1 pixel width to empty tables
Don't use a dummy width of 1 pixel for empty columns when calculating the width of tables. Instead let them be zero width so that empty tables get a zero width. We still need a dummy value for empty columns when tracking the allocation of width to columns so do retain that. BUG=424338 Review URL: https://codereview.chromium.org/988443003 git-svn-id: svn://svn.chromium.org/blink/trunk@196425 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/platform/linux/http/tests')
-rw-r--r--third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid2-expected.txt6
-rw-r--r--third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid2-pixel-expected.txt6
2 files changed, 6 insertions, 6 deletions
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid2-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid2-expected.txt
index 793db37..dc18a67 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid2-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid2-expected.txt
@@ -8,9 +8,9 @@ layer at (0,0) size 800x4094 backgroundClip at (0,0) size 800x600 clip at (0,0)
text run at (12,46) width 134: "Hello World!"
layer at (36,2668) size 764x226 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600 outlineClip at (0,0) size 800x600
LayoutBlockFlow (relative positioned) {DIV} at (36,2584) size 764x226 [border: (12px solid #00000000)]
- LayoutTable {TABLE} at (12,12) size 1x0
- LayoutTableSection {TBODY} at (0,0) size 1x0
- LayoutTableRow {TR} at (0,0) size 1x0
+ LayoutTable {TABLE} at (12,12) size 0x0
+ LayoutTableSection {TBODY} at (0,0) size 0x0
+ LayoutTableRow {TR} at (0,0) size 0x0
LayoutTableCell {TD} at (0,0) size 0x0 [r=0 c=0 rs=1 cs=1]
LayoutBlockFlow {DIV} at (60,60) size 120x12 [bgcolor=#FF0000] [border: none (12px solid #000000) none (12px solid #000000)]
LayoutBlockFlow {DIV} at (12,0) size 144x12
diff --git a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid2-pixel-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid2-pixel-expected.txt
index 9832ef6..dc0e224 100644
--- a/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid2-pixel-expected.txt
+++ b/third_party/WebKit/LayoutTests/platform/linux/http/tests/misc/acid2-pixel-expected.txt
@@ -8,9 +8,9 @@ layer at (0,0) size 800x298
text run at (12,46) width 134: "Hello World!"
layer at (36,72) size 764x226
LayoutBlockFlow (relative positioned) {DIV} at (36,72) size 764x226 [border: (12px solid #00000000)]
- LayoutTable {TABLE} at (12,12) size 1x0
- LayoutTableSection {TBODY} at (0,0) size 1x0
- LayoutTableRow {TR} at (0,0) size 1x0
+ LayoutTable {TABLE} at (12,12) size 0x0
+ LayoutTableSection {TBODY} at (0,0) size 0x0
+ LayoutTableRow {TR} at (0,0) size 0x0
LayoutTableCell {TD} at (0,0) size 0x0 [r=0 c=0 rs=1 cs=1]
LayoutBlockFlow {DIV} at (60,60) size 120x12 [bgcolor=#FF0000] [border: none (12px solid #000000) none (12px solid #000000)]
LayoutBlockFlow {DIV} at (12,0) size 144x12