summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/multiline-span-with-overflowing-text-and-box-decorations-ref.html
blob: ca9efc52d6e412d2eb2ee3511b5f3845a36854b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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>