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

Issue 2251663002: [Typed-OM] Get CSSTokenStreamValue from StyleMap (Closed)

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

Description

[Typed-OM] Get CSSTokenStreamValue from StyleMap Spec: https://drafts.css-houdini.org/css-typed-om/#tokenstreamvalue-normalization BUG=545318 Committed: https://crrev.com/ef023fe7c2b002e589d53f088977d567019343dc Cr-Commit-Position: refs/heads/master@{#415006}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Move functions to CSSTokenStreamValue #

Patch Set 3 : Add layouttest #

Total comments: 19

Patch Set 4 : Refactor and add test #

Total comments: 18

Patch Set 5 : Simplify functions #

Patch Set 6 : Simplify functions, add test #

Total comments: 13

Patch Set 7 : Rebase and change parsing #

Total comments: 1

Patch Set 8 : Simplify function chain #

Total comments: 15

Patch Set 9 : Add more tests and change some functions #

Patch Set 10 : Change test to expect CSSTokenStreamValue #

Total comments: 1

Patch Set 11 : Remove unused header #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -5 lines) Patch
M third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_iteration.html View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -4 lines 0 comments Download
A third_party/WebKit/LayoutTests/typedcssom/inlinestyle/tokenStreamValue.html View 1 2 3 4 5 6 7 8 1 chunk +72 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp View 1 2 3 4 5 6 7 8 3 chunks +47 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (29 generated)
anthonyhkf
4 years, 4 months ago (2016-08-16 07:43:36 UTC) #2
meade_UTC10
https://codereview.chromium.org/2251663002/diff/1/third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp File third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp (right): https://codereview.chromium.org/2251663002/diff/1/third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp#newcode21 third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp:21: void parseToken(CSSParserTokenRange range, Vector<Persistent<HeapVector<StringOrCSSVariableReferenceValue>>>& stack, bool isDirectlyInsideVar, String& stringLeft) ...
4 years, 4 months ago (2016-08-17 00:55:44 UTC) #3
anthonyhkf
https://codereview.chromium.org/2251663002/diff/1/third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp File third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp (right): https://codereview.chromium.org/2251663002/diff/1/third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp#newcode23 third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp:23: String variable; On 2016/08/17 00:55:43, Eddy wrote: > You ...
4 years, 4 months ago (2016-08-17 05:26:31 UTC) #4
meade_UTC10
This is looking much better, but I think there's still lots of room to make ...
4 years, 4 months ago (2016-08-19 08:43:52 UTC) #5
anthonyhkf
https://codereview.chromium.org/2251663002/diff/40001/third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp File third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp (right): https://codereview.chromium.org/2251663002/diff/40001/third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp#newcode48 third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp:48: CSSTokenStreamValue* CSSTokenStreamValue::fromCSSValue(const CSSValue& cssValue) On 2016/08/19 08:43:51, Eddy wrote: ...
4 years, 4 months ago (2016-08-22 03:19:21 UTC) #6
Timothy Loh
https://codereview.chromium.org/2251663002/diff/60001/third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp File third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp (right): https://codereview.chromium.org/2251663002/diff/60001/third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp#newcode53 third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp:53: void handleVariableBlock(CSSParserTokenRange range, HeapVector<StringOrCSSVariableReferenceValue>& fragments, StringBuilder& builder) handle -> ...
4 years, 4 months ago (2016-08-22 06:30:59 UTC) #8
meade_UTC10
https://codereview.chromium.org/2251663002/diff/40001/third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp File third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp (right): https://codereview.chromium.org/2251663002/diff/40001/third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp#newcode68 third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp:68: parseTokenRangeToFragments(range.consumeBlock(), fragments, builder, false); On 2016/08/22 03:19:21, anthonyhkf wrote: ...
4 years, 4 months ago (2016-08-22 07:55:48 UTC) #9
anthonyhkf
https://codereview.chromium.org/2251663002/diff/60001/third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp File third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp (right): https://codereview.chromium.org/2251663002/diff/60001/third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp#newcode53 third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.cpp:53: void handleVariableBlock(CSSParserTokenRange range, HeapVector<StringOrCSSVariableReferenceValue>& fragments, StringBuilder& builder) On 2016/08/22 ...
4 years, 4 months ago (2016-08-24 04:47:39 UTC) #10
meade_UTC10
Looks like you still need to sync this branch too. https://codereview.chromium.org/2251663002/diff/100001/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/tokenStreamValue.html File third_party/WebKit/LayoutTests/typedcssom/inlinestyle/tokenStreamValue.html (right): https://codereview.chromium.org/2251663002/diff/100001/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/tokenStreamValue.html#newcode12 ...
4 years, 3 months ago (2016-08-25 01:00:02 UTC) #11
anthonyhkf
https://codereview.chromium.org/2251663002/diff/60001/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/tokenStreamValue.html File third_party/WebKit/LayoutTests/typedcssom/inlinestyle/tokenStreamValue.html (right): https://codereview.chromium.org/2251663002/diff/60001/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/tokenStreamValue.html#newcode5 third_party/WebKit/LayoutTests/typedcssom/inlinestyle/tokenStreamValue.html:5: <div id="testElement1"></div> On 2016/08/22 07:55:47, Eddy wrote: > You ...
4 years, 3 months ago (2016-08-25 03:48:31 UTC) #12
meade_UTC10
https://codereview.chromium.org/2251663002/diff/140001/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/tokenStreamValue.html File third_party/WebKit/LayoutTests/typedcssom/inlinestyle/tokenStreamValue.html (right): https://codereview.chromium.org/2251663002/diff/140001/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/tokenStreamValue.html#newcode13 third_party/WebKit/LayoutTests/typedcssom/inlinestyle/tokenStreamValue.html:13: assert_equals(result[0], "calc(42px + "); You seem to be missing ...
4 years, 3 months ago (2016-08-26 01:29:22 UTC) #13
anthonyhkf
https://codereview.chromium.org/2251663002/diff/140001/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/tokenStreamValue.html File third_party/WebKit/LayoutTests/typedcssom/inlinestyle/tokenStreamValue.html (right): https://codereview.chromium.org/2251663002/diff/140001/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/tokenStreamValue.html#newcode13 third_party/WebKit/LayoutTests/typedcssom/inlinestyle/tokenStreamValue.html:13: assert_equals(result[0], "calc(42px + "); On 2016/08/26 01:29:22, Eddy wrote: ...
4 years, 3 months ago (2016-08-26 03:10:29 UTC) #14
meade_UTC10
Nice work! lgtm Tim, since you're already on here, want to do the OWNERs review? ...
4 years, 3 months ago (2016-08-26 03:18:57 UTC) #17
Timothy Loh
lgtm https://codereview.chromium.org/2251663002/diff/180001/third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.h File third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.h (right): https://codereview.chromium.org/2251663002/diff/180001/third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.h#newcode12 third_party/WebKit/Source/core/css/cssom/CSSTokenStreamValue.h:12: #include "core/css/parser/CSSParserTokenRange.h" this include shouldn't be needed
4 years, 3 months ago (2016-08-29 03:09:18 UTC) #24
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/2251663002/200001
4 years, 3 months ago (2016-08-29 14:12:35 UTC) #43
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 3 months ago (2016-08-29 14:16:26 UTC) #44
commit-bot: I haz the power
4 years, 3 months ago (2016-08-29 14:18:34 UTC) #46
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/ef023fe7c2b002e589d53f088977d567019343dc
Cr-Commit-Position: refs/heads/master@{#415006}

Powered by Google App Engine
This is Rietveld 408576698