Back to Chromium

Table Detection

third_party/blink/web_tests/accessibility/table-detection.html

149.0.7827.22.1 KB
Original Source

This should be a table because it has a thead.

| asdf | asdf | | asdf | asdf |

This should be a table because cells have borders.

| asdf | asdf |

This should not be a table because its cells do not have borders.

| asdf | asdf |

This should be a table because a cell has a special attribute

| asdf | asdf |

This should be a table because a cell has a special attribute.

| asdf | asdf |

This should be a table because a cell has a special attribute.

| asdf | asdf | | asdf | asdf |

This should be a table because cells have different colors.

| asdf | asdf |

This should not be a table because cells have different but no spacing.

| asdf | asdf |

This should not be a table because cells have the same colors even though there is spacing.

| asdf | asdf |

This should be a table because it has the "rules" attr.

| asdf | asdf |

This should not be a table because it only has one valid cell (need more than one).

| Contributions |

This should not be a table because it does not have enough cell borders or background colors

| Politics | | Decision '08 | | The debates | | The White House | | Capitol Hill | | National Journal | | New York Times |

This should be a table because it's editable.

| asdf | asdf |

This should be a table because most cells have a top border.

| asdf | asdf | | asdf | asdf |

This should not be a table because cells have different borders.

| asdf | asdf | | asdf | asdf |

This should be a table because it sets empty-cells: hide on the table.

| asdf | asdf | | | asdf | | asdf | asdf |

This should be a table because it sets empty-cells: hide on a cell.

| asdf | asdf | | | asdf | | asdf | asdf |

This should be a table because it has a col.

| asdf | asdf | | asdf | asdf |

This should be a table because it has at least 20 rows

| asdf | | asdf | | asdf | | asdf | | asdf | | asdf | | asdf | | asdf | | asdf | | asdf | | asdf | | asdf | | asdf | | asdf | | asdf | | asdf | | asdf | | asdf | | asdf | | asdf | | asdf | | asdf | | asdf | | asdf |