blob: efc65859611fb04d2c4002fbe688291a221898f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<!DOCTYPE html>
<div id="target" style="display:grid;">
text
</div>
<script>
const target = document.getElementById('target');
document.body.offsetTop;
target.style.contentVisibility = 'hidden';
document.body.offsetTop;
target.style.contentVisibility = '';
</script>
|