[Webkit-unassigned] [Bug 47611] New: min-height when zooming-in/zooming-out reports a different result

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 13 12:24:17 PDT 2010


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

           Summary: min-height when zooming-in/zooming-out reports a
                    different result
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://hustoknow.blogspot.com/2010/10/chrome-and-jquer
                    y-ui-min-height-issue.html
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rhu at hearsaylabs.com


Inside Chrome, when setting a <div> tag with min-height = 1000px and then adjusting the page-zoom level, the offsetHeight/clientHeight report 1-2 px less than the min-height:

100% scale: 
document.getElementById('box').offsetHeight

Returns: 1000

83% scale:
document.getElementById('box').offsetHeight

Returns: 999

69% scale:
document.getElementById('box').offsetHeight

57% scale:

document.getElementById('box').offsetHeight

Returns: 998

This issue affects the JQuery UI, which depends on a fixed pixel width to determine whether the browser can support the min-height property.

-- 
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