In ScrollbarThemeMac::paint() the following code can result in value being NaN, which is not great: else { // Within the bounds of the scrollable area. value = scrollbar->currentPos() / scrollbar->maximum(); } Patch forthcoming. <rdar://problem/9160621>
Created attachment 86561 [details] Patch
Comment on attachment 86561 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=86561&action=review > Source/WebCore/platform/mac/ScrollbarThemeMac.mm:445 > + if (max > 0) > + value = scrollbar->currentPos() / max; I think the whole word maximum here would be better.
Fixed with revision 81745. Thanks, Sam!