mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
23 lines
409 B
HTML
23 lines
409 B
HTML
|
<!DOCTYPE HTML>
|
||
|
<html class="reftest-wait">
|
||
|
<head>
|
||
|
<style>
|
||
|
body::before {
|
||
|
content:attr(my-attr);
|
||
|
}
|
||
|
body::after {
|
||
|
content:attr(my-attr-2);
|
||
|
}
|
||
|
</style>
|
||
|
<script>
|
||
|
function fixupDOM() {
|
||
|
document.body.setAttribute("my-attr", "before");
|
||
|
document.body.setAttribute("my-attr-2", "after");
|
||
|
document.documentElement.className = "";
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body my-attr-2="xyz" onload="fixupDOM()">
|
||
|
</body>
|
||
|
</html>
|