1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/50630-1c.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html> 1.6 +<head> 1.7 +<title>CSS 2.1 Test Suite: Test for float placement rules</title> 1.8 +<link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org" /> 1.9 +<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> 1.10 +<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#float-position" /> 1.11 +<meta name="assert" content="A floating box must be placed as high as possible. " /> 1.12 +<meta name="flags" content="" /> 1.13 +<style> 1.14 +.left { float:left; } 1.15 +.right { float:right; } 1.16 +.left, .right { width:50px; height:50px; background:yellow; } 1.17 +p { overflow:auto; } 1.18 +</style> 1.19 +</head> 1.20 +<body style="width:400px;"> 1.21 +<p>Hello<span><span class="left"></span>Kitty</span> 1.22 +<p>Hello<span><span class="right"></span>Kitty</span> 1.23 +<p dir="rtl">Hello<span><span class="left"></span>Kitty</span> 1.24 +<p dir="rtl">Hello<span><span class="right"></span>Kitty</span> 1.25 +<p style="text-align:right;">Hello<span><span class="left"></span>Kitty</span> 1.26 +<p style="text-align:right;">Hello<span><span class="right"></span>Kitty</span> 1.27 +</body> 1.28 +</html>