Loading
Bug 1718384 - Don't unnecessarily use viewport units in #fullscreen-and-pointerlock-wrapper. r=Gijs
This is the only usage of viewport units in the whole browser window and we could live without it trivially. It avoids otherwise-unnecessary style invalidation. In the cloned bug I've improved the style system so that we do a lot less work, but we still need to do a full DOM walk. Instead let's use percentages, which only need re-layout, not restyle (viewport units compute to a pixel value, percentages compute to themselves). Differential Revision: https://phabricator.services.mozilla.com/D118879