Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(372)

Side by Side Diff: LayoutTests/fast/table/css-table-max-width-expected.txt

Issue 14141004: Fix table sizing when 'max-width' is used (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated the test to use Ahem for consistency across platforms Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Test case for bug http://webkit.org/b/98455. The testcase checks if the max-widt h property overrides the computed width of a html container with display:table. 1 Test case for bug http://webkit.org/b/98455. The testcase checks if the max-widt h property overrides the computed width of a html container with display:table.
2 A html container with display:table should not exceed the max-width even if its calculated width is greater than the max-width value. 2 A html container with display:table should not exceed the max-width even if its calculated width is greater than the max-width value.
3 However when min-width property is set and its value is greated than the max-wid th value, the width of the container must be equal to the min-width value. 3 However when min-width property is set and its value is greated than the max-wid th value, the width of the container must be equal to the min-width value.
4 4
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6 6
7 7
8 Note:The width of the css tables inclusive of its border width. 8 Note:The width of the css tables inclusive of its border width.
9 9
10 PASS maxGreatThanMinWidthAutoLayout.getBoundingClientRect().width is 202 10 PASS maxGreatThanMinWidthAutoLayout.getBoundingClientRect().width is 202
11 PASS minGreatThanMaxWidthAutoLayout.getBoundingClientRect().width is 202 11 PASS minGreatThanMaxWidthAutoLayout.getBoundingClientRect().width is 202
12 PASS onlyMaxWidthAutoLayout.getBoundingClientRect().width is 202 12 PASS onlyMaxWidthAutoLayout.getBoundingClientRect().width is 202
13 PASS maxWidthZeroAutoLayout.getBoundingClientRect().width is 0 13 PASS maxWidthZeroAutoLayout.getBoundingClientRect().width is 182
14 PASS maxGreatThanMinWidthFixedLayout.getBoundingClientRect().width is 202 14 PASS maxGreatThanMinWidthFixedLayout.getBoundingClientRect().width is 202
15 PASS minGreatThanMaxWidthFixedLayout.getBoundingClientRect().width is 202 15 PASS minGreatThanMaxWidthFixedLayout.getBoundingClientRect().width is 202
16 PASS onlyMaxWidthFixedLayout.getBoundingClientRect().width is 202 16 PASS onlyMaxWidthFixedLayout.getBoundingClientRect().width is 202
17 PASS maxWidthZeroFixedLayout.getBoundingClientRect().width is 0 17 PASS maxWidthZeroFixedLayout.getBoundingClientRect().width is 2
18 PASS successfullyParsed is true 18 PASS successfullyParsed is true
19 19
20 TEST COMPLETE 20 TEST COMPLETE
21 21
OLDNEW
« no previous file with comments | « LayoutTests/fast/table/css-table-max-width.html ('k') | LayoutTests/fast/table/html-table-width-max-width-constrained.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698