layout/reftests/bugs/134706-4.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/134706-4.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,86 @@
     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 +	</style>
    1.21 +</head>
    1.22 +<body>
    1.23 +
    1.24 +<table width="300" style="background: aqua"><tr><td>
    1.25 +  <div style="float:left; background:blue; width: 100px; height: 20px"></div>
    1.26 +  <div style="float:left; background:silver; width: 100px; height: 6px"></div>
    1.27 +  <table style="background: yellow"><tr><td>
    1.28 +    <div style="width: 150px; height: 10px; background: purple"></div>
    1.29 +  </td></tr></table>
    1.30 +</td></tr></table>
    1.31 +
    1.32 +<table width="300" style="background: aqua"><tr><td>
    1.33 +  <div style="float:left; background:blue; width: 100px; height: 20px"></div>
    1.34 +  <div style="float:right; background:silver; width: 100px; height: 6px"></div>
    1.35 +  <table style="background: yellow"><tr><td>
    1.36 +    <div style="width: 150px; height: 10px; background: purple"></div>
    1.37 +  </td></tr></table>
    1.38 +</td></tr></table>
    1.39 +
    1.40 +<table width="300" style="background: aqua"><tr><td>
    1.41 +  <div style="float:right; background:blue; width: 100px; height: 20px"></div>
    1.42 +  <div style="float:left; background:silver; width: 100px; height: 6px"></div>
    1.43 +  <table style="background: yellow"><tr><td>
    1.44 +    <div style="width: 150px; height: 10px; background: purple"></div>
    1.45 +  </td></tr></table>
    1.46 +</td></tr></table>
    1.47 +
    1.48 +<table width="300" style="background: aqua"><tr><td>
    1.49 +  <div style="float:right; background:blue; width: 100px; height: 20px"></div>
    1.50 +  <div style="float:right; background:silver; width: 100px; height: 6px"></div>
    1.51 +  <table style="background: yellow"><tr><td>
    1.52 +    <div style="width: 150px; height: 10px; background: purple"></div>
    1.53 +  </td></tr></table>
    1.54 +</td></tr></table>
    1.55 +
    1.56 +<table width="300" style="background: aqua"><tr><td>
    1.57 +  <div style="float:left; background:blue; width: 100px; height: 20px"></div>
    1.58 +  <div style="float:left; background:silver; width: 100px; height: 6px"></div>
    1.59 +  <div style="overflow: hidden; background: yellow">
    1.60 +    <div style="width: 150px; height: 10px; background: purple"></div>
    1.61 +  </div>
    1.62 +</td></tr></table>
    1.63 +
    1.64 +<table width="300" style="background: aqua"><tr><td>
    1.65 +  <div style="float:left; background:blue; width: 100px; height: 20px"></div>
    1.66 +  <div style="float:right; background:silver; width: 100px; height: 6px"></div>
    1.67 +  <div style="overflow: hidden; background: yellow">
    1.68 +    <div style="width: 150px; height: 10px; background: purple"></div>
    1.69 +  </div>
    1.70 +</td></tr></table>
    1.71 +
    1.72 +<table width="300" style="background: aqua"><tr><td>
    1.73 +  <div style="float:right; background:blue; width: 100px; height: 20px"></div>
    1.74 +  <div style="float:left; background:silver; width: 100px; height: 6px"></div>
    1.75 +  <div style="overflow: hidden; background: yellow">
    1.76 +    <div style="width: 150px; height: 10px; background: purple"></div>
    1.77 +  </div>
    1.78 +</td></tr></table>
    1.79 +
    1.80 +<table width="300" style="background: aqua"><tr><td>
    1.81 +  <div style="float:right; background:blue; width: 100px; height: 20px"></div>
    1.82 +  <div style="float:right; background:silver; width: 100px; height: 6px"></div>
    1.83 +  <div style="overflow: hidden; background: yellow">
    1.84 +    <div style="width: 150px; height: 10px; background: purple"></div>
    1.85 +  </div>
    1.86 +</td></tr></table>
    1.87 +
    1.88 +</body>
    1.89 +</html>

mercurial