[Webkit-unassigned] [Bug 35348] Web Inspector: Adding a style attribute via the Style panel doesn't update the DOM view

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 19 16:20:00 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=35348





--- Comment #3 from Joseph Pecoraro <joepeck at webkit.org>  2010-08-19 16:20:00 PST ---
(In reply to comment #1)
> What you are adding is css styles, not attributes.

Actually this bug refers to editing the "Style Attribute" section in
the Styles Sidebar. Those are connected to the DOM Element's
style="..." attribute. This is a special section that always exists
in the Styles Sidebar.

For an example:

  <div>
    <p>Text</p>
  </div>

  1. Select the <div>
  2. In the "element.style" section, add "color:red"
  -> at this point the div's style attribute is set. But the DOM wasn't updated!

If you close and reopen the inspector you will see the correct
styles in DOM:

  <div style="color:red">
    <p>Text</p>
  </div>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list