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

Issue 145003009: Autosize list markers. (Closed)

Created:
6 years, 11 months ago by skobes
Modified:
6 years, 10 months ago
Reviewers:
pdr.
CC:
blink-reviews, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering
Base URL:
https://chromium.googlesource.com/chromium/blink.git@tot
Visibility:
Public.

Description

Autosize list markers. The RenderListMarker is added to the render tree during layout by RenderListItem::updateMarkerLocation, and it must be autosized *before* this happens. To facilitate this we add FastTextAutosizer::inflateListItem. To ensure we have a valid multiplier in inflateListItem, the logic for findDeepestBlockContainingAllText is modified to treat list items as text (with a corresponding test). BUG=302005 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166068

Patch Set 1 : #

Patch Set 2 : Rebase. #

Total comments: 14

Patch Set 3 : Address review comments. #

Total comments: 4

Patch Set 4 : Address review comments. #

Total comments: 2

Patch Set 5 : Rebase and update TestExpectations. #

Patch Set 6 : Rebase and update TestExpectations. #

Patch Set 7 : Update TestExpectations. #

Messages

Total messages: 18 (0 generated)
skobes
list-marker-with-images-and-forms-autosizing.html is still failing due to the form input being autosized. I'll fix that separately.
6 years, 11 months ago (2014-01-24 01:14:41 UTC) #1
skobes
This is ready for review. I tried to fix the margin issue by calling updateLogicalWidth() ...
6 years, 11 months ago (2014-01-25 00:31:49 UTC) #2
pdr.
This is turning out to be much harder than I expected. I think the current ...
6 years, 11 months ago (2014-01-25 03:50:23 UTC) #3
skobes
Thanks! PTAL. https://codereview.chromium.org/145003009/diff/110001/Source/core/rendering/FastTextAutosizer.cpp File Source/core/rendering/FastTextAutosizer.cpp (right): https://codereview.chromium.org/145003009/diff/110001/Source/core/rendering/FastTextAutosizer.cpp#newcode97 Source/core/rendering/FastTextAutosizer.cpp:97: On 2014/01/25 03:50:23, pdr wrote: > Do ...
6 years, 11 months ago (2014-01-28 03:10:30 UTC) #4
pdr.
Awesome! LGTM with a few changes. Please improve the change description to better describe what's ...
6 years, 11 months ago (2014-01-28 04:50:45 UTC) #5
skobes
https://codereview.chromium.org/145003009/diff/110001/Source/core/rendering/FastTextAutosizer.h File Source/core/rendering/FastTextAutosizer.h (right): https://codereview.chromium.org/145003009/diff/110001/Source/core/rendering/FastTextAutosizer.h#newcode68 Source/core/rendering/FastTextAutosizer.h:68: void inflateListItem(RenderBlock*, RenderObject*); On 2014/01/28 04:50:46, pdr wrote: > ...
6 years, 10 months ago (2014-01-29 00:13:29 UTC) #6
pdr.
LGTM, looks great https://codereview.chromium.org/145003009/diff/250001/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/145003009/diff/250001/LayoutTests/TestExpectations#newcode810 LayoutTests/TestExpectations:810: crbug.com/302005 fast/text-autosizing/list-item-above-dbcat.html [ NeedsRebaseline ] Can ...
6 years, 10 months ago (2014-01-29 00:18:16 UTC) #7
skobes
https://codereview.chromium.org/145003009/diff/250001/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/145003009/diff/250001/LayoutTests/TestExpectations#newcode810 LayoutTests/TestExpectations:810: crbug.com/302005 fast/text-autosizing/list-item-above-dbcat.html [ NeedsRebaseline ] On 2014/01/29 00:18:17, pdr ...
6 years, 10 months ago (2014-01-29 00:22:22 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/145003009/270001
6 years, 10 months ago (2014-01-29 00:22:46 UTC) #9
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=24382
6 years, 10 months ago (2014-01-29 03:11:53 UTC) #10
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-29 03:12:32 UTC) #11
pdr.
On 2014/01/29 03:12:32, I haz the power (commit-bot) wrote: > CQ bit was unchecked on ...
6 years, 10 months ago (2014-01-29 03:15:15 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skobes@chromium.org/145003009/290001
6 years, 10 months ago (2014-01-29 17:30:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skobes@chromium.org/145003009/310001
6 years, 10 months ago (2014-01-29 20:04:48 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/145003009/310001
6 years, 10 months ago (2014-01-29 23:06:39 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skobes@chromium.org/145003009/310001
6 years, 10 months ago (2014-01-29 23:15:57 UTC) #16
commit-bot: I haz the power
Change committed as 166068
6 years, 10 months ago (2014-01-30 00:13:11 UTC) #17
commit-bot: I haz the power
6 years, 10 months ago (2014-01-30 00:17:50 UTC) #18
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698