2009-10-12 20:27:51 +04:00
|
|
|
<!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 = "";
|
|
|
|
}
|
2017-01-17 13:50:25 +03:00
|
|
|
window.addEventListener("MozReftestInvalidate", f);
|
2009-10-12 20:27:51 +04:00
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="t">text</div>
|
|
|
|
</body>
|
|
|
|
</html>
|