Sign in
webkit
/
WebKit
/
refs/heads/master
/
.
/
LayoutTests
/
compositing
/
document-background-color.html
blob: dc5173f110b5ca73aaea2f3d41b481e39cd125d3 [
file
] [
log
] [
blame
]
<!DOCTYPE html>
<html>
<head>
<style>
html
{
background-color
:
red
;
}
</style>
<script>
window
.
addEventListener
(
"load"
,
function
()
{
document
.
querySelector
(
"html"
).
style
.
backgroundColor
=
"green"
;
},
false
);
</script>
</head>
<body>
</body>
</html>