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