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

24 строки
508 B
HTML

<!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);
</script>
</head>
<body>
<div id="t">text</div>
</body>
</html>