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

Issue 1715513002: Move background related shorthands into CSSPropertyParser (Closed)

Created:
4 years, 10 months ago by rwlbuis
Modified:
4 years, 9 months ago
Reviewers:
Timothy Loh
CC:
chromium-reviews, blink-reviews-css, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move background related shorthands into CSSPropertyParser Move the following background related shorthands from LegacyCSSPropertyParser into CSSPropertyParser: background-repeat, background-position, -webkit-mask-repeat, -webkit-mask-position BUG=499780 Committed: https://crrev.com/4d1a91b7a318da0de7eda393d3e0e23647135c6e Cr-Commit-Position: refs/heads/master@{#378219}

Patch Set 1 #

Patch Set 2 : V2 #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase tests #

Total comments: 12

Patch Set 5 : Address review comments #

Patch Set 6 : Unify convertOriginLength and convertPositionLength #

Total comments: 1

Patch Set 7 : Rebase test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+436 lines, -554 lines) Patch
D third_party/WebKit/LayoutTests/animations/interpolation/background-position-origin-interpolation-expected.txt View 1 2 3 4 5 6 1 chunk +0 lines, -209 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/backgrounds/background-position-parsing-2.html View 1 2 3 4 6 chunks +127 lines, -127 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/backgrounds/background-position-parsing-2-expected.txt View 1 2 3 4 2 chunks +125 lines, -125 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css/background-image-size-serialization.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/css/background-image-size-serialization-expected.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/css/parsing-unitless-length-quirk.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/masking/parsing-mask.html View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/masking/parsing-mask-expected.txt View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 2 3 4 5 6 2 chunks +73 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp View 1 2 3 4 1 chunk +0 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/CSSToStyleMap.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp View 1 2 3 4 5 3 chunks +3 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintTiming.h View 1 2 3 4 5 6 2 chunks +42 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintTiming.cpp View 1 2 3 4 5 6 3 chunks +50 lines, -34 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
rwlbuis
PTAL. Unfortunately I see no way around handling the implicit stuff this way...
4 years, 10 months ago (2016-02-23 02:17:00 UTC) #4
Timothy Loh
Seems ok. I didn't look at the implicit stuff yet. https://codereview.chromium.org/1715513002/diff/60001/third_party/WebKit/LayoutTests/fast/backgrounds/background-position-parsing-2.html File third_party/WebKit/LayoutTests/fast/backgrounds/background-position-parsing-2.html (right): https://codereview.chromium.org/1715513002/diff/60001/third_party/WebKit/LayoutTests/fast/backgrounds/background-position-parsing-2.html#newcode248 ...
4 years, 10 months ago (2016-02-23 05:53:15 UTC) #5
rwlbuis
PTAL. The layout test changes are mostly due to the <position> changes. https://codereview.chromium.org/1715513002/diff/60001/third_party/WebKit/LayoutTests/fast/backgrounds/background-position-parsing-2.html File third_party/WebKit/LayoutTests/fast/backgrounds/background-position-parsing-2.html ...
4 years, 10 months ago (2016-02-23 20:16:42 UTC) #7
Timothy Loh
lgtm https://codereview.chromium.org/1715513002/diff/100001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1715513002/diff/100001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode4507 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:4507: if (!consumePosition(range, context.mode(), unitless, positionX, positionY)) not sure ...
4 years, 9 months ago (2016-02-29 05:45:25 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1715513002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1715513002/100001
4 years, 9 months ago (2016-02-29 12:42:46 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/137713)
4 years, 9 months ago (2016-02-29 12:44:55 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1715513002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1715513002/120001
4 years, 9 months ago (2016-02-29 15:39:55 UTC) #15
rwlbuis
On 2016/02/29 05:45:25, Timothy Loh wrote: > https://codereview.chromium.org/1715513002/diff/100001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode4507 > third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:4507: if > (!consumePosition(range, context.mode(), unitless, ...
4 years, 9 months ago (2016-02-29 16:10:00 UTC) #16
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 9 months ago (2016-02-29 16:45:49 UTC) #18
commit-bot: I haz the power
4 years, 9 months ago (2016-02-29 16:46:56 UTC) #20
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/4d1a91b7a318da0de7eda393d3e0e23647135c6e
Cr-Commit-Position: refs/heads/master@{#378219}

Powered by Google App Engine
This is Rietveld 408576698