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

Issue 2632083002: Provide a CSSParserContext to CSSSyntaxDescriptor (Closed)

Created:
3 years, 11 months ago by fs
Modified:
3 years, 11 months ago
Reviewers:
Timothy Loh
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Provide a CSSParserContext to CSSSyntaxDescriptor Add a CSSParserContext* argument to CSSSyntaxDescriptor::parse to allow CSSValues to be resolve against a proper parser context, and resolve relative URLs and other sourcing sensitive data. Provide parser contexts as available on call-sites, or use the strictCSSParserContext() if none is available. Move the TODO up the callstack as needed. BUG=618165 Review-Url: https://codereview.chromium.org/2632083002 Cr-Commit-Position: refs/heads/master@{#443882} Committed: https://chromium.googlesource.com/chromium/src/+/9f693fb8bdcda52ef30230ff57592a9736707dff

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix parser context in PropertyRegistration #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -14 lines) Patch
M third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.h View 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp View 5 chunks +10 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSVariableData.cpp View 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/PropertyRegistration.cpp View 1 2 chunks +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (13 generated)
fs
3 years, 11 months ago (2017-01-15 20:30:28 UTC) #6
Timothy Loh
https://codereview.chromium.org/2632083002/diff/1/third_party/WebKit/Source/core/css/PropertyRegistration.cpp File third_party/WebKit/Source/core/css/PropertyRegistration.cpp (right): https://codereview.chromium.org/2632083002/diff/1/third_party/WebKit/Source/core/css/PropertyRegistration.cpp#newcode112 third_party/WebKit/Source/core/css/PropertyRegistration.cpp:112: tokenizer.tokenRange(), strictCSSParserContext(), isAnimationTainted); This is probably not right, I ...
3 years, 11 months ago (2017-01-16 00:33:37 UTC) #7
Timothy Loh
On 2017/01/16 00:33:37, Timothy Loh wrote: > https://codereview.chromium.org/2632083002/diff/1/third_party/WebKit/Source/core/css/PropertyRegistration.cpp > File third_party/WebKit/Source/core/css/PropertyRegistration.cpp (right): > > https://codereview.chromium.org/2632083002/diff/1/third_party/WebKit/Source/core/css/PropertyRegistration.cpp#newcode112 ...
3 years, 11 months ago (2017-01-16 03:07:14 UTC) #8
fs
https://codereview.chromium.org/2632083002/diff/1/third_party/WebKit/Source/core/css/PropertyRegistration.cpp File third_party/WebKit/Source/core/css/PropertyRegistration.cpp (right): https://codereview.chromium.org/2632083002/diff/1/third_party/WebKit/Source/core/css/PropertyRegistration.cpp#newcode112 third_party/WebKit/Source/core/css/PropertyRegistration.cpp:112: tokenizer.tokenRange(), strictCSSParserContext(), isAnimationTainted); On 2017/01/16 at 00:33:36, Timothy Loh ...
3 years, 11 months ago (2017-01-16 13:18:01 UTC) #13
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/2632083002/20001
3 years, 11 months ago (2017-01-16 13:18:13 UTC) #16
commit-bot: I haz the power
3 years, 11 months ago (2017-01-16 13:22:40 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/9f693fb8bdcda52ef30230ff5759...

Powered by Google App Engine
This is Rietveld 408576698