зеркало из https://github.com/mozilla/gecko-dev.git
24 строки
508 B
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>
|