RESOLVED FIXED221301
[LFC][IFC] Remove font.size() == 0 optimization in TextUtil::width
https://bugs.webkit.org/show_bug.cgi?id=221301
Summary [LFC][IFC] Remove font.size() == 0 optimization in TextUtil::width
alan
Reported 2021-02-02 15:31:06 PST
It does not work with tabs (e.g. tab-size property) and probably not much of a win either.
Attachments
Patch (1.75 KB, patch)
2021-02-02 15:32 PST, alan
no flags
alan
Comment 1 2021-02-02 15:32:56 PST
Simon Fraser (smfr)
Comment 2 2021-02-02 21:06:04 PST
Comment on attachment 419074 [details] Patch No test with tab-size?
alan
Comment 3 2021-02-03 06:44:29 PST
(In reply to Simon Fraser (smfr) from comment #2) > Comment on attachment 419074 [details] > Patch > > No test with tab-size? imported/w3c/web-platform-tests/css/css-text/white-space/white-space-zero-fontsize-002.html
EWS
Comment 4 2021-02-03 07:08:42 PST
commit-queue failed to commit attachment 419074 [details] to WebKit repository. To retry, please set cq+ flag again.
EWS
Comment 5 2021-02-03 07:34:21 PST
Committed r272314: <https://trac.webkit.org/changeset/272314> All reviewed patches have been landed. Closing bug and clearing flags on attachment 419074 [details].
Radar WebKit Bug Importer
Comment 6 2021-02-03 07:35:16 PST
Note You need to log in before you can comment on or make changes to this bug.