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

Issue 679593004: Refactor RenderQuote to not delete renderers on style change. (Closed)

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

Description

Refactor RenderQuote to not delete renderers on style change. Currently the RenderQuote code will destroy all child nodes when the style changes. This CL updates the code to re-use the existing renderer instead of re-creating. This fixes an issue with FirstLetterPseudoElement where we were destroying the first-letter renderers out from under the elements feet. BUG=424914 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184397

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -12 lines) Patch
M LayoutTests/fast/css/first-letter-render-quote.html View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/rendering/RenderQuote.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderQuote.cpp View 1 chunk +20 lines, -5 lines 0 comments Download
M Source/core/rendering/RenderTextFragment.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderTextFragment.cpp View 4 chunks +13 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
dsinclair
PTAL.
6 years, 2 months ago (2014-10-24 21:04:49 UTC) #2
esprehn
Where the test output or expectation?
6 years, 2 months ago (2014-10-24 21:38:26 UTC) #3
esprehn
lgtm, please add a new test though. I think that you just fixed mixing RenderQuote ...
6 years, 2 months ago (2014-10-24 21:39:19 UTC) #4
dsinclair
On 2014/10/24 21:39:19, esprehn wrote: > lgtm, please add a new test though. I think ...
6 years, 2 months ago (2014-10-25 00:18:24 UTC) #5
esprehn
Okay, lgtm
6 years, 2 months ago (2014-10-25 00:20:58 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/679593004/1
6 years, 2 months ago (2014-10-25 00:25:32 UTC) #8
commit-bot: I haz the power
6 years, 2 months ago (2014-10-25 01:02:08 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as 184397

Powered by Google App Engine
This is Rietveld 408576698