Bug 160789 - Web Inspector: DOM nodes shift when hovering over them in Console
Summary: Web Inspector: DOM nodes shift when hovering over them in Console
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nikita Vasilyev
URL:
Keywords: GoodFirstBug, InRadar
Depends on:
Blocks:
 
Reported: 2016-08-11 17:26 PDT by Nikita Vasilyev
Modified: 2016-08-16 12:58 PDT (History)
7 users (show)

See Also:


Attachments
[Animated GIF] Bug (100.77 KB, image/gif)
2016-08-11 17:26 PDT, Nikita Vasilyev
no flags Details
Patch (1.20 KB, patch)
2016-08-15 16:11 PDT, Nikita Vasilyev
no flags Details | Formatted Diff | Diff
[Animated GIF] With patch applied (152.19 KB, image/gif)
2016-08-15 16:15 PDT, Nikita Vasilyev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Vasilyev 2016-08-11 17:26:58 PDT
Created attachment 285872 [details]
[Animated GIF] Bug

Steps:
1. Enter "document.body" in the Console.
2. Expand <body>.
3. Hover over <body>.

Actual:
body's children shift two pixels right.

Expected:
body's children stay still.

Notes:
This may have regressed when the nesting level indicator was introduced.
Comment 1 Radar WebKit Bug Importer 2016-08-11 17:27:41 PDT
<rdar://problem/27815600>
Comment 2 Nikita Vasilyev 2016-08-15 16:11:57 PDT
Created attachment 286110 [details]
Patch
Comment 3 Nikita Vasilyev 2016-08-15 16:15:25 PDT
Created attachment 286111 [details]
[Animated GIF] With patch applied
Comment 4 Matt Baker 2016-08-15 17:55:16 PDT
Comment on attachment 286110 [details]
Patch

r=me

-webkit-padding-start was added in https://bugs.webkit.org/show_bug.cgi?id=142159. Will this change affect any other console messages? I checked and didn't see anything.
Comment 5 Nikita Vasilyev 2016-08-16 12:09:40 PDT
(In reply to comment #4)
> Comment on attachment 286110 [details]
> Patch
> 
> r=me
> 
> -webkit-padding-start was added in
> https://bugs.webkit.org/show_bug.cgi?id=142159. Will this change affect any
> other console messages? I checked and didn't see anything.

Same here, I didn't see any regressions.
Comment 6 WebKit Commit Bot 2016-08-16 12:58:38 PDT
Comment on attachment 286110 [details]
Patch

Clearing flags on attachment: 286110

Committed r204520: <http://trac.webkit.org/changeset/204520>
Comment 7 WebKit Commit Bot 2016-08-16 12:58:42 PDT
All reviewed patches have been landed.  Closing bug.