html2canvas/tests/cases/visibility.html

25 lines
836 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<title>Visible elements tests</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
2012-12-28 01:53:27 +04:00
<script type="text/javascript" src="../test.js"></script>
<style>
div{
border:2px solid black;
}
</style>
</head>
2012-12-28 01:53:27 +04:00
<body>
<h1>Display:none and visible:hidden tests</h1>
<div>This should be visible </div>
<div style="display: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 style="display:none">display:none, This should be <b>hidden</b></div>
<div style="visibility:hidden">visibility:hidden, This should be <b>hidden</b></div>
2012-12-28 01:53:27 +04:00
</body>
</html>