comparison: layout/reftests/abs-pos/button-2-ref.html
layout/reftests/abs-pos/button-2-ref.html
- changeset 2
- 7e26c7da4463
equal
deleted
inserted
replaced
|
1 <!doctype html> |
|
2 <html> |
|
3 <head> |
|
4 <style> |
|
5 div { |
|
6 position:relative; |
|
7 padding:0; |
|
8 background:green; |
|
9 width: 200px; |
|
10 height: 100px; |
|
11 border:none; |
|
12 text-align: left; |
|
13 font: 12px serif; |
|
14 } |
|
15 div span { |
|
16 display:block; |
|
17 position:absolute; |
|
18 right:0; |
|
19 top:0; |
|
20 width:10px; |
|
21 height:100%; |
|
22 background:red; |
|
23 } |
|
24 </style> |
|
25 </head> |
|
26 <body> |
|
27 <div> |
|
28 <span></span> |
|
29 </div> |
|
30 </body> |
|
31 </html> |