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-2.html
blob
95e695c9b4f72902d2e2d17cf7ff7100c8ee4ac2
1
<!DOCTYPE
html
>
2
<style>
3
div { color: red; }
4
div::first-line { color: green }
5
</style>
6
<div
id
=
"x"
></div>
7
<script>
8
x
.
offsetWidth
;
9
var
span
=
document
.
createElement
(
'span'
);
10
span
.
textContent
=
'This should be green'
;
11
x
.
appendChild
(
span
);
12
</script>