1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/abs-pos/button-2.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,33 @@ 1.4 +<!doctype html> 1.5 +<html> 1.6 +<head> 1.7 +<style> 1.8 +button { 1.9 +position:relative; 1.10 +padding:0; 1.11 +background:green; 1.12 +width: 200px; 1.13 +height: 100px; 1.14 +border:none; 1.15 +text-align: left; 1.16 +font: 12px serif; 1.17 +-moz-appearance: none; 1.18 +border-radius: 0 !important; 1.19 +} 1.20 +button span { 1.21 +display:block; 1.22 +position:absolute; 1.23 +right:0; 1.24 +top:0; 1.25 +width:10px; 1.26 +height:100%; 1.27 +background:red; 1.28 +} 1.29 +</style> 1.30 +</head> 1.31 +<body> 1.32 +<button> 1.33 +<span></span> 1.34 +</button> 1.35 +</body> 1.36 +</html>