gecko-dev/layout/reftests/xul-document-load/subdir/test015.js

9 строки
234 B
JavaScript

/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/ */
function onLoad() {
document.documentElement.style.backgroundColor = "green";
}
addEventListener("load", onLoad, false);