Sign in
webkit
/
WebKit
/
4f882b5c10470afbe19cfd10bd7d1d7ecc6430dc
/
.
/
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>