diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-tables/collapsed-border-remove-cell.html')
-rw-r--r-- | testing/web-platform/tests/css/css-tables/collapsed-border-remove-cell.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-tables/collapsed-border-remove-cell.html b/testing/web-platform/tests/css/css-tables/collapsed-border-remove-cell.html new file mode 100644 index 0000000000..2a84a63921 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/collapsed-border-remove-cell.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<html class="reftest-wait"> +<title>Collapsed borders track changes caused by removal of cells</title> +<link rel="help" href="https://drafts.csswg.org/css-tables/#border-collapsing"> +<link rel="match" href="collapsed-border-remove-cell-ref.html"> +<script src="/common/reftest-wait.js"></script> +<script src="/common/rendering-utils.js"></script> +<style> + table { + border-collapse: collapse; + } + td { + width: 100px; + height: 100px; + border: 1px solid black; + } +</style> +<table> + <tr><td></td><td></td></tr> + <tr><td></td><td id="target"></tr> +</table> +<script> + waitForAtLeastOneFrame().then(() => { + target.remove(); + takeScreenshot(); + }); +</script> |