Re:Tota11y
by pjc50 on Monday June 29, 2015 @10:00AM
(#9798078)
How? It should just zoom the viewport, there's no reason for any of the DOM elements to even be aware that it's happening. Or has this been implemented in a really stupid way?
[ Parent
| on HN ]
I'm not too familiar with it myself, but if I had to hazard a guess it's because setting an element to display:fixed breaks it out into its own root stacking context[0], and browser zoom affects every stacking context[1].
Would love to hear from someone who's actually familiar with what's going on though.
[0] http://updates.html5rocks.com/2012/09/Stacking-Changes-Comin...
[1] https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Under...