Changeset 170665 in webkit
- Timestamp:
- Jul 1, 2014, 2:12:08 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
inspector/InspectorOverlay.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r170661 r170665 1 2014-07-01 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Selected DOM element highlights invisible near bottom of the viewport (topContentInset?) 4 https://bugs.webkit.org/show_bug.cgi?id=133818 5 6 Reviewed by Beth Dakin. 7 8 * inspector/InspectorOverlay.cpp: 9 (WebCore::InspectorOverlay::update): 10 Take the topContentInset into account when sizing the InspectorOverlay's FrameView. 11 1 12 2014-07-01 Chris Fleizach <cfleizach@apple.com> 2 13 -
trunk/Source/WebCore/inspector/InspectorOverlay.cpp
r170406 r170665 64 64 namespace WebCore { 65 65 66 namespace { 67 68 Path quadToPath(const FloatQuad& quad) 66 static Path quadToPath(const FloatQuad& quad) 69 67 { 70 68 Path quadPath; … … 77 75 } 78 76 79 void drawOutlinedQuad(GraphicsContext* context, const FloatQuad& quad, const Color& fillColor, const Color& outlineColor)77 static void drawOutlinedQuad(GraphicsContext* context, const FloatQuad& quad, const Color& fillColor, const Color& outlineColor) 80 78 { 81 79 static const int outlineThickness = 2; … … 238 236 } 239 237 240 } // anonymous namespace241 242 238 InspectorOverlay::InspectorOverlay(Page& page, InspectorClient* client) 243 239 : m_page(page) … … 349 345 350 346 FrameView* overlayView = overlayPage()->mainFrame().view(); 351 IntSize viewportSize = view-> visibleContentRect().size();352 IntSize frameViewFullSize = view-> visibleContentRectIncludingScrollbars().size();347 IntSize viewportSize = view->unscaledTotalVisibleContentSize(); 348 IntSize frameViewFullSize = view->unscaledTotalVisibleContentSize(ScrollableArea::IncludeScrollbars); 353 349 overlayPage()->setPageScaleFactor(m_page.pageScaleFactor(), IntPoint()); 354 350 frameViewFullSize.scale(m_page.pageScaleFactor());
Note:
See TracChangeset
for help on using the changeset viewer.