Scenario 1: 1. Go to a page with an overflow:auto div. (I did it in w3schools tryit editor). 2. Open developer tools. 3. Browse to the DOM element in developer tools, look at the highlight on the web page. The highlight does not cover the scrollbars (which also count towards the content area). Upstreaming http://code.google.com/p/chromium/issues/detail?id=51314 Scenario 2: 1. Visit example URL (http://jsfiddle.net/54fAZ/) 2. Inspect the div in the result box, and open the Metrics view. In the Elements/Metrics pane, the content box of the diagram is marked as 50x50 -- the content box is actually 10x10, the border box is 50x50. Upstreaming http://code.google.com/p/chromium/issues/detail?id=78660
The Scenario 2 will be fixed as a separate issue.
Created attachment 89594 [details] [PATCH] Suggested fix
Comment on attachment 89594 [details] [PATCH] Suggested fix ChangeLog is missing.
Created attachment 89595 [details] [PATCH] With ChangeLog
Created attachment 89596 [details] [IMAGE] The fixed highlight screenshot
Committed r83865: <http://trac.webkit.org/changeset/83865>