summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/table/table-col-paint-htb-ltr.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-break/table/table-col-paint-htb-ltr.html')
-rw-r--r--testing/web-platform/tests/css/css-break/table/table-col-paint-htb-ltr.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/table/table-col-paint-htb-ltr.html b/testing/web-platform/tests/css/css-break/table/table-col-paint-htb-ltr.html
new file mode 100644
index 0000000000..ea066d1354
--- /dev/null
+++ b/testing/web-platform/tests/css/css-break/table/table-col-paint-htb-ltr.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<link rel="match" href="table-col-paint-htb-ltr-ref.html">
+<link rel="help" href="https://drafts.csswg.org/css-tables-3/#fragmentation">
+<link rel="help" href="https://drafts.csswg.org/css-tables-3/#rendering">
+<style>
+.multicol {
+ inline-size: 400px;
+ block-size: 100px;
+ columns: 4;
+ column-fill: auto;
+ gap: 0;
+}
+.pattern1 {
+ background: repeating-linear-gradient(lime, lime 20px, blue 20px, blue 40px);
+}
+.pattern2 {
+ background: repeating-linear-gradient(orange, orange 30px, dodgerblue 30px, dodgerblue 60px);
+}
+</style>
+<div class="multicol">
+ <table style="border-spacing: 10px; inline-size: 100%;">
+ <caption style="background: red; block-size: 50px;"></caption>
+ <col class="pattern1"></col>
+ <col class="pattern2"></col>
+ <tr style="block-size: 110px;">
+ <td></td>
+ <td></td>
+ </tr>
+ <tr style="block-size: 135px;">
+ <td></td>
+ <td></td>
+ </tr>
+ <caption style="caption-side: bottom; background: red; block-size: 75px;"></caption>
+ </table>
+</div>