[Webkit-unassigned] [Bug 200640] New: closing tab bar created by target=_blank does not recalculate viewport height

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 12 12:23:02 PDT 2019


            Bug ID: 200640
           Summary: closing tab bar created by target=_blank does not
                    recalculate viewport height
           Product: WebKit
           Version: Safari 12
          Hardware: Macintosh
                OS: macOS 10.13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: shortsands.ceo at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Safari/605.1.15"

main piece of content has a min-height: 100vh;

When opening up another tab manually, the view port height shrinks because the tab bar takes up some space. When the recently opened tab is closed, the tab bar disappears and the view port height expands naturally.  The content height expands to fill the expanded view port.

When clicking on an <a> tag with target="_blank", the tab bar appears because a new tab is there.  When closing the tab the view port height expands normally but the content height is not recalculated and a white space, the size of the former tab bar exists under the content.

Loom video: https://www.loom.com/share/3e942cc998ca422eaee9f6cc6eb0f2f4

password: webkit

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190812/0c265b0c/attachment.html>

More information about the webkit-unassigned mailing list