mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +00:00
21 lines
471 B
HTML
21 lines
471 B
HTML
|
<!DOCTYPE HTML>
|
||
|
<html><head>
|
||
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||
|
|
||
|
|
||
|
<style type="text/css">
|
||
|
|
||
|
.p { marker: url('#c'); }
|
||
|
|
||
|
</style>
|
||
|
<script type="text/javascript">
|
||
|
|
||
|
function boom()
|
||
|
{
|
||
|
document.getElementById("a").setAttribute("class", "p");
|
||
|
document.documentElement.offsetHeight;
|
||
|
document.getElementById("b").setAttribute("id", "c");
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
</head><body onload="boom();"><div class="p" id="a">C</div><div id="c"></div></body></html>
|