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

Issue 2227503002: Allow use of @apply and custom properties in InlineStylePropertyMap::getProperties() (Closed)

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

Description

Allow use of @apply and custom properties in InlineStylePropertyMap::getProperties() BUG=631368 Committed: https://crrev.com/05df3156828407c7a51f8af78d4ba27764435114 Cr-Commit-Position: refs/heads/master@{#411011}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add layout test #

Patch Set 3 : Remove extra if statement #

Total comments: 4

Patch Set 4 : Make @apply string static local #

Patch Set 5 : Fix static vars #

Total comments: 4

Patch Set 6 : Remove extra DCHECK #

Patch Set 7 : Fix static vars with brackets #

Patch Set 8 : Remove extra DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -3 lines) Patch
M third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getProperties.html View 1 2 3 4 1 chunk +18 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp View 1 2 3 4 5 7 3 chunks +16 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 30 (12 generated)
meade_UTC10
4 years, 4 months ago (2016-08-08 05:26:45 UTC) #2
sashab
lgtm https://codereview.chromium.org/2227503002/diff/1/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp File third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp (right): https://codereview.chromium.org/2227503002/diff/1/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp#newcode63 third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp:63: } else if (propertyID >= firstCSSProperty && propertyID ...
4 years, 4 months ago (2016-08-08 05:30:38 UTC) #3
sashab
On 2016/08/08 at 05:30:38, sashab wrote: > lgtm > > https://codereview.chromium.org/2227503002/diff/1/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp > File third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp (right): ...
4 years, 4 months ago (2016-08-08 05:52:46 UTC) #4
meade_UTC10
Added a layout test :) https://codereview.chromium.org/2227503002/diff/1/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp File third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp (right): https://codereview.chromium.org/2227503002/diff/1/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp#newcode63 third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp:63: } else if (propertyID ...
4 years, 4 months ago (2016-08-08 06:04:00 UTC) #5
sashab
lgtm https://codereview.chromium.org/2227503002/diff/40001/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp File third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp (right): https://codereview.chromium.org/2227503002/diff/40001/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp#newcode64 third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp:64: result.append(getPropertyNameString(propertyID)); Maybe add the if-statement back as a ...
4 years, 4 months ago (2016-08-09 01:14:37 UTC) #6
meade_UTC10
4 years, 4 months ago (2016-08-09 04:23:22 UTC) #8
Timothy Loh
lgtm
4 years, 4 months ago (2016-08-09 05:28:50 UTC) #9
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/2227503002/40001
4 years, 4 months ago (2016-08-10 00:37:01 UTC) #11
esprehn
This is adding duplicate @apply, I don't think we're supposed to do that? https://codereview.chromium.org/2227503002/diff/40001/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp File ...
4 years, 4 months ago (2016-08-10 00:39:44 UTC) #13
meade_UTC10
https://codereview.chromium.org/2227503002/diff/40001/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp File third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp (right): https://codereview.chromium.org/2227503002/diff/40001/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp#newcode62 third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp:62: result.append("@apply"); On 2016/08/10 00:39:43, esprehn wrote: > This is ...
4 years, 4 months ago (2016-08-10 01:59:35 UTC) #15
esprehn
lgtm https://codereview.chromium.org/2227503002/diff/80001/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp File third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp (right): https://codereview.chromium.org/2227503002/diff/80001/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp#newcode65 third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp:65: result.append(kAtApply); Hmm, I also wonder if we're supposed ...
4 years, 4 months ago (2016-08-10 04:01:06 UTC) #16
meade_UTC10
https://codereview.chromium.org/2227503002/diff/80001/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp File third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp (right): https://codereview.chromium.org/2227503002/diff/80001/third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp#newcode65 third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp:65: result.append(kAtApply); On 2016/08/10 04:01:06, esprehn wrote: > Hmm, I ...
4 years, 4 months ago (2016-08-10 04:22:32 UTC) #17
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/2227503002/100001
4 years, 4 months ago (2016-08-10 04:23:29 UTC) #20
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/2227503002/140001
4 years, 4 months ago (2016-08-10 04:57:28 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/274827)
4 years, 4 months ago (2016-08-10 06:14:15 UTC) #25
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/2227503002/140001
4 years, 4 months ago (2016-08-10 06:16:44 UTC) #27
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 4 months ago (2016-08-10 08:55:50 UTC) #28
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 08:57:15 UTC) #30
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/05df3156828407c7a51f8af78d4ba27764435114
Cr-Commit-Position: refs/heads/master@{#411011}

Powered by Google App Engine
This is Rietveld 408576698