mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
Add some vertical align reftests now that text elements get correct vertical align property.
This commit is contained in:
parent
6184c13f95
commit
bc06e27fe2
9 changed files with 284 additions and 0 deletions
38
tests/ref/vertical_align_top_span_ref.html
Normal file
38
tests/ref/vertical_align_top_span_ref.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue