blob: e0192460ff45ab8634bd74cdf0974be8356736e5 (
plain)
1
2
3
4
5
6
7
8
9
|
<!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>
|