diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/break-inside-avoid-child-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-view-transitions/break-inside-avoid-child-ref.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/break-inside-avoid-child-ref.html b/testing/web-platform/tests/css/css-view-transitions/break-inside-avoid-child-ref.html new file mode 100644 index 0000000000..859abdfb5f --- /dev/null +++ b/testing/web-platform/tests/css/css-view-transitions/break-inside-avoid-child-ref.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<title>View transitions: break-inside: avoid child (ref)</title> +<link rel="help" href="https://www.w3.org/TR/css-view-transitions-1/"> +<link rel="author" href="mailto:vmpstr@chromium.org"> + +<style> +.columns { + columns: 2; + contain: layout; + border: 1px solid black; +} + +.inner { + break-inside: avoid; + position: relative; + top: 300px; + left: 0; + background: lightblue; + width: 300px; + height: 300px; +} +</style> + +<div class="columns"> + <div class="inner"></div> +</div> |