Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<title>View transitions: span with overflowing text is rendered correctly (ref)</title>
<link rel="author" href="mailto:khushalsagar@chromium.org">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
:root {
font: 20px/1 Ahem;
}
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>