Podcast
Questions and Answers
What units are assigned to the new viewports?
What units are assigned to the new viewports?
lvw, lvh, lvi, lvb, lvmin, and lvmax for the large viewport, and svw, svh, svi, svb, svmin, and svmax for the small viewport.
How does the size of the viewport-percentage units remain fixed?
How does the size of the viewport-percentage units remain fixed?
The sizes of these viewport-percentage units remain fixed unless the viewport itself is resized.
How does the size of the dynamic viewport adapt to the presence or absence of dynamic toolbars?
How does the size of the dynamic viewport adapt to the presence or absence of dynamic toolbars?
When the dynamic toolbars are expanded, the dynamic viewport is equal to the size of the small viewport. When the dynamic toolbars are retracted, the dynamic viewport is equal to the size of the large viewport.
Study Notes
- The new viewports have units assigned to them: lvw, lvh, lvi, lvb, lvmin, and lvmax for the large viewport, and svw, svh, svi, svb, svmin, and svmax for the small viewport.
- The sizes of these viewport-percentage units are fixed (and therefore stable) unless the viewport itself is resized.
- The large viewport is sized assuming any UA interfaces that are dynamically expanded and retracted to be retracted. The small viewport is sized assuming any UA interfaces that are dynamically expanded and retracted to be expanded.
- The dynamic viewport has a size that adapts to the presence or absence of dynamic toolbars. When the dynamic toolbars are expanded, the dynamic viewport is equal to the size of the small viewport. When the dynamic toolbars are retracted, the dynamic viewport is equal to the size of the large viewport.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
Test your knowledge of viewport-percentage units with this quiz! Learn about the different units like lvw, lvh, lvi, lvb, svw, svh, svi, svb, and how they are sized based on the presence of dynamic toolbars and UA interfaces.