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

Issue 14146029: Fix textarea font autosizing oscillation when the number of lines exceeds 4. The proposed fix is no… (Closed)

Created:
7 years, 8 months ago by timvolodine
Modified:
7 years, 7 months ago
CC:
blink-reviews, jchaffraix+rendering
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Fix textarea font autosizing oscillation when the number of lines exceeds 4. The proposed fix is not to autosize textareas. BUG=165481 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149645

Patch Set 1 #

Patch Set 2 : fix diff #

Patch Set 3 : fix include #

Total comments: 4

Patch Set 4 : autosize textareas by default #

Total comments: 10

Patch Set 5 : fixed John's comments. #

Patch Set 6 : fixed John's comments #

Total comments: 2

Patch Set 7 : added expected font size to the tests #

Total comments: 1

Patch Set 8 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -1 line) Patch
A LayoutTests/fast/text-autosizing/textarea-fontsize-change.html View 1 2 3 4 5 6 1 chunk +31 lines, -0 lines 0 comments Download
A LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html View 1 2 3 4 5 6 1 chunk +22 lines, -0 lines 0 comments Download
M Source/core/rendering/TextAutosizer.cpp View 1 2 3 4 5 6 7 2 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
timvolodine
Hi John, Potential fix for the text-area boosting bug. Pls have a look. Tim
7 years, 8 months ago (2013-04-25 16:13:41 UTC) #1
johnme
Code seems good (minor nits). I was originally thinking it might make more sense to ...
7 years, 8 months ago (2013-04-26 12:24:57 UTC) #2
timvolodine
On 2013/04/26 12:24:57, johnme wrote: > Code seems good (minor nits). I was originally thinking ...
7 years, 8 months ago (2013-04-26 12:35:29 UTC) #3
johnme
On 2013/04/26 12:35:29, timvolodine wrote: > My reasoning was mainly based on the crbug in ...
7 years, 8 months ago (2013-04-26 12:45:14 UTC) #4
timvolodine
On 2013/04/26 12:45:14, johnme wrote: > On 2013/04/26 12:35:29, timvolodine wrote: > > My reasoning ...
7 years, 8 months ago (2013-04-26 13:16:36 UTC) #5
johnme
Basically, make sure it works well on http://jsbin.com/100percent-textarea/1 (and by works well I mean you ...
7 years, 8 months ago (2013-04-26 13:30:14 UTC) #6
timvolodine
https://codereview.chromium.org/14146029/diff/3005/LayoutTests/fast/text-autosizing/textarea-fontsize-change.html File LayoutTests/fast/text-autosizing/textarea-fontsize-change.html (right): https://codereview.chromium.org/14146029/diff/3005/LayoutTests/fast/text-autosizing/textarea-fontsize-change.html#newcode12 LayoutTests/fast/text-autosizing/textarea-fontsize-change.html:12: .largersize{font-size: 1.1em} On 2013/04/26 12:24:57, johnme wrote: > Unused? ...
7 years, 8 months ago (2013-04-26 18:15:09 UTC) #7
timvolodine
On 2013/04/26 13:30:14, johnme wrote: > Basically, make sure it works well on http://jsbin.com/100percent-textarea/1 > ...
7 years, 8 months ago (2013-04-26 18:20:31 UTC) #8
aurimas (slooooooooow)
On 2013/04/26 12:24:57, johnme wrote: > Code seems good (minor nits). I was originally thinking ...
7 years, 8 months ago (2013-04-26 18:23:08 UTC) #9
timvolodine
On 2013/04/26 18:23:08, aurimas wrote: > On 2013/04/26 12:24:57, johnme wrote: > > Code seems ...
7 years, 8 months ago (2013-04-26 18:49:56 UTC) #10
johnme
Cool, I like the new patch. https://codereview.chromium.org/14146029/diff/13001/LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html File LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html (right): https://codereview.chromium.org/14146029/diff/13001/LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html#newcode17 LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html:17: <textarea rows="12" style="width: ...
7 years, 7 months ago (2013-04-29 11:11:26 UTC) #11
timvolodine
uploaded new patch https://codereview.chromium.org/14146029/diff/13001/LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html File LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html (right): https://codereview.chromium.org/14146029/diff/13001/LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html#newcode17 LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html:17: <textarea rows="12" style="width: 100%; font-size: 2.05rem"> ...
7 years, 7 months ago (2013-04-29 17:59:13 UTC) #12
johnme
LGTM (with nit). https://codereview.chromium.org/14146029/diff/25001/LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html File LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html (right): https://codereview.chromium.org/14146029/diff/25001/LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html#newcode18 LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html:18: The text inside this textarea should ...
7 years, 7 months ago (2013-05-01 11:34:39 UTC) #13
timvolodine
https://codereview.chromium.org/14146029/diff/25001/LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html File LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html (right): https://codereview.chromium.org/14146029/diff/25001/LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html#newcode18 LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html:18: The text inside this textarea should be autosized. Lorem ...
7 years, 7 months ago (2013-05-02 11:12:12 UTC) #14
timvolodine
On 2013/05/02 11:12:12, timvolodine wrote: > https://codereview.chromium.org/14146029/diff/25001/LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html > File LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html > (right): > > https://codereview.chromium.org/14146029/diff/25001/LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html#newcode18 ...
7 years, 7 months ago (2013-05-02 15:38:12 UTC) #15
Julien - ping for review
https://codereview.chromium.org/14146029/diff/31001/Source/core/rendering/TextAutosizer.cpp File Source/core/rendering/TextAutosizer.cpp (right): https://codereview.chromium.org/14146029/diff/31001/Source/core/rendering/TextAutosizer.cpp#newcode356 Source/core/rendering/TextAutosizer.cpp:356: || renderer->isTextArea(); I think you should also check for ...
7 years, 7 months ago (2013-05-02 17:38:45 UTC) #16
Julien - ping for review
LGTM, you can add the missing check in a follow-up change.
7 years, 7 months ago (2013-05-02 17:44:00 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timvolodine@chromium.org/14146029/36001
7 years, 7 months ago (2013-05-03 10:30:42 UTC) #18
commit-bot: I haz the power
7 years, 7 months ago (2013-05-03 10:31:52 UTC) #19
Message was sent while issue was closed.
Change committed as 149645

Powered by Google App Engine
This is Rietveld 408576698