зеркало из https://github.com/mozilla/gecko-dev.git
72 строки
2.1 KiB
HTML
72 строки
2.1 KiB
HTML
|
<!DOCTYPE HTML>
|
||
|
<!--
|
||
|
Any copyright is dedicated to the Public Domain.
|
||
|
http://creativecommons.org/publicdomain/zero/1.0/
|
||
|
-->
|
||
|
<html><head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>Reference: Testcase for bug 944200</title>
|
||
|
<style type="text/css">
|
||
|
html,body {
|
||
|
color:black; background-color:white; font:20px/1 monospace; padding:0; margin:0;
|
||
|
}
|
||
|
|
||
|
.container {
|
||
|
border: 1px solid black;
|
||
|
width: 150px;
|
||
|
overflow: hidden;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
|
||
|
.float {
|
||
|
float: right;
|
||
|
background: yellow;
|
||
|
width: 50px;
|
||
|
text-indent: 0;
|
||
|
}
|
||
|
.left { float: left; }
|
||
|
.h { height: 3.5em; }
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<div style="float:left">
|
||
|
<div class="container"><div class="float">FF</div>aaaaaaa…</div>
|
||
|
<div class="container"><div class="float">FF</div>aaaaaaa…</div>
|
||
|
<div class="container"><div class="float">FF</div>aaaaaaa…<br>aaaaaaaaaaa…</div>
|
||
|
<div class="container"><div class="float">FF</div>aaaaaaa…<br>aaaaaaaaaa</div>
|
||
|
|
||
|
<div class="container" style="text-indent:-20px"><div class="float left">FF</div> …aa</div>
|
||
|
<div class="container" style="text-indent:-20px"><div class="float left">FF</div> …aa<br>aaaaaaaaaaa…</div>
|
||
|
<div class="container" style="text-indent:-20px"><div class="float left">FF</div> …aa<br>aaaaaaaaaa</div>
|
||
|
<div class="container" style="text-indent:-20px"><div class="float left">FF</div> …aa<br><span style="margin-left:-20px"> …aaaaaaa</span></div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div style="float:right">
|
||
|
<div class="container">
|
||
|
aaaaaaaaaa<br>
|
||
|
aaaaaaaaaaa…<br><div class="float h">FF</div>
|
||
|
aaaaaaa…<br>
|
||
|
aaaaaaa<br>
|
||
|
aaaaaaa…<br>
|
||
|
aaaaaaa…<br>
|
||
|
aaaaaaaaaa<br>
|
||
|
aaaaaaaaaaa…<br>
|
||
|
</div>
|
||
|
|
||
|
<div class="container" style="text-indent:-20px">
|
||
|
…aaaaaaa<br>
|
||
|
aaaaaaaaaaa…<br><div class="float left h">FF</div>
|
||
|
<span style="margin-left:-20px"> …aaaaaa…</span><br>
|
||
|
aaaaaaa…<br>
|
||
|
aaaa<br>
|
||
|
<span style="margin-left:-20px"> …aaaaaaa</span><br>
|
||
|
aaaaaaaaaa<br>
|
||
|
aaaaaaaaaaa…<br>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|