summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/span-with-overflowing-text-hidden-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/span-with-overflowing-text-hidden-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-view-transitions/span-with-overflowing-text-hidden-ref.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/span-with-overflowing-text-hidden-ref.html b/testing/web-platform/tests/css/css-view-transitions/span-with-overflowing-text-hidden-ref.html
new file mode 100644
index 0000000000..1d27e470ac
--- /dev/null
+++ b/testing/web-platform/tests/css/css-view-transitions/span-with-overflowing-text-hidden-ref.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<title>View transitions: span with overflowing text is rendered correctly (ref)</title>
+<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
+<link rel="author" href="mailto:khushalsagar@chromium.org">
+
+<style>
+div {
+ background: grey;
+}
+span {
+ text-shadow: red 2px 5px;
+ visibility: hidden;
+}
+
+body {
+ background: pink;
+}
+</style>
+
+<div>
+ <span>This text should render correctly</span>
+</div>