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,27 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/ahem.css">
<style type="text/css">
body {
margin: 0;
font-size: 100px;
line-height: 1;
color: yellow;
}
div {
position: absolute;
top: 100px;
background-color: red;
}
.align {
color: green;
font-size: 20px;
vertical-align: top;
}
</style>
</head>
<body>
<div><span class="align">X</span><span>X</span></div>
</body>
</html>