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

Issue 373503002: Add first letter test when first letter is inside a floated block. (Closed)

Created:
6 years, 5 months ago by dsinclair
Modified:
6 years, 5 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

Add first letter test when first letter is inside a floated block. This CL adds a test for the RenderBlock::computePreferredLogicalWidths call to updateFirstLetter. In the case where we don't call updateFirstLetter we will incorrectly draw the word Foo flowing out of the enclosing border. BUG=391288 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178584

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebase to master #

Patch Set 3 : Rebase; Remove list item change #

Patch Set 4 : git cl web #

Patch Set 5 : Use ref test instead. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -0 lines) Patch
A LayoutTests/fast/css/first-letter-float-block.html View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
A LayoutTests/fast/css/first-letter-float-block-expected.html View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
dsinclair
PTAL. Suggestions on how I can add layout tests to trigger this code?
6 years, 5 months ago (2014-07-14 16:58:50 UTC) #1
dsinclair
6 years, 5 months ago (2014-07-14 20:58:58 UTC) #2
eseidel
Elliot is the correct reviewer. He's been in the trenches of first-letter most recently.
6 years, 5 months ago (2014-07-14 22:09:32 UTC) #3
esprehn
I don't think this is right, you broke first letter in floats. https://codereview.chromium.org/373503002/diff/1/Source/core/rendering/RenderBlock.cpp File Source/core/rendering/RenderBlock.cpp ...
6 years, 5 months ago (2014-07-14 22:55:01 UTC) #4
dsinclair
On 2014/07/14 at 22:55:01, esprehn wrote: > I don't think this is right, you broke ...
6 years, 5 months ago (2014-07-15 01:03:59 UTC) #5
ojan
On 2014/07/15 at 01:03:59, dsinclair wrote: > On 2014/07/14 at 22:55:01, esprehn wrote: > > ...
6 years, 5 months ago (2014-07-15 03:04:30 UTC) #6
dsinclair
On 2014/07/15 03:04:30, ojan-only-code-yellow-reviews wrote: > On 2014/07/15 at 01:03:59, dsinclair wrote: > > On ...
6 years, 5 months ago (2014-07-15 13:20:42 UTC) #7
dsinclair
On 2014/07/15 at 13:20:42, dsinclair wrote: > On 2014/07/15 03:04:30, ojan-only-code-yellow-reviews wrote: > > On ...
6 years, 5 months ago (2014-07-15 17:05:29 UTC) #8
ojan
On 2014/07/15 at 17:05:29, dsinclair wrote: > > Sorry, forgot to link the CL. Both ...
6 years, 5 months ago (2014-07-15 18:24:13 UTC) #9
ojan
lgtm
6 years, 5 months ago (2014-07-17 18:29:40 UTC) #10
ojan
The CQ bit was unchecked by ojan@chromium.org
6 years, 5 months ago (2014-07-17 18:30:03 UTC) #11
ojan
On 2014/07/17 at 18:30:03, ojan-only-code-yellow-reviews wrote: > The CQ bit was unchecked by ojan@chromium.org Whoops. ...
6 years, 5 months ago (2014-07-17 18:30:16 UTC) #12
dsinclair
PTAL. I changed this CL into a test case for the computePreferredLogicalWidths call to updateFirstLetter.
6 years, 5 months ago (2014-07-21 19:12:12 UTC) #13
esprehn
lgtm, you should be able to make this a ref test though by doing <span>F</span>oo ...
6 years, 5 months ago (2014-07-21 19:16:17 UTC) #14
dsinclair
On 2014/07/21 19:16:17, esprehn wrote: > lgtm, you should be able to make this a ...
6 years, 5 months ago (2014-07-21 19:25:54 UTC) #15
dsinclair
The CQ bit was checked by dsinclair@chromium.org
6 years, 5 months ago (2014-07-21 19:42:15 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dsinclair@chromium.org/373503002/80001
6 years, 5 months ago (2014-07-21 19:42:44 UTC) #17
commit-bot: I haz the power
6 years, 5 months ago (2014-07-21 20:30:33 UTC) #18
Message was sent while issue was closed.
Change committed as 178584

Powered by Google App Engine
This is Rietveld 408576698