Add some vertical align reftests now that text elements get correct vertical align property.

This commit is contained in:
Glenn Watson 2014-09-29 08:05:30 +10:00
parent 6184c13f95
commit bc06e27fe2
9 changed files with 284 additions and 0 deletions

View file

@ -0,0 +1,38 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
margin: 0;
}
.red {
background-color: red;
position: absolute;
left: 100px;
top: 120px;
width: 20px;
height: 80px;
}
.green {
background-color: green;
position: absolute;
left: 100px;
top: 100px;
width: 20px;
height: 20px;
}
.yellow {
background-color: yellow;
position: absolute;
top: 100px;
width: 100px;
height: 100px;
}
</style>
</head>
<body>
<div class="red"></div>
<div class="green"></div>
<div class="yellow"></div>
</body>
</html>