Skip to content

Commit 6b5f31e

Browse files
committed
Add tests for text shadow
1 parent 832b9ee commit 6b5f31e

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

tests/cases/text/shadow.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Text shadow tests</title>
5+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6+
<script type="text/javascript" src="../../test.js"></script>
7+
<style>
8+
span{
9+
text-shadow: 1px 1px 3px #888;
10+
}
11+
strong {
12+
text-shadow: 1px 1px 2px black, 0 0 1em blue, 0 0 0.2em blue;
13+
}
14+
</style>
15+
16+
</head>
17+
<body>
18+
Some text <span> followed by text with shadow </span> followed by more text without shadow.
19+
<strong>Multi text shadow</strong> and some more text without shadow
20+
</body>
21+
</html>

0 commit comments

Comments
 (0)