summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/border-collapse-dynamic-section.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-tables/border-collapse-dynamic-section.html')
-rw-r--r--testing/web-platform/tests/css/css-tables/border-collapse-dynamic-section.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-tables/border-collapse-dynamic-section.html b/testing/web-platform/tests/css/css-tables/border-collapse-dynamic-section.html
new file mode 100644
index 0000000000..5f48749fa4
--- /dev/null
+++ b/testing/web-platform/tests/css/css-tables/border-collapse-dynamic-section.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css-tables-3/">
+<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
+<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+<table style="border-collapse: collapse; width: 100px; background: red;">
+ <tbody>
+ <tr id="target" style="height: 50px; display: none;">
+ <td style="border: solid green 25px; background: green; padding: 0;"></td>
+ </tr>
+ </tbody>
+ <tbody>
+ <tr style="height: 25px;">
+ <td style="border: solid green 25px; padding: 0;"></td>
+ </tr>
+ </tbody>
+</table>
+<script>
+document.body.offsetTop;
+document.getElementById('target').style.display = '';
+</script>