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
/
css
/
first-child-display-change.html
blob
377a2c24fc9ac7fe5cc477ccaa55302261f30d93
1
<style>
2
.display-when-first-child { display: none; }
3
.display-when-first-child:first-child { display: block; }
4
</style>
5
<div
id
=
"test"
></div>
6
<div
class
=
"display-when-first-child"
>
PASS
</div>
7
<script>
8
document
.
body
.
removeChild
(
test
);
9
if
(
window
.
testRunner
)
10
testRunner
.
dumpAsText
();
11
</script>