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

Issue 366133004: Remove updateFirstLetter from RenderTableCell::layout. (Closed)

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

Description

Remove updateFirstLetter from RenderTableCell::layout. This call no longer seems to be necessary. All tests pass with it removed. The original CL which added it added a crash test which no longer crashes without this line. https://src.chromium.org/viewvc/blink?revision=117309&view=revision BUG=391288

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -2 lines) Patch
M Source/core/rendering/RenderTableCell.cpp View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
dsinclair
PTAL. kenrb@ does this seem sane?
6 years, 5 months ago (2014-07-03 19:37:24 UTC) #1
kenrb
I believe first-letter selectors no longer cause the render tree to be modified during layout. ...
6 years, 5 months ago (2014-07-03 20:09:43 UTC) #2
dsinclair
On 2014/07/03 20:09:43, kenrb wrote: > I believe first-letter selectors no longer cause the render ...
6 years, 5 months ago (2014-07-04 00:57:59 UTC) #3
kenrb
On 2014/07/04 00:57:59, dsinclair wrote: > On 2014/07/03 20:09:43, kenrb wrote: > > I believe ...
6 years, 5 months ago (2014-07-04 14:37:15 UTC) #4
esprehn
Who updates the first letter of table cells now once you remove this?
6 years, 5 months ago (2014-07-21 19:04:07 UTC) #5
dsinclair
6 years, 5 months ago (2014-07-21 19:16:23 UTC) #6
On 2014/07/21 19:04:07, esprehn wrote:
> Who updates the first letter of table cells now once you remove this?

So, according to the CL which added the check this would be done in the
computePreferredLogicalWidths(). This call to updateFirstLetter was added to
fixup a security race condition.

I'm going to close this CL as we aren't sure if the crash is still fixed with
this removed, or if things have just changed enough that we don't trigger the
crash.

This call will be left until we move updateFirstLetter to happen after
reccalcStyle and before layout.

Powered by Google App Engine
This is Rietveld 408576698