floats-wrap-bfc-outside-001-ref.xht (632B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head> 2 <title>Testcase, bug 472252</title> 3 4 <style type="text/css"> 5 #wrap {width:600px; border:1px solid;position:relative} 6 .a {background:lime; color:#fff; width:80%;} 7 .b {position:absolute; right:0; width:18%; background: cyan; color: #000; height:10em;} 8 textarea {box-sizing: border-box; width: 100%; height:10em;} 9 </style> 10 11 <title>test</title> 12 </head> 13 <body> 14 <div id="wrap"> 15 <div class="b"></div> 16 <div class="a"><textarea></textarea></div> 17 </div> 18 19 20 </body></html>