1
0
mirror of https://github.com/niklasvh/html2canvas.git synced 2023-08-10 21:13:10 +03:00

added test case for inline text in top element

This commit is contained in:
MoyuScript 2013-08-02 10:11:07 +08:00
parent eaa932c8a7
commit d017add199
2 changed files with 24 additions and 1 deletions

1
.gitignore vendored

@ -17,3 +17,4 @@ chromedriver.log
*.baseline
*.iml
.idea/
.DS_Store

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<title>Inline text in the top element</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../test.js"></script>
<style>
span {
color:blue;
}
p {
background-color: green;
}
</style>
</head>
<body>
Some inline text <span> followed by text in span </span> followed by more inline text.
<p>Then a block level element.</p>
Then more inline text.
</body>
</html>