Bug 306761

Summary: Web Inspector: uniqueOrderedStyles could be optimized
Product: WebKit Reporter: Anuj Panta <a_panta>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Anuj Panta
Reported 2026-02-02 05:03:13 PST
I noticed DOMNodeStyles.uniqueOrderedStyles() is using nested loops to dedupe CSS rules, which could get pretty slow on modern sites with lots of matching styles
Attachments
Radar WebKit Bug Importer
Comment 1 2026-02-02 05:03:19 PST
Anuj Panta
Comment 2 2026-02-02 05:41:04 PST
EWS
Comment 3 2026-02-02 22:34:59 PST
Committed 306687@main (6285cc0dc923): <https://commits.webkit.org/306687@main> Reviewed commits have been landed. Closing PR #57687 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.