[Webkit-unassigned] [Bug 66587] New: Consider using the view's host window's backing scale factor when the view is not in a window

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 19 14:06:59 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=66587

           Summary: Consider using the view's host window's backing scale
                    factor when the view is not in a window
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.7
            Status: NEW
          Keywords: PlatformOnly
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aroben at apple.com
                CC: sam at webkit.org, simon.fraser at apple.com,
                    webkit-bug-importer at group.apple.com


Bug 66564 is about what WebKit's behavior should be wrt. the device scale factor when the WebView/WKView isn't in a window. One special case of this is when the view isn't in a window but it does have a host window. In that case, we could choose to use the backing scale factor of the host window. This would have the advantage of having window.devicePixelRatio return the same value for all tabs in a Safari window. (Background tabs have a host window but aren't in a window.)

The only reason I can think of why we wouldn't want to do this is because it would mean we wouldn't match AppKit's idea of the view's scale factor, and it's possible that could cause problems. But maybe it won't!

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list