summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/table/table-cell-expansion-010.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-break/table/table-cell-expansion-010.html')
-rw-r--r--testing/web-platform/tests/css/css-break/table/table-cell-expansion-010.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/table/table-cell-expansion-010.html b/testing/web-platform/tests/css/css-break/table/table-cell-expansion-010.html
new file mode 100644
index 0000000000..0e6b849c9b
--- /dev/null
+++ b/testing/web-platform/tests/css/css-break/table/table-cell-expansion-010.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css-tables-3/#fragmentation">
+<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
+<style>
+table { border-spacing: 0; }
+td { padding: 0; }
+</style>
+<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+<div style="columns: 4; gap: 0; column-fill: balance; height: 100px; width: 100px; background: red;">
+ <table style="background: green;">
+ <tr>
+ <td>
+ <div style="height: 10px; width: 25px;"></div>
+ <div style="height: 10px; break-before: column;"></div>
+ <div style="height: 10px; break-before: column;"></div>
+ <div style="height: 10px; break-before: column;"></div>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <div style="height: 90px;"></div>
+ </td>
+ </tr>
+ </table>
+</div>