Bug 221301

Summary: [LFC][IFC] Remove font.size() == 0 optimization in TextUtil::width
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description zalan 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.
Comment 1 zalan 2021-02-02 15:32:56 PST
Created attachment 419074 [details]
Patch
Comment 2 Simon Fraser (smfr) 2021-02-02 21:06:04 PST
Comment on attachment 419074 [details]
Patch

No test with tab-size?
Comment 3 zalan 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
Comment 4 EWS 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.
Comment 5 EWS 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].
Comment 6 Radar WebKit Bug Importer 2021-02-03 07:35:16 PST
<rdar://problem/73931522>