1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/backgrounds/background-position-7.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,43 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 + <title>background-position: left 25% bottom</title> 1.8 + <style type="text/css"> 1.9 +.outer 1.10 +{ 1.11 + border: 1px solid black; 1.12 + width: 128px; 1.13 + height: 128px; 1.14 +} 1.15 +.outer > div 1.16 +{ 1.17 + width: 128px; 1.18 + height: 128px; 1.19 + background-image: url(aqua-32x32.png); 1.20 + background-repeat: no-repeat; 1.21 +} 1.22 +#inner1 1.23 +{ 1.24 + background-position: left 24px bottom; 1.25 +} 1.26 +#inner2 1.27 +{ 1.28 + background-position: left 25% bottom; 1.29 +} 1.30 +#inner3 1.31 +{ 1.32 + background-position: right 75% bottom; 1.33 +} 1.34 +#inner4 1.35 +{ 1.36 + background-position: right 72px bottom; 1.37 +} 1.38 + </style> 1.39 +</head> 1.40 +<body> 1.41 +<div class="outer"><div id="inner1"></div></div> 1.42 +<div class="outer"><div id="inner2"></div></div> 1.43 +<div class="outer"><div id="inner3"></div></div> 1.44 +<div class="outer"><div id="inner4"></div></div> 1.45 +</body> 1.46 +</html>