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

Issue 2054633002: [Typed OM] Implement FilteredComputedStylePropertyMap (Closed)

Created:
4 years, 6 months ago by ikilpatrick
Modified:
4 years, 6 months ago
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

[Typed OM] Implement FilteredComputedStylePropertyMap This is needed for the CSS Paint API, as inside the paint callback only properties listed as inputProperties should exist in the style map. FilteredComputedStylePropertyMap takes a list of both the native and custom properties and accessors will throw if the property isn't in this list. BUG=578252 Committed: https://crrev.com/4382d59bb2da192a3ee29f9ae454afe348c4056e Cr-Commit-Position: refs/heads/master@{#398992}

Patch Set 1 #

Total comments: 8

Patch Set 2 : address comments. #

Patch Set 3 : CORE_EXPORT FilteredCSPMap #

Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -11 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSStyleDeclaration.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.h View 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/cssom/ComputedStylePropertyMap.cpp View 2 chunks +9 lines, -1 line 0 comments Download
A third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMap.h View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMap.cpp View 1 chunk +87 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMapTest.cpp View 1 1 chunk +111 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.h View 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/cssom/InlineStylePropertyMap.cpp View 1 2 chunks +10 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h View 2 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/css/cssom/StylePropertyMap.cpp View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
ikilpatrick
In a follow up patch I'll actually hook it up to custom paint once Eddy's ...
4 years, 6 months ago (2016-06-09 02:28:47 UTC) #4
shans
Approach LGTM. https://codereview.chromium.org/2054633002/diff/1/third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMap.cpp File third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMap.cpp (right): https://codereview.chromium.org/2054633002/diff/1/third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMap.cpp#newcode25 third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMap.cpp:25: { On 2016/06/09 at 02:28:47, ikilpatrick wrote: ...
4 years, 6 months ago (2016-06-09 03:49:05 UTC) #5
meade_UTC10
lgtm, everything seems fine to me.
4 years, 6 months ago (2016-06-09 04:31:07 UTC) #6
Timothy Loh
Just to confirm I'm reading the code correctly, this just adds bits of the stuff ...
4 years, 6 months ago (2016-06-09 07:53:38 UTC) #7
ikilpatrick
On 2016/06/09 07:53:38, Timothy Loh wrote: > Just to confirm I'm reading the code correctly, ...
4 years, 6 months ago (2016-06-09 17:36:36 UTC) #9
ikilpatrick
https://codereview.chromium.org/2054633002/diff/1/third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMapTest.cpp File third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMapTest.cpp (right): https://codereview.chromium.org/2054633002/diff/1/third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMapTest.cpp#newcode36 third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMapTest.cpp:36: Persistent<FilteredComputedStylePropertyMap> map = FilteredComputedStylePropertyMap::create(declaration(), nativeProperties, customProperties); On 2016/06/09 07:53:37, ...
4 years, 6 months ago (2016-06-09 17:36:50 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2054633002/40001
4 years, 6 months ago (2016-06-09 18:52:08 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-09 20:13:21 UTC) #15
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-09 20:13:24 UTC) #16
commit-bot: I haz the power
4 years, 6 months ago (2016-06-09 20:14:47 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4382d59bb2da192a3ee29f9ae454afe348c4056e
Cr-Commit-Position: refs/heads/master@{#398992}

Powered by Google App Engine
This is Rietveld 408576698