WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
199718
[Text autosizing] Do not nuke the style on dynamicViewportSizeUpdate
https://bugs.webkit.org/show_bug.cgi?id=199718
Summary
[Text autosizing] Do not nuke the style on dynamicViewportSizeUpdate
alan
Reported
2019-07-11 12:41:03 PDT
<
rdar://problem/51900666
>
Attachments
Patch
(14.21 KB, patch)
2019-07-11 12:43 PDT
,
alan
no flags
Details
Formatted Diff
Diff
Patch
(19.72 KB, patch)
2019-07-19 14:24 PDT
,
alan
no flags
Details
Formatted Diff
Diff
Patch
(18.12 KB, patch)
2019-07-19 15:07 PDT
,
alan
no flags
Details
Formatted Diff
Diff
Patch
(18.15 KB, patch)
2019-07-20 05:52 PDT
,
alan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
alan
Comment 1
2019-07-11 12:43:37 PDT
Created
attachment 373938
[details]
Patch
alan
Comment 2
2019-07-19 14:24:27 PDT
Created
attachment 374495
[details]
Patch
alan
Comment 3
2019-07-19 15:07:44 PDT
Created
attachment 374501
[details]
Patch
Simon Fraser (smfr)
Comment 4
2019-07-19 15:43:16 PDT
Comment on
attachment 374501
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=374501&action=review
> Source/WebCore/page/Page.cpp:3014 > +void Page::invalidateTextAutoSizeInAllFrames()
recomputeTextAutoSizingInAllFrames
> Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:3362 > + const Seconds defaultTextAutoSizingDelayOnViewportChange = 80_ms; > + auto textAutoSizingDelayOnViewportChange = defaultTextAutoSizingDelayOnViewportChange; > + if (willBeVisuallyNonEmptySoon) { > + // Be a bit more agressive on the first display. > + const Seconds shortTextAutoSizingDelayOnViewportChange = 20_ms; > + textAutoSizingDelayOnViewportChange = shortTextAutoSizingDelayOnViewportChange; > + } else if (!isVisaullyNonEmpty) { > + // We don't anticipate any paining after the next upcoming layout. > + const Seconds longTextAutoSizingDelayOnViewportChange = 100_ms; > + textAutoSizingDelayOnViewportChange = longTextAutoSizingDelayOnViewportChange; > + > + }
Maybe wrap in a lambda
alan
Comment 5
2019-07-20 05:48:23 PDT
<
rdar://problem/53344961
>
alan
Comment 6
2019-07-20 05:52:19 PDT
Created
attachment 374547
[details]
Patch
WebKit Commit Bot
Comment 7
2019-07-20 06:47:19 PDT
Comment on
attachment 374547
[details]
Patch Clearing flags on attachment: 374547 Committed
r247667
: <
https://trac.webkit.org/changeset/247667
>
WebKit Commit Bot
Comment 8
2019-07-20 06:47:20 PDT
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