3 ms·
I think that perhaps they should have an option to report the height of the content window as Infinity, regardless of its actual height.
by zzo38computer 7y ago
I think that perhaps they should have an option to report the height of the content window as Infinity, regardless of its actual height.
- Thorrez 7y agoThat would likely cause some sites to break. Also I wonder how it would interact with CSS. Also I wonder if there would be methods to detect the actual height (such as by testing if something is visible or not, or testing for mouse location, and seeing how many pixels it takes for the mouse to go off the edge).
- zzo38computer 7y agoI thought of that. Visibility testing would always report as visible, and testing the vertical scroll position would always report zero, and the user can configure in what cases mouse location can be tested and how. (Document scripts should actually be disabled by default I think, and what features are available (and in some cases, spoofed) depends on user settings which can be global or specific to URL patterns. For example, full mouse and keyboard events might be available only for activated <canvas> elements when quote mode is active, and other than that is only used to calculate form fields, perhaps.)
- alok-g 7y agoHmm. Then _every_ browser should do that. That will force website development to change over the time to a WYSIWYM approach to handling screen resolutions.