Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 04ccfdd4d02715cc3ba29d55334a1d9215241ab9
      
https://github.com/WebKit/WebKit/commit/04ccfdd4d02715cc3ba29d55334a1d9215241ab9
  Author: Devin Rousso <[email protected]>
  Date:   2026-10-13 (Tue, 13 Oct 2026)

  Changed paths:
    M LayoutTests/inspector/css/setGroupingHeaderText-expected.txt
    M LayoutTests/inspector/css/setGroupingHeaderText.html
    M Source/WebInspectorUI/UserInterface/Models/CSSGrouping.js
    M Source/WebInspectorUI/UserInterface/Models/DOMNodeStyles.js

  Log Message:
  -----------
  Web Inspector: Elements: refresh styles after failing to edit a CSS grouping
https://bugs.webkit.org/show_bug.cgi?id=327367

Reviewed by Timothy Hatcher.

A rejected CSS grouping header edit leaves the next stylesheet change marked to 
be ignored.
Undo restores the inspected page but leaves the displayed declaration unchanged.

Clear the ignored stylesheet when the grouping edit finishes, including when 
the backend rejects it.

* Source/WebInspectorUI/UserInterface/Models/CSSGrouping.js:
(WI.CSSGrouping.prototype.async setText):
* Source/WebInspectorUI/UserInterface/Models/DOMNodeStyles.js:
(WI.DOMNodeStyles.prototype.changeRuleSelector.ruleSelectorChanged):

* LayoutTests/inspector/css/setGroupingHeaderText.html:
* LayoutTests/inspector/css/setGroupingHeaderText-expected.txt:

Canonical link: https://commits.webkit.org/323616@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to