diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/rtl-with-scrollbar-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-view-transitions/rtl-with-scrollbar-ref.html | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/rtl-with-scrollbar-ref.html b/testing/web-platform/tests/css/css-view-transitions/rtl-with-scrollbar-ref.html new file mode 100644 index 0000000000..c429136a2d --- /dev/null +++ b/testing/web-platform/tests/css/css-view-transitions/rtl-with-scrollbar-ref.html @@ -0,0 +1,40 @@ +<!DOCTYPE html> +<html dir="rtl"> +<head> + <title>Transition is correctly positioned on RTL page (ref)</title> + <link rel="help" href="https://github.com/WICG/view-transitions"> + <link rel="author" href="mailto:bokan@chromium.org"> + + <style> + #target { + position: absolute; + top: 100px; + left: 100px; + width: 100px; + height: 200px; + background: dodgerblue; + } + + #inroot { + position: absolute; + top: 300px; + left: 200px; + width: 100px; + height: 200px; + background: rebeccapurple; + } + + body { + margin: 0px; + padding: 0px; + /* add overflow for scrollbar */ + height: 200vh; + } + </style> +</head> + +</body> + <div id=target></div> + <div id="inroot"></div> +</body> +</html> |