repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git]
/
layout
/
reftests
/
floats
/
1322843-1b.html
blob
6ab8e1b42a22c4028d6cb403845260cd2f74b547
1
<!DOCTYPE
html
>
2
<title>
Bug
1322843
- Intrinsic width with float
</title>
3
<style>
4
#outer {
5
width: -moz-fit-content;
6
width: fit-content;
7
background: red;
8
}
9
#float {
10
float: left;
11
width:
200
px;
12
height:
100
px;
13
background: green;
14
}
15
#inner {
16
width:
200
px;
17
height:
100
px;
18
clear: left;
19
overflow: hidden; /* to establish block formatting context */
20
background: green;
21
}
22
</style>
23
<div
id
=
"outer"
>
24
<div
id
=
"float"
></div>
25
<div
id
=
"inner"
></div>
26
</div>