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-letter-replace-text.html
blob
0f0e0bce2501598e0c119d0bd0a1825ec8937e84
1
<!doctype
HTML
>
2
<style>
3
p:first-letter {
4
float: left;
5
color: green;
6
}
7
</style>
8
<p
id
=
"replace"
>
Lorem ipsum
</p>
9
<script>
10
document
.
body
.
offsetTop
;
// Force layout.
11
var
el
=
document
.
getElementById
(
"replace"
);
12
el
.
firstChild
.
data
=
el
.
firstChild
.
data
.
replace
(
/[aeiu]/g
,
"o"
);
13
</script>