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

Issue 17071009: Consistently autosize markers in <ul> and <ol> lists. (Closed)

Created:
7 years, 6 months ago by timvolodine
Modified:
7 years, 6 months ago
CC:
blink-reviews, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering
Base URL:
https://chromium.googlesource.com/chromium/blink.git@ls-TA-margins-14June
Visibility:
Public.

Description

Consistently autosize markers and layout in <ul> and <ol> lists. This patch implements a 'global' approach where the whole list is autosized consistently and such that it remains readable after autosizing. The fix yields correct marker autosizing in cases where there are empty list items, list items containing only images and list items with form input fields. + Added relevant tests BUG=248190, 249386 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152905

Patch Set 1 #

Total comments: 10

Patch Set 2 : removed the setMarginStart related modification #

Total comments: 4

Patch Set 3 : fixed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -2 lines) Patch
A LayoutTests/fast/text-autosizing/list-marker-with-images-and-forms-autosizing.html View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
A LayoutTests/fast/text-autosizing/list-marker-with-images-and-forms-autosizing-expected.html View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
M Source/core/rendering/TextAutosizer.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/TextAutosizer.cpp View 1 2 3 chunks +34 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
timvolodine
7 years, 6 months ago (2013-06-14 18:17:57 UTC) #1
timvolodine
7 years, 6 months ago (2013-06-17 18:04:53 UTC) #2
timvolodine
Hi Julien, could you have a look at this CL? thanks, Tim
7 years, 6 months ago (2013-06-18 17:44:17 UTC) #3
Julien - ping for review
https://codereview.chromium.org/17071009/diff/1/Source/core/rendering/TextAutosizer.cpp File Source/core/rendering/TextAutosizer.cpp (right): https://codereview.chromium.org/17071009/diff/1/Source/core/rendering/TextAutosizer.cpp#newcode97 Source/core/rendering/TextAutosizer.cpp:97: while (ancestor) { Nit: This really like a for-loop ...
7 years, 6 months ago (2013-06-20 16:11:51 UTC) #4
timvolodine
I've removed the margin modifying code for now. Julien, could you have another look please? ...
7 years, 6 months ago (2013-06-21 15:22:32 UTC) #5
Julien - ping for review
lgtm https://chromiumcodereview.appspot.com/17071009/diff/7001/Source/core/rendering/TextAutosizer.cpp File Source/core/rendering/TextAutosizer.cpp (right): https://chromiumcodereview.appspot.com/17071009/diff/7001/Source/core/rendering/TextAutosizer.cpp#newcode97 Source/core/rendering/TextAutosizer.cpp:97: if (parentNode && (parentNode->hasTagName(olTag) || parentNode->hasTagName(ulTag))) HTML5 allows ...
7 years, 6 months ago (2013-06-21 19:01:53 UTC) #6
timvolodine
https://chromiumcodereview.appspot.com/17071009/diff/7001/Source/core/rendering/TextAutosizer.cpp File Source/core/rendering/TextAutosizer.cpp (right): https://chromiumcodereview.appspot.com/17071009/diff/7001/Source/core/rendering/TextAutosizer.cpp#newcode97 Source/core/rendering/TextAutosizer.cpp:97: if (parentNode && (parentNode->hasTagName(olTag) || parentNode->hasTagName(ulTag))) On 2013/06/21 19:01:53, ...
7 years, 6 months ago (2013-06-21 19:21:37 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timvolodine@chromium.org/17071009/11001
7 years, 6 months ago (2013-06-21 19:23:20 UTC) #8
commit-bot: I haz the power
7 years, 6 months ago (2013-06-21 20:36:56 UTC) #9
Message was sent while issue was closed.
Change committed as 152905

Powered by Google App Engine
This is Rietveld 408576698