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

Issue 208393008: Preserve autosizing multiplier on style recalc. (Closed)

Created:
6 years, 9 months ago by skobes
Modified:
6 years, 9 months ago
CC:
blink-reviews, sof, eae+blinkwatch, dglazkov+blink, adamk+blink_chromium.org, Inactive, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Preserve autosizing multiplier on style recalc. BUG=353309 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169961

Patch Set 1 #

Patch Set 2 : Move to StyleResolver. #

Patch Set 3 : Address review comments. #

Patch Set 4 : Add a test. #

Patch Set 5 : Fix clang build with missing header import. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -0 lines) Patch
M LayoutTests/TestExpectations View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/fast/text-autosizing/style-recalc-no-layout.html View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A LayoutTests/fast/text-autosizing/style-recalc-no-layout-expected.txt View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/css/resolver/StyleAdjuster.cpp View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (0 generated)
skobes
6 years, 9 months ago (2014-03-22 06:22:29 UTC) #1
esprehn
This isn't the correct place for this, the code should be in StyleResolver. To unsubscribe ...
6 years, 9 months ago (2014-03-22 07:46:26 UTC) #2
skobes
On 2014/03/22 07:46:26, esprehn wrote: > This isn't the correct place for this, the code ...
6 years, 9 months ago (2014-03-24 20:35:16 UTC) #3
esprehn
On 2014/03/24 20:35:16, skobes wrote: > On 2014/03/22 07:46:26, esprehn wrote: > > This isn't ...
6 years, 9 months ago (2014-03-25 01:22:21 UTC) #4
skobes
On 2014/03/25 01:22:21, esprehn wrote: > On 2014/03/24 20:35:16, skobes wrote: > > On 2014/03/22 ...
6 years, 9 months ago (2014-03-25 01:39:01 UTC) #5
esprehn
lgtm
6 years, 9 months ago (2014-03-25 02:54:27 UTC) #6
pdr.
On 2014/03/25 02:54:27, esprehn wrote: > lgtm Thanks for the detailed review esprehn. LGTM2
6 years, 9 months ago (2014-03-25 04:06:14 UTC) #7
pdr.
The CQ bit was checked by pdr@chromium.org
6 years, 9 months ago (2014-03-25 04:06:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skobes@chromium.org/208393008/60001
6 years, 9 months ago (2014-03-25 04:06:20 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-25 04:08:40 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on blink_presubmit
6 years, 9 months ago (2014-03-25 04:08:41 UTC) #11
skobes (do not use)
I want to add a test for this before I submit it. On Mon, Mar ...
6 years, 9 months ago (2014-03-25 04:13:11 UTC) #12
skobes
Added a test that verifies no relayout when setting color on an autosized element. Pseudo ...
6 years, 9 months ago (2014-03-25 06:57:03 UTC) #13
skobes
The CQ bit was checked by skobes@chromium.org
6 years, 9 months ago (2014-03-25 06:57:41 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skobes@chromium.org/208393008/70003
6 years, 9 months ago (2014-03-25 06:57:51 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-25 06:59:40 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_compile_dbg
6 years, 9 months ago (2014-03-25 06:59:40 UTC) #17
skobes
The CQ bit was checked by skobes@chromium.org
6 years, 9 months ago (2014-03-25 07:02:55 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skobes@chromium.org/208393008/70003
6 years, 9 months ago (2014-03-25 07:03:00 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-25 07:08:18 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_rel
6 years, 9 months ago (2014-03-25 07:08:18 UTC) #21
pdr.
On 2014/03/25 07:08:18, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 9 months ago (2014-03-25 07:13:10 UTC) #22
pdr.
The CQ bit was checked by pdr@chromium.org
6 years, 9 months ago (2014-03-25 07:13:18 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skobes@chromium.org/208393008/70003
6 years, 9 months ago (2014-03-25 07:13:26 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-25 07:21:36 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_rel
6 years, 9 months ago (2014-03-25 07:21:37 UTC) #26
pdr
On 2014/03/25 07:21:37, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 9 months ago (2014-03-25 07:24:10 UTC) #27
skobes
The CQ bit was checked by skobes@chromium.org
6 years, 9 months ago (2014-03-25 15:33:15 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skobes@chromium.org/208393008/90001
6 years, 9 months ago (2014-03-25 15:33:23 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-25 16:16:33 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_rel
6 years, 9 months ago (2014-03-25 16:16:34 UTC) #31
pdr
The CQ bit was checked by pdr@google.com
6 years, 9 months ago (2014-03-25 16:25:30 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skobes@chromium.org/208393008/90001
6 years, 9 months ago (2014-03-25 16:25:42 UTC) #33
commit-bot: I haz the power
Change committed as 169961
6 years, 9 months ago (2014-03-25 17:04:35 UTC) #34
vsevik
A revert of this CL has been created in https://codereview.chromium.org/212163006/ by vsevik@chromium.org. The reason for ...
6 years, 9 months ago (2014-03-26 12:12:05 UTC) #35
skobes (do not use)
@vsevik, a couple of questions: (1) Your revert landed as blink revision 170050<https://src.chromium.org/viewvc/blink?revision=170050&view=revision> but this ...
6 years, 9 months ago (2014-03-26 19:20:45 UTC) #36
skobes
@vsevik, a couple of questions: (1) Your revert landed as blink revision 170050<https://src.chromium.org/viewvc/blink?revision=170050&view=revision> but this ...
6 years, 9 months ago (2014-03-26 19:21:46 UTC) #37
skobes
I reproduced the error on the bot at r169961 and after the revert in r170050. ...
6 years, 9 months ago (2014-03-26 23:37:11 UTC) #38
skobes
On 2014/03/26 23:37:11, skobes wrote: > I reproduced the error on the bot at r169961 ...
6 years, 9 months ago (2014-03-27 23:12:47 UTC) #39
skobes
6 years, 9 months ago (2014-03-27 23:14:09 UTC) #40
Message was sent while issue was closed.
On 2014/03/27 23:12:47, skobes wrote:
> On 2014/03/26 23:37:11, skobes wrote:
> > I reproduced the error on the bot at r169961 and after the revert in
r170050. 
> > AwSettingsTest#testLayoutAlgorithmWithTwoViews passes in portrait mode but
> fails
> > with this error in landscape mode.  When running all the instrumentation
tests
> > together, an earlier test sometimes causes an orientation change.  We should
> > probably just disable this test until it is fixed properly.
> 
> Turns out the failure on Nexus 7 landscape mode is a separate issue (mnaganov
is
> fixing it in http://crbug.com/356960).
> 
> This change broke AwSettingsTest due to a bug in
> TextAutosizer::recalculateMultipliers.  The fix for that is in
> http://crrev.com/214543009, after which I'll revert
http://crrev.com/212163006.

Oops, first link in the last sentence should be http://crrev.com/215063004

Powered by Google App Engine
This is Rietveld 408576698