Bug 237224

Summary: add a mechanism to request a UA shadow tree update before styling
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: DOMAssignee: Cameron McCormack (:heycam) <heycam>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, changseok, cmarcelo, dino, esprehn+autocc, ews-watchlist, fmalita, gyuyoung.kim, kangil.han, koivisto, mifenton, pdr, sabouhallawa, schenney, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 236747    
Attachments:
Description Flags
Patch
none
Patch for bug 236747 with dependencies for EWS
none
Patch
none
Patch none

Description Cameron McCormack (:heycam) 2022-02-25 13:46:15 PST
SVG <use> elements register themselves with the document when their shadow tree contents need updating, and this updating is done in Document::resolveStyle.  For lazy HTML <input> element UA shadow trees (in bug 236747) we need something similar.
Comment 1 Cameron McCormack (:heycam) 2022-02-25 13:49:15 PST
Created attachment 453254 [details]
Patch
Comment 2 Cameron McCormack (:heycam) 2022-02-25 13:57:29 PST
Created attachment 453257 [details]
Patch for bug 236747 with dependencies for EWS
Comment 3 Cameron McCormack (:heycam) 2022-02-25 13:58:20 PST
Created attachment 453258 [details]
Patch
Comment 4 Cameron McCormack (:heycam) 2022-02-25 14:47:07 PST
Comment on attachment 453257 [details]
Patch for bug 236747 with dependencies for EWS

(Attached this to the wrong bug, but I don't want to cancel the EWS jobs, so leaving it here for now.)
Comment 5 Cameron McCormack (:heycam) 2022-02-26 14:03:33 PST
Created attachment 453309 [details]
Patch
Comment 6 Radar WebKit Bug Importer 2022-02-26 14:08:18 PST
<rdar://problem/89517318>
Comment 7 EWS 2022-02-27 17:17:24 PST
Committed r290574 (247852@main): <https://commits.webkit.org/247852@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 453309 [details].