This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15147 - [Explainer]: When does a document change state such that the decorator no longer applies?
Summary: [Explainer]: When does a document change state such that the decorator no lon...
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 14949
  Show dependency treegraph
 
Reported: 2011-12-12 18:45 UTC by Divya Manian
Modified: 2011-12-21 20:41 UTC (History)
0 users

See Also:


Attachments

Description Divya Manian 2011-12-12 18:45:27 UTC
"If the document changes so that the decorate property no longer applies, the decorator is unapplied, returning the rendering of the element back to the pre-decoration state."

Is there a situation that would arise other than the selector no longer matching?
Comment 1 Dimitri Glazkov 2011-12-21 20:41:52 UTC
There's one more case of inline styles:

element.style.decorate = 'url(#foo)';

...

element.style.removeProperty('decorate');

BTW, the property needed to be in proper code tags and it was typo'd.

http://dvcs.w3.org/hg/webcomponents/rev/d6fdec24c4ea