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
/
only-child.html
blob
fa855520bbd9ffaca4591148cfcd9cab72809d91
1
<!DOCTYPE
html
>
2
<style>
3
.b:only-child {
4
color: green;
5
}
6
</style>
7
<p
id
=
"p"
><span></span><span
class
=
"b"
>
This text should be green.
</span><span></span></p>
8
<script>
9
document
.
body
.
offsetTop
;
10
p
.
removeChild
(
p
.
firstChild
);
11
p
.
removeChild
(
p
.
lastChild
);
12
</script>