diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-scroll-anchoring/vertical-rl-viewport-size-change-001.html')
-rw-r--r-- | testing/web-platform/tests/css/css-scroll-anchoring/vertical-rl-viewport-size-change-001.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/vertical-rl-viewport-size-change-001.html b/testing/web-platform/tests/css/css-scroll-anchoring/vertical-rl-viewport-size-change-001.html new file mode 100644 index 0000000000..0e58a1e63b --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/vertical-rl-viewport-size-change-001.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<link rel="help" href="https://drafts.csswg.org/css-scroll-anchoring/"> +<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1124195"> +<link rel="match" href="../reference/ref-filled-green-100px-square.xht"> +<style> + #iframe { + display: block; + border: none; + width: 300px; + height: 100px; + } +</style> +<p>Test passes if there is a filled green square and <strong>no red</strong>.</p> +<iframe id="iframe" src="support/flexbox-scrolling-vertical-rl.html"></iframe> +<script> + onload = function() { + document.body.offsetTop; + iframe.style.width = "100px"; + } +</script> |