[webkit-reviews] review requested: [Bug 178489] Web Inspector: Styles Redesign: Editing selector should not hide the rule : [Attachment 358003] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 21 17:01:35 PST 2018


Devin Rousso <drousso at apple.com> has asked  for review:
Bug 178489: Web Inspector: Styles Redesign: Editing selector should not hide
the rule
https://bugs.webkit.org/show_bug.cgi?id=178489

Attachment 358003: Patch

https://bugs.webkit.org/attachment.cgi?id=358003&action=review




--- Comment #23 from Devin Rousso <drousso at apple.com> ---
Created attachment 358003

  --> https://bugs.webkit.org/attachment.cgi?id=358003&action=review

Patch

When a selector is changed back to something that applies to the current node,
`WI.DOMNodeStyles` will create a new `WI.CSSStyleDeclaration` for that style,
but the id will remain the same as the old style.  Don\'t add any sections if
there already exists a section that has the same id.


More information about the webkit-reviews mailing list