RESOLVED FIXED 238912
Adjust and refactor some UA styles and logic for injecting Live Text
https://bugs.webkit.org/show_bug.cgi?id=238912
Summary Adjust and refactor some UA styles and logic for injecting Live Text
Wenson Hsieh
Reported 2022-04-06 16:58:51 PDT
Attachments
Patch (13.27 KB, patch)
2022-04-06 18:01 PDT, Wenson Hsieh
akeerthi: review+
ews-feeder: commit-queue-
Patch for landing (13.37 KB, patch)
2022-04-07 07:53 PDT, Wenson Hsieh
no flags
Wenson Hsieh
Comment 1 2022-04-06 18:01:25 PDT
Aditya Keerthi
Comment 2 2022-04-06 20:30:19 PDT
Comment on attachment 456879 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=456879&action=review > Source/WebCore/dom/ImageOverlay.cpp:445 > + if (lines.size() > 2) Nit: Named constant?
Wenson Hsieh
Comment 3 2022-04-07 07:52:36 PDT
Comment on attachment 456879 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=456879&action=review Thanks for the review! >> Source/WebCore/dom/ImageOverlay.cpp:445 >> + if (lines.size() > 2) > > Nit: Named constant? Makes sense — I'll change this to use `constexpr auto maxLineCountForCenterAlignedText = 2;`
Wenson Hsieh
Comment 4 2022-04-07 07:53:55 PDT
Created attachment 456924 [details] Patch for landing
EWS
Comment 5 2022-04-07 10:23:21 PDT
Committed r292543 (249381@main): <https://commits.webkit.org/249381@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 456924 [details].
Note You need to log in before you can comment on or make changes to this bug.