Bug 222536

Summary: Remove added element from Style::Update root set
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch none

Description Antti Koivisto 2021-02-28 22:05:23 PST
With combined text and element updates an element might already exist in the root set when added. Remove it from the root set to avoid updating it twice.
Comment 1 Antti Koivisto 2021-02-28 22:19:43 PST
Created attachment 421788 [details]
patch
Comment 2 EWS 2021-03-01 12:37:53 PST
Committed r273680: <https://commits.webkit.org/r273680>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 421788 [details].
Comment 3 Radar WebKit Bug Importer 2021-03-01 12:38:14 PST
<rdar://problem/74884875>