mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
1b5c96f9f7
MozReview-Commit-ID: 5ch5gtOn0Zr
10 lines
273 B
HTML
10 lines
273 B
HTML
<!DOCTYPE html>
|
|
<div style="display: none"><span>x</span></div>
|
|
<script>
|
|
document.body.offsetWidth;
|
|
document.querySelector("div").style.display = "inline";
|
|
document.body.offsetWidth;
|
|
document.querySelector("span").style.color = "blue";
|
|
document.body.offsetWidth;
|
|
</script>
|