html2canvas/tests/cases/visibility.html

31 lines
809 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
2017-08-03 15:28:39 +03:00
<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>
2017-08-03 15:28:39 +03:00
</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>
2012-12-28 01:53:27 +04:00
2017-08-03 15:28:39 +03:00
</body>
</html>