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
/
inspector
/
elements
/
styles
/
resources
/
inject-stylesheet-iframe-data.html
blob
9c62e2351b4f4548be42fe8e141079a5a92e9336
1
<html>
2
<head>
3
<style
type
=
"text/css"
media
=
"screen"
>
4
body { background:green; }
5
</style>
6
<script>
7
function
iframeOnload
()
8
{
9
window
.
parent
.
injectStyleSheet
(
window
);
10
console
.
log
(
"iframe loaded"
);
11
}
12
</script>
13
</head>
14
15
<body
onload
=
"iframeOnload()"
id
=
"iframeBody"
>
16
</body>
17
18
</html>