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

Issue 189113014: TextAutosizer: unlock multipliers on DOMContentLoaded. (Closed)

Created:
6 years, 9 months ago by timvolodine
Modified:
6 years, 9 months ago
Reviewers:
pdr., skobes
CC:
blink-reviews, zoltan1, dsinclair, sof, eae+blinkwatch, leviw+renderwatch, dglazkov+blink, adamk+blink_chromium.org, jchaffraix+rendering, Inactive, bemjb+rendering_chromium.org, rwlbuis, johnme, skobes
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

TextAutosizer: unlock multipliers on DOMContentLoaded. This patch unlocks the text autosizing multipliers when the document has finished parsing. This is necessary to avoid weird effects when layout changes significantly during page load. Resetting multipliers allows for a fresh autosizing pass to take into account the whole document. In particular this patch fixes issues with overlines on http://forum.xda-developers.com and partially addresses inconsistent font size on www.drudgereport.com (see referenced bugs for details). BUG=346786, 131566 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169572

Patch Set 1 #

Patch Set 2 : reupload #

Patch Set 3 : reupload #

Patch Set 4 : added test #

Patch Set 5 : similarity=90 #

Total comments: 3

Patch Set 6 : rebased #

Patch Set 7 : fix TestExpectations for virtual tests #

Patch Set 8 : Fix TestExpectation to ImageOnlyFailure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -8 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/fast/text-autosizing/unlock-multipliers-on-DOMContentLoaded.html View 1 2 3 1 chunk +51 lines, -0 lines 0 comments Download
A LayoutTests/fast/text-autosizing/unlock-multipliers-on-DOMContentLoaded-expected.html View 1 2 3 4 1 chunk +36 lines, -0 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/rendering/TextAutosizer.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/TextAutosizer.cpp View 1 2 3 4 5 6 2 chunks +13 lines, -8 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
timvolodine
6 years, 9 months ago (2014-03-11 17:43:29 UTC) #1
skobes
https://codereview.chromium.org/189113014/diff/90001/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/189113014/diff/90001/Source/core/dom/Document.cpp#newcode4431 Source/core/dom/Document.cpp:4431: // This is to allow for a fresh text ...
6 years, 9 months ago (2014-03-11 17:47:57 UTC) #2
timvolodine
https://codereview.chromium.org/189113014/diff/90001/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/189113014/diff/90001/Source/core/dom/Document.cpp#newcode4431 Source/core/dom/Document.cpp:4431: // This is to allow for a fresh text ...
6 years, 9 months ago (2014-03-11 17:57:04 UTC) #3
skobes
lgtm https://codereview.chromium.org/189113014/diff/90001/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/189113014/diff/90001/Source/core/dom/Document.cpp#newcode4431 Source/core/dom/Document.cpp:4431: // This is to allow for a fresh ...
6 years, 9 months ago (2014-03-11 19:30:21 UTC) #4
timvolodine
On 2014/03/11 19:30:21, skobes wrote: > lgtm > > https://codereview.chromium.org/189113014/diff/90001/Source/core/dom/Document.cpp > File Source/core/dom/Document.cpp (right): > ...
6 years, 9 months ago (2014-03-12 16:25:11 UTC) #5
timvolodine
Philip, could you have a look please? It's a release blocker so I want to ...
6 years, 9 months ago (2014-03-13 11:40:06 UTC) #6
timvolodine
On 2014/03/13 11:40:06, timvolodine wrote: > Philip, could you have a look please? > It's ...
6 years, 9 months ago (2014-03-17 15:51:14 UTC) #7
pdr.
On 2014/03/17 15:51:14, timvolodine wrote: > On 2014/03/13 11:40:06, timvolodine wrote: > > Philip, could ...
6 years, 9 months ago (2014-03-18 21:01:35 UTC) #8
pdr.
The CQ bit was checked by pdr@chromium.org
6 years, 9 months ago (2014-03-18 21:04:24 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timvolodine@chromium.org/189113014/90001
6 years, 9 months ago (2014-03-18 21:04:38 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 21:05:07 UTC) #11
commit-bot: I haz the power
Failed to apply patch for Source/core/rendering/TextAutosizer.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-18 21:05:08 UTC) #12
timvolodine
The CQ bit was checked by timvolodine@chromium.org
6 years, 9 months ago (2014-03-19 17:53:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timvolodine@chromium.org/189113014/150001
6 years, 9 months ago (2014-03-19 17:53:28 UTC) #14
commit-bot: I haz the power
6 years, 9 months ago (2014-03-19 18:50:30 UTC) #15
Message was sent while issue was closed.
Change committed as 169572

Powered by Google App Engine
This is Rietveld 408576698