mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
17 lines
282 B
HTML
17 lines
282 B
HTML
|
<!DOCTYPE HTML>
|
||
|
<html>
|
||
|
<head>
|
||
|
<style>
|
||
|
div:after { content: 'X'; border:1px solid red; }
|
||
|
div.foo:after { content: 'Y'; }
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="d"></div>
|
||
|
<script>
|
||
|
document.body.offsetTop;
|
||
|
document.getElementById("d").setAttribute("class", "foo");
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|