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-generated-content
/
004.html
blob
c1b0bbc2ccc5513d401608eba172a1f86a59fd3d
1
<!DOCTYPE
HTML PUBLIC
"-//W3C//DTD HTML 4.0//EN"
>
2
<html
lang
=
"en"
>
3
<head>
4
<style>
5
p:before {
6
color: inherit;
7
content: 'This text should be green.';
8
}
9
</style>
10
</head>
11
<body
style
=
"color:red"
>
12
<p
id
=
"foo"
></p>
13
<script>
14
document
.
getElementById
(
'foo'
).
style
.
color
=
'green'
;
15
</script>
16
</body>
17
</html>
18