[Webkit-unassigned] [Bug 11993] New: REGRESSION: Web Inspector scroll bars not drawn

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 27 00:57:14 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=11993

           Summary: REGRESSION: Web Inspector scroll bars not drawn
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: Regression
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pewtermoose at gmail.com


The Javascript error changes in r18320 caused the web inspector's scroll bars
to not draw and spew DOM Exception 12 errors in the console.

>From what I can tell, this was caused by AppleVerticalScrollbar's
computeTrackLength method sometimes returning NaN which totally throws off all
the calculations based on that and it eventually trys to set NaN as the scroll
bar height in the _setObjectLength method (which WebKit didn't care about
before the change).

My patch overrides the _setObjectLength method and checks if length is a number
before setting it which fixes it (on Tiger at least, don't know about what
changes have been made to this on Leopard, though I doubt this breaks
anything).


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



More information about the webkit-unassigned mailing list