- From: Hayato Ito <notifications@github.com>
- Date: Mon, 06 Jul 2015 00:43:13 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Message-ID: <w3c/webcomponents/issues/256@github.com>
Title: [Decorators]: Alternative idea using CSS variables (bugzilla: 15479) Migrated from: https://www.w3.org/Bugs/Public/show_bug.cgi?id=15479 ---- comment: 0 comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=15479#c0 *Dimitri Glazkov* wrote on 2012-01-09 23:10:42 +0000. Goes like this: * There are no decorators in Web Components. Instead: * Whenever a CSS variable (http://dev.w3.org/csswg/css-variables/) changes, it fires a simple event (non-bubbling, non-cancellable). * There's a CSS-based method for building extra rendering blocks of around DOM elements (http://lists.w3.org/Archives/Public/www-style/2012Jan/0202.html). The latter allows us to avoid creating a markup-based vehicle to generate rendering blocks. The former allow us to send signals down to custom elements whenever rule starts/stops matching. ---- comment: 1 comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=15479#c1 *Dimitri Glazkov* wrote on 2012-01-09 23:16:43 +0000. Comments are welcome. ---- comment: 2 comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=15479#c2 *Tab Atkins Jr.* wrote on 2012-01-10 01:34:40 +0000. I'm confused by the simple event. What does it fire on? How do you envision this helping? ---- comment: 3 comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=15479#c3 *Dimitri Glazkov* wrote on 2012-01-10 03:57:51 +0000. (In reply to comment #2) > I'm confused by the simple event. What does it fire on? > > How do you envision this helping? You're confused?! Imagine me re-reading what I wrote. I blame it on a bad batch of crack. I'll rewrite this better tomorrow. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/256
Received on Monday, 6 July 2015 07:44:20 UTC