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

Issue 272443002: Store and propagate a list of applied text decorations. (Closed)

Created:
6 years, 7 months ago by andersr
Modified:
6 years, 7 months ago
CC:
blink-reviews, blink-reviews-rendering, zoltan1, blink-reviews-css, eae+blinkwatch, ed+blinkwatch_opera.com, Mikhail, leviw+renderwatch, abarth-chromium, dglazkov+blink, apavlov+blink_chromium.org, jchaffraix+rendering, darktears, pdr., rune+blink, blink-reviews-wtf_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Store and propagate a list of applied text decorations. This is preparatory work to fix an issue with style recalculation of text decorations (350840), and to implement multiple text decorations per line. In a future patch, the color and style of each decoration will be added to the AppliedTextDecoration objects in order to fix 350840. BUG=350840, 315271 TEST=Covered by existing tests Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173761

Patch Set 1 #

Total comments: 19

Patch Set 2 : Further reduce the scope of the patch. #

Patch Set 3 : Undo NeedsRebaseline. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -16 lines) Patch
M Source/core/core.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/resolver/StyleAdjuster.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
A Source/core/rendering/style/AppliedTextDecoration.h View 1 1 chunk +28 lines, -0 lines 0 comments Download
A Source/core/rendering/style/AppliedTextDecoration.cpp View 1 1 chunk +25 lines, -0 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.h View 1 7 chunks +11 lines, -9 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.cpp View 1 5 chunks +76 lines, -2 lines 0 comments Download
M Source/core/rendering/style/StyleRareInheritedData.h View 2 chunks +6 lines, -0 lines 0 comments Download
M Source/core/rendering/style/StyleRareInheritedData.cpp View 4 chunks +5 lines, -2 lines 0 comments Download
A Source/wtf/RefVector.h View 1 chunk +38 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
andersr
Note: This patch is an alternative to https://codereview.chromium.org/219633002/ , where we split the patch in ...
6 years, 7 months ago (2014-05-06 16:29:43 UTC) #1
Julien - ping for review
https://codereview.chromium.org/272443002/diff/1/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-color-recalc.html File LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-color-recalc.html (right): https://codereview.chromium.org/272443002/diff/1/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-color-recalc.html#newcode13 LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-color-recalc.html:13: <div id="target"> I like tests to be state: - ...
6 years, 7 months ago (2014-05-06 23:29:29 UTC) #2
andersr
https://codereview.chromium.org/272443002/diff/1/Source/core/css/resolver/StyleAdjuster.cpp File Source/core/css/resolver/StyleAdjuster.cpp (right): https://codereview.chromium.org/272443002/diff/1/Source/core/css/resolver/StyleAdjuster.cpp#newcode140 Source/core/css/resolver/StyleAdjuster.cpp:140: || style->isFloating() || style->hasOutOfFlowPosition() || isHTMLRTElement(e); This was done ...
6 years, 7 months ago (2014-05-07 11:17:52 UTC) #3
Julien - ping for review
lgtm https://codereview.chromium.org/272443002/diff/1/Source/core/css/resolver/StyleAdjuster.cpp File Source/core/css/resolver/StyleAdjuster.cpp (right): https://codereview.chromium.org/272443002/diff/1/Source/core/css/resolver/StyleAdjuster.cpp#newcode140 Source/core/css/resolver/StyleAdjuster.cpp:140: || style->isFloating() || style->hasOutOfFlowPosition() || isHTMLRTElement(e); On 2014/05/07 ...
6 years, 7 months ago (2014-05-09 15:45:49 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andersr@opera.com/272443002/40001
6 years, 7 months ago (2014-05-09 15:46:33 UTC) #5
commit-bot: I haz the power
Change committed as 173761
6 years, 7 months ago (2014-05-09 17:08:13 UTC) #6
andersr
6 years, 7 months ago (2014-05-12 11:12:48 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/272443002/diff/1/Source/core/css/resolver/Sty...
File Source/core/css/resolver/StyleAdjuster.cpp (right):

https://codereview.chromium.org/272443002/diff/1/Source/core/css/resolver/Sty...
Source/core/css/resolver/StyleAdjuster.cpp:140: || style->isFloating() ||
style->hasOutOfFlowPosition() || isHTMLRTElement(e);
> Maybe it's related to this patch but the fact that you are mentioning
rendering
> on a css patch makes me somehow think this belongs to a follow-up change.

Yes, I agree. Note that I did move this change to the next patch, if that was
unclear.

Powered by Google App Engine
This is Rietveld 408576698