This feels new to me, or at least it's just started happening on our site.
Previously I'd be able to put a tracking pixel on our website with a height and width of 0
and it would be hidden from the page. Something like this <img height="0" width="0" src="someurl.com" />
and it would effectively be hidden from the browser. Now I'm seeing that it has a height in the browser.
<!DOCTYPE html>
<html>
<head>
<title>Title</title>
<style>
* { margin: 0; padding: 0 }
.main { height: 100vh; background-color: red; }
</style>
</head>
<body>
<div class="main">
text
</div>
<img height="0" width="0" />
</body>
</html>
When I run that code in the browser, I'm seeing a strip at the bottom of the page, where the img tag is taking up space.
I can fix this by targeting the image and setting its display to none, the pixel resource will still be loaded, but I'm wondering if anyone else has experienced this recently or if I've just forgotten some fundamental thing?
Chrome version: 103.0.5060.53
Firefox version: 102.0
Safari version: 15.0 (16612.1.29.41.4, 16612)