Bug 237224 - add a mechanism to request a UA shadow tree update before styling
Summary: add a mechanism to request a UA shadow tree update before styling
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Cameron McCormack (:heycam)
URL:
Keywords: InRadar
Depends on:
Blocks: 236747
  Show dependency treegraph
 
Reported: 2022-02-25 13:46 PST by Cameron McCormack (:heycam)
Modified: 2022-02-27 17:17 PST (History)
16 users (show)

See Also:


Attachments
Patch (11.77 KB, patch)
2022-02-25 13:49 PST, Cameron McCormack (:heycam)
no flags Details | Formatted Diff | Diff
Patch for bug 236747 with dependencies for EWS (54.83 KB, patch)
2022-02-25 13:57 PST, Cameron McCormack (:heycam)
no flags Details | Formatted Diff | Diff
Patch (43.51 KB, patch)
2022-02-25 13:58 PST, Cameron McCormack (:heycam)
no flags Details | Formatted Diff | Diff
Patch (11.78 KB, patch)
2022-02-26 14:03 PST, Cameron McCormack (:heycam)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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].