[webkit-changes] [WebKit/WebKit] 63cd09: Web Inspector: Regression(261966 at main) Popovers ar...
Patrick Angle
noreply at github.com
Mon Apr 3 09:03:18 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 63cd0995822b54b725b9746dbd3c7e23f2ce81fb
https://github.com/WebKit/WebKit/commit/63cd0995822b54b725b9746dbd3c7e23f2ce81fb
Author: Patrick Angle <pangle at apple.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M Source/WebInspectorUI/UserInterface/Views/Popover.css
Log Message:
-----------
Web Inspector: Regression(261966 at main) Popovers are 2x the correct size on 2x displays
https://bugs.webkit.org/show_bug.cgi?id=254899
rdar://107539887
Reviewed by Devin Rousso.
The popover's background must explicitly be told to size itself to match the popover, otherwise it will be laid out at
the size defined by its width and height attribute which are used to determine the number of actual pixels the canvas
should have, while the number of screen points those pixels should fit in may be less than the number of pixels if a
display scale factor is present, like on a Retina display.
* Source/WebInspectorUI/UserInterface/Views/Popover.css:
(.popover > .background-canvas):
Canonical link: https://commits.webkit.org/262510@main
More information about the webkit-changes
mailing list