repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
block
/
remove-anonymous-block.html
blob
98238ba9207557bcc698db49fe76eb6ac7e8d8b5
1
<!DOCTYPE
html
>
2
<style>
3
.green {
4
display:inline-block;
5
background: green;
6
width:
50
%;
7
}
8
.yellow {
9
background: yellow;
10
width:
50
%;
11
}
12
</style>
13
<p>
Test passes if yellow block is alongside green block, not in next line.
</p>
14
<div>
15
<div
class='green'
>
16
<h1>
Inline block
<h1>
17
</div>
18
<div
class='yellow'
>
19
<h1>
Floating block
</h1>
20
</div>
21
</div>
22
<script>
23
window
.
onload
=
function
() {
24
document
.
body
.
offsetTop
;
25
document
.
querySelector
(
'.yellow'
).
style
.
float
=
'right'
;
26
}
27
</script>