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

Issue 1446933002: Queue Custom Element attribute changes arising from style mutations. (Closed)

Created:
5 years, 1 month ago by dominicc (has gone to gerrit)
Modified:
5 years, 1 month ago
Reviewers:
esprehn
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-css, blink-reviews-style_chromium.org, Inactive, chromium-reviews, dglazkov+blink, rwlbuis, vivekg_samsung, vivekg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Queue Custom Element attribute changes arising from style mutations. Elements' inline style attributes are synchronized lazily with the CSS property set. Custom Elements were not hooked into this mechanism, and did not fire attributeChangedCallbacks when properties were modified through the element's 'style' property. BUG=492176

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -12 lines) Patch
M third_party/WebKit/LayoutTests/fast/dom/custom/attribute-changed-callback.html View 1 chunk +20 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp View 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSStyleDeclaration.idl View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp View 5 chunks +19 lines, -8 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
dominicc (has gone to gerrit)
PTAL
5 years, 1 month ago (2015-11-16 06:58:19 UTC) #2
esprehn
Hmm, I think we want to get the spec changed so we can batch this ...
5 years, 1 month ago (2015-11-16 07:36:14 UTC) #3
dglazkov
On 2015/11/16 at 07:36:14, esprehn wrote: > Hmm, I think we want to get the ...
5 years, 1 month ago (2015-11-16 15:55:30 UTC) #4
dominicc (has gone to gerrit)
On 2015/11/16 at 15:55:30, dglazkov wrote: > On 2015/11/16 at 07:36:14, esprehn wrote: > > ...
5 years, 1 month ago (2015-11-17 01:27:33 UTC) #5
esprehn
Yeah I think we should just leave this broken for now and file a spec ...
5 years, 1 month ago (2015-11-17 01:30:20 UTC) #6
dominicc (has gone to gerrit)
5 years, 1 month ago (2015-11-17 04:10:49 UTC) #7
On 2015/11/17 at 01:30:20, esprehn wrote:
> Yeah I think we should just leave this broken for now and file a spec issue, I
don't think conforming to the spec and making existing apps slower is worth it
yet.
> 
> I wonder if we should make you list what attributes you care about in
registerElement, you could do "*" to get everything and be slow, or instead be
explicit and we'd filter for you. We should talk to Polymer and see if they'd
use the more restrictive and fast list, or if they'd just end up doing "*".

I have filed https://github.com/w3c/webcomponents/issues/350

Powered by Google App Engine
This is Rietveld 408576698