mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
34 lines
1.3 KiB
HTML
34 lines
1.3 KiB
HTML
<!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" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<title>CSS Test: float</title>
|
|
<style type="text/css">
|
|
@page { font: italic 8pt sans-serif; color: gray;
|
|
margin: 7%;
|
|
counter-increment: page;
|
|
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
|
|
@top-right { content: "Test floats-wrap-bfc-outside-001"; }
|
|
@bottom-right { content: counter(page); }
|
|
}
|
|
</style>
|
|
<link rel="author" title="L. David Baron" href="http://dbaron.org/" />
|
|
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" />
|
|
<link rel="match" href="reference/floats-wrap-bfc-outside-001-ref.xht" />
|
|
<meta name="flags" content="" />
|
|
|
|
<style type="text/css">
|
|
#wrap {width:600px; border:1px solid;}
|
|
.a {background:lime; color:#fff; width:80%;}
|
|
.b {float:right; width:18%; background: cyan; color: #000; height:10em;}
|
|
textarea {width: 100%; height:10em;}
|
|
</style>
|
|
|
|
</head>
|
|
<body>
|
|
<div id="wrap">
|
|
<div class="b"></div>
|
|
<div class="a"><textarea></textarea></div>
|
|
</div>
|
|
|
|
|
|
</body></html> |