Visibility collapse

Spec

Setting a row to visibility:collapse changes table height but not width.

B
B
B
B
B
first row
aaaa
bbbb
cccc
dddd
In the bottom table, a row is dynamically collapsed, made visible, and collapsed again.
B
B
B
B
B
first row
aaaa
bbbb
cccc
dddd

Summary

Harness status: OK

Found 18 tests

Details

ResultTest NameMessage
Passspanning row visibility:collapse doesn't change table width
Asserts run
Pass
assert_equals(100, 100, "spanning row visibility:collapse doesn't change table width")
    at Test.<anonymous> ( /css/css-tables/visibility-collapse-rowspan-004-dynamic.html:68:35)
Passwhen third row is collapsed, first row stays the same height
Asserts run
Pass
assert_equals(30, 30, "when third row is collapsed, first row stays the same height")
    at Test.<anonymous> ( /css/css-tables/visibility-collapse-rowspan-004-dynamic.html:68:35)
Passwhen third row is collapsed, second row stays the same height
Asserts run
Pass
assert_equals(30, 30, "when third row is collapsed, second row stays the same height")
    at Test.<anonymous> ( /css/css-tables/visibility-collapse-rowspan-004-dynamic.html:68:35)
Passthird row visibility:collapse makes row height 0
Asserts run
Pass
assert_equals(0, 0, "third row visibility:collapse makes row height 0")
    at Test.<anonymous> ( /css/css-tables/visibility-collapse-rowspan-004-dynamic.html:68:35)
Passwhen third row is collapsed, fourth row stays the same height
Asserts run
Pass
assert_equals(30, 30, "when third row is collapsed, fourth row stays the same height")
    at Test.<anonymous> ( /css/css-tables/visibility-collapse-rowspan-004-dynamic.html:68:35)
Passspanning cell shrinks to sum of remaining three rows' height
Asserts run
Pass
assert_equals(120, 120, "spanning cell shrinks to sum of remaining three rows' height")
    at Test.<anonymous> ( /css/css-tables/visibility-collapse-rowspan-004-dynamic.html:68:35)
Passwhen third row is visible, first row stays the same height
Asserts run
Pass
assert_equals(30, 30, "when third row is visible, first row stays the same height")
    at Test.<anonymous> ( /css/css-tables/visibility-collapse-rowspan-004-dynamic.html:68:35)
Passwhen third row is visible, second row stays the same height
Asserts run
Pass
assert_equals(30, 30, "when third row is visible, second row stays the same height")
    at Test.<anonymous> ( /css/css-tables/visibility-collapse-rowspan-004-dynamic.html:68:35)
Passwhen third row is visible, third row stays the same height
Asserts run
Pass
assert_equals(30, 30, "when third row is visible, third row stays the same height")
    at Test.<anonymous> ( /css/css-tables/visibility-collapse-rowspan-004-dynamic.html:68:35)
Passwhen third row is visible, fourth row stays the same height
Asserts run
Pass
assert_equals(30, 30, "when third row is visible, fourth row stays the same height")
    at Test.<anonymous> ( /css/css-tables/visibility-collapse-rowspan-004-dynamic.html:68:35)
Passwhen third row is visible, fifth row stays the same height
Asserts run
Pass
assert_equals(30, 30, "when third row is visible, fifth row stays the same height")
    at Test.<anonymous> ( /css/css-tables/visibility-collapse-rowspan-004-dynamic.html:68:35)
Passwhen third row is visible, spanning cell stays the same height
Asserts run
Pass
assert_equals(150, 150, "when third row is visible, spanning cell stays the same height")
    at Test.<anonymous> ( /css/css-tables/visibility-collapse-rowspan-004-dynamic.html:68:35)
Pass(2nd collapse) spanning row visibility:collapse doesn't change table width
Asserts run
Pass
assert_equals(100, 100, "(2nd collapse) spanning row visibility:collapse doesn't change table width")
    at Test.<anonymous> ( /css/css-tables/visibility-collapse-rowspan-004-dynamic.html:68:35)
Passwhen third row is collapsed again, first row stays the same height
Asserts run
Pass
assert_equals(30, 30, "when third row is collapsed again, first row stays the same height")
    at Test.<anonymous> ( /css/css-tables/visibility-collapse-rowspan-004-dynamic.html:68:35)
Passwhen third row is collapsed again, second row stays the same height
Asserts run
Pass
assert_equals(30, 30, "when third row is collapsed again, second row stays the same height")
    at Test.<anonymous> ( /css/css-tables/visibility-collapse-rowspan-004-dynamic.html:68:35)
Pass(2nd collapse) third row visibility:collapse makes row height 0
Asserts run
Pass
assert_equals(0, 0, "(2nd collapse) third row visibility:collapse makes row height 0")
    at Test.<anonymous> ( /css/css-tables/visibility-collapse-rowspan-004-dynamic.html:68:35)
Passwhen third row is collapsed again, fourth row stays the same height
Asserts run
Pass
assert_equals(30, 30, "when third row is collapsed again, fourth row stays the same height")
    at Test.<anonymous> ( /css/css-tables/visibility-collapse-rowspan-004-dynamic.html:68:35)
Pass(2nd collapse) spanning cell shrinks to sum of remaining three rows' height
Asserts run
Pass
assert_equals(120, 120, "(2nd collapse) spanning cell shrinks to sum of remaining three rows' height")
    at Test.<anonymous> ( /css/css-tables/visibility-collapse-rowspan-004-dynamic.html:68:35)