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

Issue 1508913002: Add support for <image> type parsing using CSSParserTokens (Closed)

Created:
5 years ago by rwlbuis
Modified:
5 years ago
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

Add support for <image> type parsing using CSSParserTokens Add support for <image> type [1] parsing using CSSParserTokens by introducing consumeImage. To keep the size reasonable, this patch only supports linear-gradient, -webkit-linear-gradient, -webkit-repeated-linear-gradient, radial-gradient and -webkit-crossfade. BUG=499780 [1] https://drafts.csswg.org/css-images-3/#typedef-image Committed: https://crrev.com/a6478c04b55bf419bd5ca29500a388a2d4e9718a Cr-Commit-Position: refs/heads/master@{#364361}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Add deprecated linear gradient support #

Total comments: 18

Patch Set 4 : Address review comments #

Patch Set 5 : Fix endX code #

Total comments: 6

Patch Set 6 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -0 lines) Patch
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 2 3 4 5 2 chunks +212 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (16 generated)
rwlbuis
PTAL.
5 years ago (2015-12-08 03:53:16 UTC) #6
rwlbuis
On 2015/12/08 03:53:16, rwlbuis wrote: > PTAL. Patch set #3 now also has support for ...
5 years ago (2015-12-08 21:45:36 UTC) #9
Timothy Loh
Probably should mention which image types *are* implemented in the description, not just those that ...
5 years ago (2015-12-09 06:59:57 UTC) #11
rwlbuis
Fixed the Description too. One more issue to look at... https://codereview.chromium.org/1508913002/diff/40001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1508913002/diff/40001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode2415 ...
5 years ago (2015-12-09 21:31:14 UTC) #16
rwlbuis
I think my latest upload covers all review comments, PTAL. https://codereview.chromium.org/1508913002/diff/40001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1508913002/diff/40001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode2538 ...
5 years ago (2015-12-09 23:08:46 UTC) #17
Timothy Loh
lgtm https://codereview.chromium.org/1508913002/diff/40001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1508913002/diff/40001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode2588 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:2588: static PassRefPtrWillBeRawPtr<CSSValue> consumeGeneratedImage(CSSParserTokenRange& range, CSSParserContext context) On 2015/12/09 ...
5 years ago (2015-12-10 04:20:07 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1508913002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1508913002/120001
5 years ago (2015-12-10 13:59:15 UTC) #21
rwlbuis
https://codereview.chromium.org/1508913002/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/1508913002/diff/100001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode2409 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:2409: static bool consumeGradientColorStops(CSSParserTokenRange& range, CSSParserContext context, CSSGradientValue* gradient) On ...
5 years ago (2015-12-10 14:00:08 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:120001)
5 years ago (2015-12-10 15:08:08 UTC) #24
commit-bot: I haz the power
5 years ago (2015-12-10 15:08:58 UTC) #26
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a6478c04b55bf419bd5ca29500a388a2d4e9718a
Cr-Commit-Position: refs/heads/master@{#364361}

Powered by Google App Engine
This is Rietveld 408576698