layout/reftests/floats/float-outside-block-push.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <!DOCTYPE HTML>
     2 <html lang="en">
     3 <head>
     4     <title>CSS 2.1 Test Suite: float</title>
     5     <link rel="author" title="L. David Baron" href="http://dbaron.org/" />
     6     <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
     7     <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats"/>
     8     <meta name="flags" content="" />
    10 <style type="text/css">
    11 #wrap {width:600px; border:1px solid;}
    12 .a {background:lime; color:#fff; width:80%;}
    13 .b {float:right; width:18%; background: cyan; color: #000; height:10em;}
    14 textarea {width: 100%; height:10em;}
    15 </style> 
    17 <title>test</title>
    18 </head>
    19 <body>
    20 <div id="wrap">
    21 	<div class="b"></div>
    22 	<div class="a"><textarea></textarea></div>
    23 </div>
    24 </body>
    25 </html>

mercurial