As a follow-up to Interop2022’s Viewport Investigation Effort, I’m filing this issue that came up.
The gist of issue web-platform-tests/interop-2022-viewport#25 is that:
- The term “the viewport” is a term that is specced in the CSS2 spec
- The term “the viewport” can be confusing as there are several viewports (e.g. the visual viewport)
- The term “layout viewport” is often as an alternative, but the term is not really defined
- Defining the term “layout viewport” could be an option, but its name not indicative of what it does. It’s more of a “position fixed viewport“, while the ICB actually affects layout.
During the discussions we wondered if the term “layout viewport” could be deprecated and/or if we could come up with a better name than just “the viewport”.
Some alternative terms that were suggested in the original issue:
- document viewport
- scroll viewport
- frame viewport
- canvas viewport
- main viewport
- root viewport