Fix percent height calc for svg docs.
Previously, percent-height svg elements in a pure-svg doc would get their size based on the LayoutView's logical height from the previous layout pass. In practice, this didn't show up much because FrameView always does at least one extra initial layout pass to add and then subtract scrollbars. The extra layout pass would cause the percent height descendants to get the right size. Setting overlay scrollbars on the FrameView eliminates the extra layout passes and allows the bug to manifest. Review-Url: https://codereview.chromium.org/2835153002 Cr-Commit-Position: refs/heads/master@{#469327}
Showing
Please register or sign in to comment