Changeset 83865 in webkit
- Timestamp:
- Apr 14, 2011 9:47:34 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r83864 r83865 1 2011-04-14 Alexander Pavlov <apavlov@chromium.org> 2 3 Reviewed by Pavel Feldman. 4 5 Web Inspector: Content area highlight does not cover scrollbars 6 https://bugs.webkit.org/show_bug.cgi?id=58528 7 8 * inspector/DOMNodeHighlighter.cpp: 9 (WebCore::DOMNodeHighlighter::DrawNodeHighlight): 10 1 11 2011-04-14 Pavel Podivilov <podivilov@chromium.org> 2 12 -
trunk/Source/WebCore/inspector/DOMNodeHighlighter.cpp
r81784 r83865 244 244 RenderBox* renderBox = toRenderBox(renderer); 245 245 246 // RenderBox returns the "pure" content area box, exclusive of the scrollbars (if present), which also count towards the content area in CSS. 246 247 IntRect contentBox = renderBox->contentBoxRect(); 248 contentBox.setWidth(contentBox.width() + renderBox->verticalScrollbarWidth()); 249 contentBox.setHeight(contentBox.height() + renderBox->horizontalScrollbarHeight()); 247 250 248 251 IntRect paddingBox(contentBox.x() - renderBox->paddingLeft(), contentBox.y() - renderBox->paddingTop(),
Note: See TracChangeset
for help on using the changeset viewer.