OLD | NEW |
---|---|
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 113 |
esprehn
2013/04/19 08:07:25
Funny this output was wrong.
Julien - ping for review
2013/04/19 21:29:12
Yeah, I didn't double check the test on other brow
| |
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 |
OLD | NEW |