1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/backgrounds/background-size-bounding-box.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,36 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 + <title>background-break: bounding-box</title> 1.8 + <style type="text/css"> 1.9 +@font-face 1.10 +{ 1.11 + font-family: Ahem; 1.12 + src: url(../fonts/Ahem.ttf); 1.13 +} 1.14 + 1.15 +#outer 1.16 +{ 1.17 + border: 1px solid black; 1.18 + width: 10em; 1.19 +} 1.20 +#ahem-lines 1.21 +{ 1.22 + font-family: Ahem; 1.23 + font-size: 32px; 1.24 + white-space: pre; 1.25 + background-image: url(blue-8x20-green-8x20.png); 1.26 + background-repeat: no-repeat; 1.27 + -moz-background-inline-policy: bounding-box; 1.28 +} 1.29 +</style> 1.30 +</head> 1.31 +<body> 1.32 +<div id="outer"> 1.33 +<span id="ahem-lines"> <!-- EOL --> 1.34 + <!-- mix it up for each-box and bounding-box --><!-- EOL --> 1.35 + <!-- EOL --> 1.36 + <!-- EOL --> 1.37 + </span></div> 1.38 +</body> 1.39 +</html>