WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
204412
[LFC][IFC] Cache InlinteTextItem width when possible
https://bugs.webkit.org/show_bug.cgi?id=204412
Summary
[LFC][IFC] Cache InlinteTextItem width when possible
alan
Reported
2019-11-20 07:43:41 PST
so that subsequent inline layouts don't need to keep remeasuring the text width (I know width-cache helps a bit but still).
Attachments
Patch
(10.01 KB, patch)
2019-11-20 07:49 PST
,
alan
no flags
Details
Formatted Diff
Diff
Patch
(10.01 KB, patch)
2019-11-20 10:13 PST
,
alan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-11-20 07:44:33 PST
<
rdar://problem/57359366
>
alan
Comment 2
2019-11-20 07:49:27 PST
Created
attachment 383965
[details]
Patch
Antti Koivisto
Comment 3
2019-11-20 09:50:43 PST
Comment on
attachment 383965
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=383965&action=review
> Source/WebCore/layout/inlineformatting/InlineTextItem.cpp:93 > + auto inlineItemWidth = [&] (auto startPosition, auto length) -> Optional<LayoutUnit> {
"[](#spacing-lambda-paren) Do not place spaces between square brackets and parentheses of a lambda function but do place a space before braces." You r+'d it!
alan
Comment 4
2019-11-20 09:55:10 PST
(In reply to Antti Koivisto from
comment #3
)
> Comment on
attachment 383965
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=383965&action=review
> > > Source/WebCore/layout/inlineformatting/InlineTextItem.cpp:93 > > + auto inlineItemWidth = [&] (auto startPosition, auto length) -> Optional<LayoutUnit> { > > "[](#spacing-lambda-paren) Do not place spaces between square brackets and > parentheses of a lambda function but do place a space before braces." > > You r+'d it!
must have been one of those 3am reviews.
alan
Comment 5
2019-11-20 10:13:58 PST
Created
attachment 383970
[details]
Patch
WebKit Commit Bot
Comment 6
2019-11-20 10:57:06 PST
Comment on
attachment 383970
[details]
Patch Clearing flags on attachment: 383970 Committed
r252696
: <
https://trac.webkit.org/changeset/252696
>
WebKit Commit Bot
Comment 7
2019-11-20 10:57:08 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug