[Webkit-unassigned] [Bug 133818] Web Inspector: Selected DOM element highlights invisible near bottom of the viewport (topContentInset?)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 1 12:18:21 PDT 2014


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





--- Comment #11 from Beth Dakin <bdakin at apple.com>  2014-07-01 12:18:36 PST ---
> Going with these versions I end up with slightly smaller rects, and the highlights do get clipped:
> 
> (lldb) p viewportSize // unobscuredContentRect
> (WebCore::IntSize) $16 = (m_width = 1218, m_height = 669)
> (lldb) p viewportSize1// visible + topContentInset
> (WebCore::IntSize) $17 = (m_width = 1218, m_height = 707)
> 
> (lldb) p frameViewFullSize // unobscuredContentRect(ScrollableArea::IncludeScrollbars)
> (WebCore::IntSize) $18 = (m_width = 1218, m_height = 669)
> (lldb) p frameViewFullSize1 // visibleWithScrollbars + topContentInset
> (WebCore::IntSize) $19 = (m_width = 1218, m_height = 707)
> 
> Is there something else that I may be missing?

Oh jeez, the state of these functions is such a mess right now. Try: 

unscaledUnobscuredVisibleContentSize()
and
unscaledUnobscuredVisibleContentSize((ScrollableArea::IncludeScrollbars)

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