This tests tests the CSS2 spec rules on table borders. The styles applied here are:
Header One | Header Two | Header Three |
---|---|---|
This table uses the collapsed borders model. | Since TBODY is assumed to be around any cells that are not in THEAD or TFOOT, styles on TBODY should be applied to the body of this table. | This means there should be a medium solid purple border around these six cells (not the top row). |
Data! | Data! |
Header One | Header Two | Header Three |
---|---|---|
This table uses the collapsed borders model. | This table has an explicit TBODY, so it should look just like the above. | This means there should be a medium solid purple border around these six cells (not the top row). |
Data! | Data! |
Header One | Header Two | Header Three |
---|---|---|
This table uses the separated borders model. |
This table has empty-cells set to show
|
This means there should be green borders around the second and third cells in the bottom row of this table. |
Data! |
Header One | Header Two | Header Three |
---|---|---|
This table uses the separated borders model. |
This table has empty-cells set to hide
|
This means there should not be green borders around the second and third cells in the bottom row of this table. |
Data! |
Header One | Header Two | Header Three |
---|---|---|
This table uses the collapsed borders model. |
This table has empty-cells set to hide
|
However, empty-cells doesn't do anything in the
collapsed border model.
|
This means there should be a border between the next two cells: |
(Back to CSS Testing Information, David Baron)