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
/
dynamic
/
last-child-display-none.html
blob
e0246c51e88c4bac9be8b71db9959677684765e4
1
<!DOCTYPE
html
>
2
<style>
3
p:last-child {
4
display:none;
5
}
6
</style>
7
<script>
8
if
(
window
.
testRunner
)
9
testRunner
.
dumpAsText
();
10
</script>
11
<p>
You should see the word 'PASS' below:
</p>
12
<div
id
=
"container"
>
13
<p>
PASS
</p>
14
</div>
15
<script>
16
container
.
offsetTop
;
17
container
.
appendChild
(
document
.
createElement
(
"p"
));
18
</script>