| Summary: | Fix typo in StyleSharingResolver | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> | ||||||||||||||
| Component: | CSS | Assignee: | Tim Nguyen (:ntim) <ntim> | ||||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||||
| Severity: | Normal | CC: | darin, koivisto, webkit-bug-importer | ||||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||
| OS: | Unspecified | ||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
Tim Nguyen (:ntim)
2022-02-26 08:10:44 PST
Created attachment 453372 [details]
Patch
Comment on attachment 453372 [details]
Patch
test would be nice
Comment on attachment 453372 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=453372&action=review > Source/WebCore/ChangeLog:9 > + The typo was introduced in bug 153768 and bug 138769. This essentially disables > + style sharing completely for many elements which isn't great. I think it only really affected form controls. Another option would be to disable it more robustly as it is probably not a super valuable optimization. I'd like to eliminate style sharing completely at some point as it doesn't work well with things like :has() and container queries. Created attachment 453386 [details]
Patch
Created attachment 453412 [details]
Patch
Created attachment 453416 [details]
Patch
Comment on attachment 453416 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=453416&action=review > Source/WebCore/ChangeLog:3 > + Explicitely disable style sharing for form controls Spelling error here "Explicitly". > Source/WebCore/ChangeLog:6 > + Reviewed by Antti Koivisto. If this is already reviewed, then I guess I won’t. Antti does seem like the best reviewer for a style sharing change. Created attachment 453438 [details]
Patch
Created attachment 453441 [details]
[fast-cq] Patch
Committed r290640 (247913@main): <https://commits.webkit.org/247913@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 453441 [details]. |