diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-break/grid/subgrid/subgrid-item-fragmentation-003.html')
-rw-r--r-- | testing/web-platform/tests/css/css-break/grid/subgrid/subgrid-item-fragmentation-003.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/grid/subgrid/subgrid-item-fragmentation-003.html b/testing/web-platform/tests/css/css-break/grid/subgrid/subgrid-item-fragmentation-003.html new file mode 100644 index 0000000000..49f0b5fc76 --- /dev/null +++ b/testing/web-platform/tests/css/css-break/grid/subgrid/subgrid-item-fragmentation-003.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<link rel="help" href="https://drafts.csswg.org/css-grid-2/#pagination"> +<link rel="match" href="../../../reference/ref-filled-green-100px-square.xht"> +<title>Tests that parallel grid items fragment correctly.</title> +<p>Test passes if there is a filled green square and <strong>no red</strong>.</p> +<div style="width: 100px; height: 100px; columns: 2; column-gap: 0; background: red;"> + <div style="display: grid; grid-template-columns: auto auto;"> + <div style="display: grid; grid-template: subgrid / subgrid; grid-column: span 2;"> + <div style="background: green;"></div> + <div style="height: 200px; background: green;"></div> + </div> + </div> +</div> |