Fix canvas cropping with type: 'view'

This commit is contained in:
MoyuScript
2014-10-15 20:28:26 +03:00
parent 89193f390f
commit 08e532eb6b
22 changed files with 8332 additions and 2425 deletions

23
tests/mocha/iframe2.htm Normal file
View File

@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
<style>
html, body {
background: red;
margin: 0;
padding: 0;
}
.valid {
margin-top: 350px;
height: 350px;
background: green;
display: block;
margin-bottom: 500px;
}
</style>
</head>
<body><div class="valid">&nbsp;</div></body>
</html>