Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(628)

Issue 2817443003: Fix font-size shaking issue in some pages (Closed)

Created:
3 years, 8 months ago by cathiechentx
Modified:
3 years, 6 months ago
Reviewers:
pdr., skobes, Wei Xiaohai
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix font-size shaking issue in some page In some page content is autosized based on multiplier of LayoutView. In order to make the multiplier of LayoutView more steady, use LayoutView itself as widthProvider instead of finding deepestBlockContainingAllText. BUG=452709 Review-Url: https://codereview.chromium.org/2817443003 Cr-Commit-Position: refs/heads/master@{#477198} Committed: https://chromium.googlesource.com/chromium/src/+/47f9b0ff7d4594f6633956ac570966439b4d5125

Patch Set 1 #

Total comments: 1

Patch Set 2 : update comment #

Patch Set 3 : rebase #

Patch Set 4 : layout test failed #

Total comments: 3

Patch Set 5 : rebaseline layout-after-append.html #

Total comments: 7

Patch Set 6 : fix font-size shaking issue only #

Total comments: 5

Patch Set 7 : remove root check #

Patch Set 8 : update code and remove TestExpectations rebaseline #

Patch Set 9 : rebase layout-after-append.html #

Messages

Total messages: 43 (20 generated)
cathiechentx
3 years, 8 months ago (2017-04-12 05:54:24 UTC) #4
pdr.
This change special-cases the LayoutView but isn't there still an issue with multipliers changing? Do ...
3 years, 8 months ago (2017-04-12 17:55:33 UTC) #5
pdr.
On 2017/04/12 at 17:55:33, pdr. wrote: > This change special-cases the LayoutView but isn't there ...
3 years, 8 months ago (2017-04-12 18:20:21 UTC) #6
cathiechentx
On 2017/04/12 18:20:21, pdr. wrote: > On 2017/04/12 at 17:55:33, pdr. wrote: > > This ...
3 years, 8 months ago (2017-04-13 14:54:05 UTC) #7
pdr.
This patch needs a small rebase to apply on the bots. On 2017/04/13 at 14:54:05, ...
3 years, 8 months ago (2017-04-14 01:44:06 UTC) #12
cathiechentx
On 2017/04/14 01:44:06, pdr. wrote: > This patch needs a small rebase to apply on ...
3 years, 8 months ago (2017-04-14 04:45:57 UTC) #13
pdr.
On 2017/04/14 at 04:45:57, cathiechen wrote: > On 2017/04/14 01:44:06, pdr. wrote: > > This ...
3 years, 8 months ago (2017-04-14 19:55:16 UTC) #16
skobes
LGTM Thanks!
3 years, 8 months ago (2017-04-14 20:30:52 UTC) #17
cathiechentx
Failed these 3 cases... fast/text-autosizing/narrow-iframe.html (Done. Explained at code.) fast/text-autosizing/font-scale-factor-change.html (Done) fast/text-autosizing/layout-after-append.html (Need rebaseline, widthProvider ...
3 years, 8 months ago (2017-04-18 09:26:46 UTC) #22
pdr.
https://codereview.chromium.org/2817443003/diff/80001/third_party/WebKit/Source/core/layout/TextAutosizer.cpp File third_party/WebKit/Source/core/layout/TextAutosizer.cpp (right): https://codereview.chromium.org/2817443003/diff/80001/third_party/WebKit/Source/core/layout/TextAutosizer.cpp#newcode230 third_party/WebKit/Source/core/layout/TextAutosizer.cpp:230: return block->IsTable() || block->IsTableCell() || block->IsLayoutView(); I don't think ...
3 years, 8 months ago (2017-04-20 06:25:47 UTC) #25
cathiechentx
Sorry for the delay. I just come back from a trip:) https://codereview.chromium.org/2817443003/diff/80001/third_party/WebKit/Source/core/layout/TextAutosizer.cpp File third_party/WebKit/Source/core/layout/TextAutosizer.cpp (right): ...
3 years, 7 months ago (2017-04-27 10:51:43 UTC) #26
cathiechentx
I'm back to this issue;) Sorry for the delay again... In order to avoid unnecessary ...
3 years, 7 months ago (2017-05-25 11:36:39 UTC) #28
pdr.
@skobes, I have jury duty until June 2nd. Could you please review this?
3 years, 7 months ago (2017-05-26 02:47:09 UTC) #29
cathiechentx
We have a public holiday in next few days. I'll be back on June 1st:) ...
3 years, 7 months ago (2017-05-27 04:06:52 UTC) #30
skobes
It is not ideal to special-case the LayoutView - it sounds like a variation of ...
3 years, 6 months ago (2017-05-31 01:50:26 UTC) #31
cathiechentx
On 2017/05/31 01:50:26, skobes wrote: > It is not ideal to special-case the LayoutView - ...
3 years, 6 months ago (2017-06-01 15:36:27 UTC) #32
skobes
On 2017/06/01 15:36:27, cathiechentx wrote: > I couldn't start 'git cl try', need to be ...
3 years, 6 months ago (2017-06-02 02:07:17 UTC) #33
cathiechentx
On 2017/06/02 02:07:17, skobes wrote: > On 2017/06/01 15:36:27, cathiechentx wrote: > > I couldn't ...
3 years, 6 months ago (2017-06-02 12:16:29 UTC) #34
skobes
On 2017/06/02 12:16:29, cathiechentx wrote: > Thanks very much! > > This patch should be ...
3 years, 6 months ago (2017-06-02 23:59:30 UTC) #35
cathiechentx
On 2017/06/02 23:59:30, skobes wrote: > > Yes the others are passing now. :) You ...
3 years, 6 months ago (2017-06-05 07:54:48 UTC) #36
skobes
lgtm
3 years, 6 months ago (2017-06-05 17:03:38 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2817443003/160001
3 years, 6 months ago (2017-06-06 02:31:49 UTC) #40
commit-bot: I haz the power
3 years, 6 months ago (2017-06-06 04:51:58 UTC) #43
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/47f9b0ff7d4594f6633956ac5709...

Powered by Google App Engine
This is Rietveld 408576698