gecko/layout/reftests/bugs/520421-1.html

24 lines
515 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html class="reftest-wait">
<head>
<style>
div {
background-color: red;
}
div[mixedCase=true] {
background-color: green !important;
}
</style>
<script>
function f() {
document.getElementById("t").setAttribute("mixedCase", "true");
document.documentElement.className = "";
}
window.addEventListener("MozReftestInvalidate", f, false);
</script>
</head>
<body>
<div id="t">text</div>
</body>
</html>