Changeset 80840 in webkit
- Timestamp:
- Mar 11, 2011 3:23:02 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r80839 r80840 1 2011-03-11 Alexander Pavlov <apavlov@chromium.org> 2 3 Reviewed by Yury Semikhatsky. 4 5 Web Inspector: hover over elements in Elements panel does not highlight nodes 6 https://bugs.webkit.org/show_bug.cgi?id=56121 7 8 In DOM trees with a comment and/or doctype preceding the HTML tag, the tree container right boundary 9 is 16px apart from the OL right boundary, and we miss the relevant LI by 4px. The fix is to compensate 10 for these 16px when computing the test point coordinates. 11 12 * inspector/front-end/ElementsTreeOutline.js: 13 (WebInspector.ElementsTreeOutline.prototype._treeElementFromEvent): 14 1 15 2011-03-11 Yury Semikhatsky <yurys@chromium.org> 2 16 -
trunk/Source/WebCore/inspector/front-end/ElementsTreeOutline.js
r80713 r80840 194 194 // In the no-word-wrap mode the outer <ol> may be wider than the tree container 195 195 // (and partially hidden), in which case we are left to use only its right boundary. 196 var x = scrollContainer.totalOffsetLeft + scrollContainer.offsetWidth - 20;196 var x = scrollContainer.totalOffsetLeft + scrollContainer.offsetWidth - 36; 197 197 198 198 var y = event.pageY;
Note: See TracChangeset
for help on using the changeset viewer.