html2canvas/tests/cases/visibility.html
2017-08-03 20:28:39 +08:00

31 lines
809 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Visible elements tests</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../test.js"></script>
<style>
div{
border:2px solid black;
}
.none {
display:none
}
</style>
</head>
<body>
<div>
<h1>Display:none and visible:hidden tests</h1>
<div>This should be visible </div>
<div class="none">display:none, This should be <b>hidden</b></div>
<div style="visibility:hidden">visibility:hidden, This should be <b>hidden</b></div>
<hr />
<div class="none">display:none, This should be <b>hidden</b></div>
<div style="visibility:hidden">visibility:hidden, This should be <b>hidden</b></div>
</div>
</body>
</html>