layout/reftests/bugs/134706-2-right-table.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/134706-2-right-table.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
     1.5 +<html lang="en-US">
     1.6 +<head>
     1.7 +	<title>CSS 2.1 Test Suite: Test for flow around floats</title>
     1.8 +	<link rel="author" title="L. David Baron" href="http://dbaron.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#floats" />
    1.11 +	<meta name="assert" content="The border box of a table, a block-level replaced element, or an element in the normal flow that establishes a new block formatting context (such as an element with 'overflow' other than 'visible') must not overlap any floats in the same block formatting context as the element itself." />
    1.12 +	<meta name="flags" content="" />
    1.13 +	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    1.14 +	<meta http-equiv="Content-Style-Type" content="text/css">
    1.15 +	<style type="text/css">
    1.16 +
    1.17 +	table { margin: 0; border-spacing: 0; }
    1.18 +	td, th { padding: 0; }
    1.19 +
    1.20 +	span { display: inline-block; vertical-align: bottom; }
    1.21 +
    1.22 +	</style>
    1.23 +</head>
    1.24 +<body>
    1.25 +
    1.26 +<table width="300" style="background: aqua"><tr><td>
    1.27 +
    1.28 +  <div style="float:right; background:blue; width: 100px; height: 100px"></div>
    1.29 +
    1.30 +  <table style="background: yellow"><tr><td>
    1.31 +    <span style="width: 150px; height: 50px; background: purple"></span>
    1.32 +    <span style="width: 150px; height: 50px; background: purple"></span>
    1.33 +  </td></tr></table>
    1.34 +
    1.35 +</td></tr></table>
    1.36 +
    1.37 +</body>
    1.38 +</html>

mercurial