Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Web Inspector: Network Tab: initiated resource should only be highlig…
…hted when a row is hovered https://bugs.webkit.org/show_bug.cgi?id=243866 Reviewed by Patrick Angle. * Source/WebInspectorUI/UserInterface/Views/NetworkTableContentView.js: (WI.NetworkTableContentView.prototype._highlightRelatedResourcesForHoveredResource): (WI.NetworkTableContentView.prototype._entryForResource): * Source/WebInspectorUI/UserInterface/Views/NetworkTableContentView.css: (.network-table.highlight-initiated > .table li:not(:hover, .selected, .initiated) .cell): Renamed from `body.shift-key-pressed .network-table > .table:hover li:not(:hover, .selected, .initiated) .cell`. (.network-table.highlight-initiated > .table li:not(:hover, .selected, .initiated) .cell > *): Renamed from `body.shift-key-pressed .network-table > .table:hover li:not(:hover, .selected, .initiated) .cell > *`. (.network-table.highlight-initiated > .table li.initiated .cell.name::after): Renamed from `body.shift-key-pressed .network-table > .table:hover li.initiated .cell.name::after`. Apply a CSS class manually instead of using the global `.shift-key-pressed`, as that is set whenever the shift key is pressed regardless of where the mouse is on the screen. Doing it manually means we can better control when it's set, such as only when there's a row underneath the cursor. This way, errant presses of the shift key won't suddenly cause the entire table to dim. Canonical link: https://commits.webkit.org/253476@main
- Loading branch information