mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Add tests for text shadow
This commit is contained in:
parent
832b9ee934
commit
6b5f31eef0
21
tests/cases/text/shadow.html
Normal file
21
tests/cases/text/shadow.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Text shadow tests</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<script type="text/javascript" src="../../test.js"></script>
|
||||
<style>
|
||||
span{
|
||||
text-shadow: 1px 1px 3px #888;
|
||||
}
|
||||
strong {
|
||||
text-shadow: 1px 1px 2px black, 0 0 1em blue, 0 0 0.2em blue;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
Some text <span> followed by text with shadow </span> followed by more text without shadow.
|
||||
<strong>Multi text shadow</strong> and some more text without shadow
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user