mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 03:35:33 +00:00
ff10ad8bc2
MozReview-Commit-ID: EiFS1KAKAj6
13 lines
219 B
HTML
13 lines
219 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
.x { color: blue; }
|
|
</style>
|
|
<div class=x>hello</div>
|
|
<script>
|
|
document.body.offsetWidth;
|
|
var x = document.querySelector(".x");
|
|
x.className = "";
|
|
x.remove();
|
|
document.body.offsetWidth;
|
|
</script>
|