diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-break/transform-005.html')
-rw-r--r-- | testing/web-platform/tests/css/css-break/transform-005.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/transform-005.html b/testing/web-platform/tests/css/css-break/transform-005.html new file mode 100644 index 0000000000..83f674f8fd --- /dev/null +++ b/testing/web-platform/tests/css/css-break/transform-005.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<link rel="help" href="https://www.w3.org/TR/css-break-3/#transforms"> +<link rel="match" href="../reference/ref-filled-green-100px-square.xht"> +<style> + .relpos { + position: relative; + left: -60px; + top: -50px; + background: green; + } +</style> +<p>Test passes if there is a filled green square and <strong>no red</strong>.</p> +<div style="writing-mode:vertical-rl; inline-size:100px; block-size:100px; columns:4; column-fill:auto; column-gap:0; background:red;"> + <div style="block-size:50px; background:green;"></div> + <div style="will-change:transform; transform:translate(60px, 50px);"> + <div class="relpos" style="block-size:100px;"></div> + <div class="relpos" style="block-size:100px;"></div> + <div class="relpos" style="block-size:150px;"></div> + </div> +</div> |