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

Issue 2698083003: support function in custom paint input arguments (Closed)

Created:
3 years, 10 months ago by renjieliu1
Modified:
3 years, 9 months ago
CC:
chromium-reviews, blink-reviews-style_chromium.org, blink-reviews-css, haraken, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

support function as parameter in custom paint input arguments. Example: paint(myPaintFunc, Calc(1px + 2px), rgb(10, 10, 10)) can be parsed and used. BUG=672647 Review-Url: https://codereview.chromium.org/2698083003 Cr-Commit-Position: refs/heads/master@{#453767} Committed: https://chromium.googlesource.com/chromium/src/+/6d5b46f03cec4b48aa5c6915a82952a600fe550c

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Patch Set 4 : fix #

Total comments: 8

Patch Set 5 : modify function #

Total comments: 7

Patch Set 6 : rebase #

Patch Set 7 : add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -3 lines) Patch
A third_party/WebKit/LayoutTests/csspaint/paint-function-arguments.html View 1 chunk +50 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/csspaint/paint-function-arguments-expected.html View 1 chunk +41 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp View 1 2 3 4 5 6 2 chunks +27 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParserTest.cpp View 1 chunk +8 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 32 (18 generated)
renjieliu1
3 years, 10 months ago (2017-02-16 00:21:17 UTC) #4
meade_UTC10
Please give this CL a better description.
3 years, 10 months ago (2017-02-16 00:58:35 UTC) #6
renjieliu1
On 2017/02/16 00:58:35, Eddy wrote: > Please give this CL a better description. Add an ...
3 years, 10 months ago (2017-02-16 02:12:34 UTC) #12
meade_UTC10
https://codereview.chromium.org/2698083003/diff/60001/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp (right): https://codereview.chromium.org/2698083003/diff/60001/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp#newcode1169 third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp:1169: // like function calls. Sounds like this comment needs ...
3 years, 10 months ago (2017-02-16 02:44:59 UTC) #13
renjieliu1
thank you for the review! https://codereview.chromium.org/2698083003/diff/60001/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp (right): https://codereview.chromium.org/2698083003/diff/60001/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp#newcode1169 third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp:1169: // like function calls. ...
3 years, 10 months ago (2017-02-16 04:38:42 UTC) #14
meade_UTC10
https://codereview.chromium.org/2698083003/diff/80001/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp (right): https://codereview.chromium.org/2698083003/diff/80001/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp#newcode49 third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp:49: if (args.peek().getBlockType() != CSSParserToken::BlockStart) { Let's flip the if ...
3 years, 10 months ago (2017-02-17 06:40:04 UTC) #15
renjieliu1
thank you for the review! https://codereview.chromium.org/2698083003/diff/80001/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp (right): https://codereview.chromium.org/2698083003/diff/80001/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp#newcode49 third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp:49: if (args.peek().getBlockType() != CSSParserToken::BlockStart) ...
3 years, 10 months ago (2017-02-19 04:57:58 UTC) #16
meade_UTC10
lgtm https://codereview.chromium.org/2698083003/diff/80001/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp (right): https://codereview.chromium.org/2698083003/diff/80001/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp#newcode52 third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp:52: // Encounter function block. On 2017/02/19 04:57:58, renjieliu1 ...
3 years, 10 months ago (2017-02-22 06:56:22 UTC) #17
renjieliu1
On 2017/02/22 06:56:22, Eddy wrote: > lgtm > > https://codereview.chromium.org/2698083003/diff/80001/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp > File third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp > (right): ...
3 years, 10 months ago (2017-02-23 02:34:42 UTC) #18
renjieliu1
thank you for the review!
3 years, 10 months ago (2017-02-23 02:36:15 UTC) #19
renjieliu1
3 years, 9 months ago (2017-02-28 11:25:24 UTC) #25
ikilpatrick
lgtm
3 years, 9 months ago (2017-02-28 23:33:31 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2698083003/120001
3 years, 9 months ago (2017-03-01 00:10:10 UTC) #29
commit-bot: I haz the power
3 years, 9 months ago (2017-03-01 00:23:41 UTC) #32
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/6d5b46f03cec4b48aa5c6915a829...

Powered by Google App Engine
This is Rietveld 408576698