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
/
generated-content
/
transitive-style-invalidation-ref.html
blob
cf2f70914983159892053bb759cd7381b228917c
1
<!doctype
html
>
2
<style>
3
.foo
>
div::before {
4
display: block;
5
width:
100
px;
6
height:
100
px;
7
background: green;
8
content:
""
;
9
}
10
</style>
11
<div
class
=
"foo"
>
12
<div>
13
</div>
14
</div>
15
<script>
16
onload
=
function
() {
17
document
.
querySelector
(
'.foo'
).
className
=
'foo bar'
;
18
}
19
</script>