Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: aeccc1a965fcd8cd5c69eaa7ea1532fad549cba6
      
https://github.com/WebKit/WebKit/commit/aeccc1a965fcd8cd5c69eaa7ea1532fad549cba6
  Author: Devin Rousso <[email protected]>
  Date:   2026-06-29 (Mon, 29 Jun 2026)

  Changed paths:
    M LayoutTests/inspector/css/getMatchedStylesForNodeBackdropPseudoId.html
    M LayoutTests/inspector/css/getMatchedStylesForNodeMarkerPseudoId.html
    M 
LayoutTests/inspector/css/getMatchedStylesForNodeViewTransitionPseudoElements.html
    M Source/WebInspectorUI/UserInterface/Models/DOMNodeStyles.js
    M 
Source/WebInspectorUI/UserInterface/Views/SpreadsheetRulesStyleDetailsPanel.js

  Log Message:
  -----------
  Uncaught Exception: TypeError: undefined is not an object (evaluating 'style 
of orderedStyles')
https://bugs.webkit.org/show_bug.cgi?id=289172
<rdar://problem/146863680>

Reviewed by Qianlang Chen.

There's no reason to delay calculating the ordering of pseudo-element styles 
until after inline styles are fetched.

* Source/WebInspectorUI/UserInterface/Models/DOMNodeStyles.js:
(WI.DOMNodeStyles.prototype.refresh.fetchedMatchedStyles):
(WI.DOMNodeStyles.prototype._updateStyleCascade):

* 
Source/WebInspectorUI/UserInterface/Views/SpreadsheetRulesStyleDetailsPanel.js:
(WI.SpreadsheetRulesStyleDetailsPanel.prototype.layout):

* LayoutTests/inspector/css/getMatchedStylesForNodeBackdropPseudoId.html:
* LayoutTests/inspector/css/getMatchedStylesForNodeMarkerPseudoId.html:
* 
LayoutTests/inspector/css/getMatchedStylesForNodeViewTransitionPseudoElements.html:

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



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

Reply via email to