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
/
1260031-1.html
blob
fdb2b99816d5c4680769232bebac75b5d5ac0097
1
<!DOCTYPE
html
>
2
<html
lang
=
"en"
>
3
<head>
4
<meta
charset
=
"UTF-8"
>
5
<title>
Bug
1260031
- Intrinsic width with float
</title>
6
<style>
7
#wrapper {
8
background: red;
9
width: -moz-fit-content;
10
width: fit-content;
11
}
12
#left {
13
float: left;
14
width:
50
px;
15
height:
50
px;
16
background: green;
17
}
18
#right {
19
width:
50
px;
20
height:
50
px;
21
background: blue;
22
}
23
</style>
24
</head>
25
<body>
26
<div
id
=
"test"
>
27
<div
id
=
"wrapper"
>
28
<div
id
=
"left"
></div>
29
<div
id
=
"right"
></div>
30
</div>
31
</div>
32
<script>
33
document
.
getElementById
(
"right"
).
style
=
location
.
search
.
slice
(
1
);
34
</script>
35
</body>
36
</html>