summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/multiline-span-with-overflowing-text-and-box-decorations-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/multiline-span-with-overflowing-text-and-box-decorations-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-view-transitions/multiline-span-with-overflowing-text-and-box-decorations-ref.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/multiline-span-with-overflowing-text-and-box-decorations-ref.html b/testing/web-platform/tests/css/css-view-transitions/multiline-span-with-overflowing-text-and-box-decorations-ref.html
new file mode 100644
index 0000000000..ca9efc52d6
--- /dev/null
+++ b/testing/web-platform/tests/css/css-view-transitions/multiline-span-with-overflowing-text-and-box-decorations-ref.html
@@ -0,0 +1,28 @@
+<!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 {
+ width: 250px;
+ visibility: hidden;
+}
+span {
+ text-shadow: red -2px -5px;
+ border: 2px solid black;
+ box-shadow: 3px 3px red, -1em 0 .4em olive;
+ view-transition-name: target;
+ visibility: visible;
+}
+
+body {
+ background: pink;
+}
+</style>
+
+<div>
+ FILLER FILLER<span>This text should render correctly</span>
+</div>
+