html2canvas/tests/reftests/visibility.html
2017-08-09 11:52:42 +08:00

34 lines
866 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
}
body {
font-family: Arial;
}
</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>