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

Issue 538213002: Cleanup RenderInline style propagation to continuations (Closed)

Created:
6 years, 3 months ago by Xianzhu
Modified:
6 years, 3 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Cleanup RenderInline style propagation to continuations - Remove unnecessary RenderInline::setContinuation(). Push outline style in RenderInline::addChildIgnoringContinuation() along with original style propagation for 'position'. - In updateStyleOfAnonymousBlockContinuations() create newBlockStyle only once. Fixed original issue when pushing 'position' by replacing createAnonymousStyleWithDisplay() with RenderStyle::clone(). The issue caused just-set outline style to be lost because createAnonymousStyleWithDisplay() doesn't copy non-inherited styles. BUG=405222 TEST=refactory only, no functional change Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181566

Patch Set 1 #

Total comments: 2

Patch Set 2 : For landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -24 lines) Patch
M Source/core/rendering/RenderBoxModelObject.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderInline.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderInline.cpp View 1 5 chunks +16 lines, -22 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Xianzhu
6 years, 3 months ago (2014-09-04 22:46:26 UTC) #2
dsinclair
lgtm
6 years, 3 months ago (2014-09-05 13:45:34 UTC) #3
Julien - ping for review
lgtm https://codereview.chromium.org/538213002/diff/1/Source/core/rendering/RenderInline.cpp File Source/core/rendering/RenderInline.cpp (right): https://codereview.chromium.org/538213002/diff/1/Source/core/rendering/RenderInline.cpp#newcode342 Source/core/rendering/RenderInline.cpp:342: if (!newStyle->isOutlineEquivalent(style())) I would put a comment here ...
6 years, 3 months ago (2014-09-05 19:57:35 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/538213002/20001
6 years, 3 months ago (2014-09-05 21:24:33 UTC) #6
Xianzhu
https://codereview.chromium.org/538213002/diff/1/Source/core/rendering/RenderInline.cpp File Source/core/rendering/RenderInline.cpp (right): https://codereview.chromium.org/538213002/diff/1/Source/core/rendering/RenderInline.cpp#newcode342 Source/core/rendering/RenderInline.cpp:342: if (!newStyle->isOutlineEquivalent(style())) On 2014/09/05 19:57:35, Julien Chaffraix - PST ...
6 years, 3 months ago (2014-09-05 22:04:16 UTC) #7
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 3 months ago (2014-09-06 03:25:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/538213002/20001
6 years, 3 months ago (2014-09-08 16:04:03 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-08 16:04:56 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 181566

Powered by Google App Engine
This is Rietveld 408576698