Bug 162525 - Web Inspector: Box Model values not updated when DOM node styles change
Summary: Web Inspector: Box Model values not updated when DOM node styles change
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: Matt Baker
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-09-23 17:37 PDT by Matt Baker
Modified: 2016-09-26 17:09 PDT (History)
7 users (show)

See Also:


Attachments
Patch (10.22 KB, patch)
2016-09-23 17:44 PDT, Matt Baker
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Baker 2016-09-23 17:37:10 PDT
Summary:
Box Model values not updated when DOM node styles change. This is due to the change notification not being forwarded to the Box Model section by its parent sidebar.

Steps to Reproduce:
1. Inspect any DOM element
2. Elements tab > Styles sidebar > Box Model
3. Change node's margin/border/padding properties from within the editor
  => DOM node is updated after committing changes in the editor, but Box Model is not
Comment 1 Matt Baker 2016-09-23 17:44:52 PDT
Created attachment 289726 [details]
Patch
Comment 2 Radar WebKit Bug Importer 2016-09-23 17:45:15 PDT
<rdar://problem/28458747>
Comment 3 BJ Burg 2016-09-26 16:47:44 PDT
Comment on attachment 289726 [details]
Patch

r=me
Comment 4 WebKit Commit Bot 2016-09-26 17:09:15 PDT
Comment on attachment 289726 [details]
Patch

Clearing flags on attachment: 289726

Committed r206406: <http://trac.webkit.org/changeset/206406>
Comment 5 WebKit Commit Bot 2016-09-26 17:09:19 PDT
All reviewed patches have been landed.  Closing bug.