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

Issue 2166213002: Fire attributeChangedCallback on style changes for Custom Elements V1 (Closed)

Created:
4 years, 5 months ago by kojii
Modified:
4 years, 5 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-css, blink-reviews-dom_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, dominicc+watchlist_chromium.org, eae+blinkwatch, rwlbuis, sof, webcomponents-bugzilla_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fire attributeChangedCallback on style changes for Custom Elements V1 W3C discussion[1] resolved to allow observing the style attribute. CEReactions are added to CSSStyleDeclaration interface[2]. Ported from a canceled patch for Custom Elements V0[3]. [1] https://github.com/w3c/webcomponents/issues/521 [2] https://drafts.csswg.org/cssom/#cssstyledeclaration [3] https://codereview.chromium.org/1446933002 BUG=594918 Committed: https://crrev.com/48bf4aae854f6b6eb1340b05dedf14d9c52e9701 Cr-Commit-Position: refs/heads/master@{#407112}

Patch Set 1 #

Patch Set 2 : Fix typo #

Patch Set 3 : Fix build for unit tests #

Patch Set 4 : fix #

Total comments: 6

Patch Set 5 : dominicc review #

Messages

Total messages: 38 (27 generated)
kojii
PTAL. Thank you for your previous effort ;)
4 years, 5 months ago (2016-07-21 06:18:22 UTC) #8
dominicc (has gone to gerrit)
I'm glad we're making style attribute fire changes. Thank you for working on this. Comments ...
4 years, 5 months ago (2016-07-22 01:14:01 UTC) #19
kojii
All done, thank you. https://codereview.chromium.org/2166213002/diff/60001/third_party/WebKit/Source/core/css/CSSStyleDeclaration.idl File third_party/WebKit/Source/core/css/CSSStyleDeclaration.idl (right): https://codereview.chromium.org/2166213002/diff/60001/third_party/WebKit/Source/core/css/CSSStyleDeclaration.idl#newcode39 third_party/WebKit/Source/core/css/CSSStyleDeclaration.idl:39: [RaisesException=Setter, TreatNullAs=EmptyString] attribute DOMString cssFloat; ...
4 years, 5 months ago (2016-07-22 04:43:53 UTC) #23
dominicc (has gone to gerrit)
lgtm Very slick.
4 years, 5 months ago (2016-07-22 07:35:56 UTC) #27
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/2166213002/80001
4 years, 5 months ago (2016-07-22 07:36:08 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/223128)
4 years, 5 months ago (2016-07-22 07:41:40 UTC) #30
kojii
haraken@, PTAL for binding
4 years, 5 months ago (2016-07-22 08:19:48 UTC) #32
haraken
LGTM
4 years, 5 months ago (2016-07-22 08:28:03 UTC) #33
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/2166213002/80001
4 years, 5 months ago (2016-07-22 09:34:00 UTC) #35
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-22 09:37:22 UTC) #36
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 09:38:44 UTC) #38
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/48bf4aae854f6b6eb1340b05dedf14d9c52e9701
Cr-Commit-Position: refs/heads/master@{#407112}

Powered by Google App Engine
This is Rietveld 408576698