1 Testcase for Bug http://wkbug.com/98633. The testcase checks if the height of a css table does not exceed the max-height value. The height of the table can be greater than max-height value when either min-height is greater than max-height or computed height of the content is greater than the max-height.
3 This sub-test checks that when min-height is lesser than max-height, max-height is applied to a table with auto layout.
5 This sub-test checks that when min-height is greater than max-height, min-height is applied to a table with auto layout.
7 This sub-test checks that max-height with fixed value is applied to a table with auto layout.
9 This sub-test checks that max-height with percent value is applied to a table with auto layout.
11 This sub-test checks that max-height with viewport percent height value is applied to a table with auto layout.
13 This sub-test checks that max-height with viewport percent width value is applied to a table with auto layout.
15 This sub-test checks that when content height is greater than max-height, content height is applied to the table with auto layout.
17 FILLER TEXT TO INCREASE CONTENT HEIGHT.
19 This test checks that when height of an auto-table is auto, there is are no asserts. No crash means the test passed.
21 This sub-test checks that when min-height is lesser than max-height, max-height is applied to a table with fixed layout.
23 This sub-test checks that when min-height is greater than max-height, min-height is applied to a table with fixed layout.
25 This sub-test checks that max-height with fixed value is applied to a table with fixed layout.
27 This sub-test checks that max-height with percent value is applied to a table with fixed layout.
29 This sub-test checks that max-height with viewport percent height value is applied to a table with fixed layout.
31 This sub-test checks that max-height with viewport percent width value is applied to a table with fixed layout.
33 This sub-test checks that when content height is greater than max-height, content height is applied to a table with fixed layout.
35 FILLER TEXT TO INCREASE CONTENT HEIGHT.
37 This test checks that when height of a fixed table is auto, there is are no asserts. No crash means the test passed.