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
/
first-line
/
insertion-in-first-line-11.html
blob
cd27a622c09f29e02988dd816a4f2b95de39cb35
1
<!DOCTYPE
html
>
2
<style>
3
div { color: red; }
4
div::first-line { color: green }
5
#y { display: inline-block; }
6
</style>
7
<div
id
=
"x"
><span
id
=
"y"
>
green
</span></div>
8
<script>
9
x
.
offsetWidth
;
10
y
.
insertBefore
(
document
.
createTextNode
(
'This should be '
),
y
.
firstChild
);
11
</script>