<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: CSS Variables Specification</title>
	<atom:link href="http://www.stubbornella.org/content/2010/06/22/css-variables-specification/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stubbornella.org/content/2010/06/22/css-variables-specification/</link>
	<description>A Term of Endearment</description>
	<lastBuildDate>Mon, 07 May 2012 17:31:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Florent V.</title>
		<link>http://www.stubbornella.org/content/2010/06/22/css-variables-specification/comment-page-1/#comment-15580</link>
		<dc:creator>Florent V.</dc:creator>
		<pubDate>Tue, 24 Aug 2010 13:23:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=519#comment-15580</guid>
		<description>(Commenting a bit late, but still.)

@Nicole Sullivan: I like your proposal, but I didn&#039;t understand if your variables were really variables or closer to constants. The section on programmatic access only shows how to get the value of a “variable”, and not how to SET it. So my guess is you don&#039;t intend for full variables that you can change in JavaScript (which would cause the browser to keep track of which computed values are linked to a CSS variable and should be computed again when the variable change).

If your variables can&#039;t be set programmatically, then maybe you should call them constants instead? That might help relieve the stress of implementors. :)

@Michael Kozakewich As someone already pointed out, there is calc() in CSS3 for what you ask for already. What&#039;s more, your example doesn&#039;t require you to compute the width... you could just use the box-sizing property and switch that element to a border-box model. Good news: there are several implementations of box-sizing already.</description>
		<content:encoded><![CDATA[<p>(Commenting a bit late, but still.)</p>
<p>@Nicole Sullivan: I like your proposal, but I didn&#8217;t understand if your variables were really variables or closer to constants. The section on programmatic access only shows how to get the value of a “variable”, and not how to SET it. So my guess is you don&#8217;t intend for full variables that you can change in JavaScript (which would cause the browser to keep track of which computed values are linked to a CSS variable and should be computed again when the variable change).</p>
<p>If your variables can&#8217;t be set programmatically, then maybe you should call them constants instead? That might help relieve the stress of implementors. <img src='http://www.stubbornella.org/content/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>@Michael Kozakewich As someone already pointed out, there is calc() in CSS3 for what you ask for already. What&#8217;s more, your example doesn&#8217;t require you to compute the width&#8230; you could just use the box-sizing property and switch that element to a border-box model. Good news: there are several implementations of box-sizing already.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: totes profesh&#187; Blog Archive &#187; 10 web revolutionaries</title>
		<link>http://www.stubbornella.org/content/2010/06/22/css-variables-specification/comment-page-1/#comment-15506</link>
		<dc:creator>totes profesh&#187; Blog Archive &#187; 10 web revolutionaries</dc:creator>
		<pubDate>Sat, 14 Aug 2010 22:09:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=519#comment-15506</guid>
		<description>[...] 10. Nicole Sullivan [...]</description>
		<content:encoded><![CDATA[<p>[...] 10. Nicole Sullivan [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Sullins</title>
		<link>http://www.stubbornella.org/content/2010/06/22/css-variables-specification/comment-page-1/#comment-15499</link>
		<dc:creator>Chris Sullins</dc:creator>
		<pubDate>Fri, 13 Aug 2010 04:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=519#comment-15499</guid>
		<description>@Chad &#8211; I&#039;ve gotten the impression that CSS is simple largely &lt;em&gt;because of&lt;/em&gt; concepts like the cascade.  Anything that breaks out of it vastly complicates what is possible, and what browsers have to deal with.  delegation, for example, would allow contradictory (or infinite) expressions like this:

li { height: parent-height; }

I think most people want delegation for layout purposes, whereas they want variables to allow maintenance and modularity.  For layout, check out the flexbox module.  It gives you equal-height and any-order columns (not to mention good vertical alignment options).

Unlike delegation, variables (or constants; neither is entirely accurate) are safe.  And Bert Bos&#039;s argument that they are equivalent to a preprocessor is incorrect in at least one important respect: with a preprocessor you can&#039;t override a global variable with a local one using the cascade.  This is critical.</description>
		<content:encoded><![CDATA[<p>@Chad &ndash; I&#8217;ve gotten the impression that CSS is simple largely <em>because of</em> concepts like the cascade.  Anything that breaks out of it vastly complicates what is possible, and what browsers have to deal with.  delegation, for example, would allow contradictory (or infinite) expressions like this:</p>
<p>li { height: parent-height; }</p>
<p>I think most people want delegation for layout purposes, whereas they want variables to allow maintenance and modularity.  For layout, check out the flexbox module.  It gives you equal-height and any-order columns (not to mention good vertical alignment options).</p>
<p>Unlike delegation, variables (or constants; neither is entirely accurate) are safe.  And Bert Bos&#8217;s argument that they are equivalent to a preprocessor is incorrect in at least one important respect: with a preprocessor you can&#8217;t override a global variable with a local one using the cascade.  This is critical.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad von Nau</title>
		<link>http://www.stubbornella.org/content/2010/06/22/css-variables-specification/comment-page-1/#comment-14540</link>
		<dc:creator>Chad von Nau</dc:creator>
		<pubDate>Mon, 19 Jul 2010 09:45:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=519#comment-14540</guid>
		<description>@Meitar Totally with you. 

Delegation would give you the best parts of variables (only having to specify properties once) without cluttering up the beautifully simple language that is CSS. If that weren&#039;t enough, the idea of relationships that exist not just between parents / children / siblings, but between ANY elements is enough to make my mouth water. 

I&#039;d also like to see basic math added to CSS, but that seems like it&#039;s already in the pipe in the form of calc() http://hacks.mozilla.org/2010/06/css3-calc/ The future&#039;s so bright, I gotta wear shades B)</description>
		<content:encoded><![CDATA[<p>@Meitar Totally with you. </p>
<p>Delegation would give you the best parts of variables (only having to specify properties once) without cluttering up the beautifully simple language that is CSS. If that weren&#8217;t enough, the idea of relationships that exist not just between parents / children / siblings, but between ANY elements is enough to make my mouth water. </p>
<p>I&#8217;d also like to see basic math added to CSS, but that seems like it&#8217;s already in the pipe in the form of calc() <a href="http://hacks.mozilla.org/2010/06/css3-calc/" rel="nofollow">http://hacks.mozilla.org/2010/06/css3-calc/</a> The future&#8217;s so bright, I gotta wear shades B)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicole Sullivan</title>
		<link>http://www.stubbornella.org/content/2010/06/22/css-variables-specification/comment-page-1/#comment-14279</link>
		<dc:creator>Nicole Sullivan</dc:creator>
		<pubDate>Wed, 07 Jul 2010 07:13:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=519#comment-14279</guid>
		<description>@Jesse - there are already namespaces somewhere in the variables spec... Someone linked to it from here (or maybe on twitter?), but the spec made my brain melt. I need to try again.</description>
		<content:encoded><![CDATA[<p>@Jesse &#8211; there are already namespaces somewhere in the variables spec&#8230; Someone linked to it from here (or maybe on twitter?), but the spec made my brain melt. I need to try again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse</title>
		<link>http://www.stubbornella.org/content/2010/06/22/css-variables-specification/comment-page-1/#comment-14278</link>
		<dc:creator>Jesse</dc:creator>
		<pubDate>Wed, 07 Jul 2010 04:03:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=519#comment-14278</guid>
		<description>I&#039;m in the variable camp.  I want to keep the style confined to the CSS layer with a little flexibility to abstract common styles into variables.  Once we start mixing styles into the server layer with PHP or even on the client with JS, we lose the clean separation of style and behavior/structure.

@Nicole, re: section 1.1.2 (Resolving duplicates via the cascade).  In my work, I&#039;ve dealt a lot with &quot;base&quot; styles and &quot;client&quot; styles, meaning the styles sheets that a customer might include through a wrapper or subsequent themeing on top of what I&#039;ve built.  It&#039;s made me sensitive to avoiding clashes between my class names and the clients&#039; leading to heavy prefixing of classes e.g. .ez-col or .ez-vertical.  It&#039;s made me wish for wide @namespace support.  

Do you think we&#039;ll see @namespace support in the next 2 years (perhaps with IE9) and should this spec address that?  You address @media.  Would one be able to store variables in a @namespace?</description>
		<content:encoded><![CDATA[<p>I&#8217;m in the variable camp.  I want to keep the style confined to the CSS layer with a little flexibility to abstract common styles into variables.  Once we start mixing styles into the server layer with PHP or even on the client with JS, we lose the clean separation of style and behavior/structure.</p>
<p>@Nicole, re: section 1.1.2 (Resolving duplicates via the cascade).  In my work, I&#8217;ve dealt a lot with &#8220;base&#8221; styles and &#8220;client&#8221; styles, meaning the styles sheets that a customer might include through a wrapper or subsequent themeing on top of what I&#8217;ve built.  It&#8217;s made me sensitive to avoiding clashes between my class names and the clients&#8217; leading to heavy prefixing of classes e.g. .ez-col or .ez-vertical.  It&#8217;s made me wish for wide @namespace support.  </p>
<p>Do you think we&#8217;ll see @namespace support in the next 2 years (perhaps with IE9) and should this spec address that?  You address @media.  Would one be able to store variables in a @namespace?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 10 web revolutionaries &#171; garann means</title>
		<link>http://www.stubbornella.org/content/2010/06/22/css-variables-specification/comment-page-1/#comment-14250</link>
		<dc:creator>10 web revolutionaries &#171; garann means</dc:creator>
		<pubDate>Mon, 05 Jul 2010 05:59:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=519#comment-14250</guid>
		<description>[...] 10. Nicole Sullivan [...]</description>
		<content:encoded><![CDATA[<p>[...] 10. Nicole Sullivan [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Java Tutorial?</title>
		<link>http://www.stubbornella.org/content/2010/06/22/css-variables-specification/comment-page-1/#comment-14090</link>
		<dc:creator>Java Tutorial?</dc:creator>
		<pubDate>Sun, 27 Jun 2010 14:49:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=519#comment-14090</guid>
		<description>[...] Stubbornella &#187; Blog Archive &#187; CSS Variables Specification [...]</description>
		<content:encoded><![CDATA[<p>[...] Stubbornella &raquo; Blog Archive &raquo; CSS Variables Specification [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Kozakewich</title>
		<link>http://www.stubbornella.org/content/2010/06/22/css-variables-specification/comment-page-1/#comment-14009</link>
		<dc:creator>Michael Kozakewich</dc:creator>
		<pubDate>Tue, 22 Jun 2010 21:10:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=519#comment-14009</guid>
		<description>Variables would simplify things a little, but any real programmer would just code their CSS sheets in PHP or such.

What I&#039;m really looking forward to is the ability to specify {width:80%-2em;}
Without that, you basically have to create a div at 80%, and then create another div with width:auto and a 1em padding.</description>
		<content:encoded><![CDATA[<p>Variables would simplify things a little, but any real programmer would just code their CSS sheets in PHP or such.</p>
<p>What I&#8217;m really looking forward to is the ability to specify {width:80%-2em;}<br />
Without that, you basically have to create a div at 80%, and then create another div with width:auto and a 1em padding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://www.stubbornella.org/content/2010/06/22/css-variables-specification/comment-page-1/#comment-14008</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Tue, 22 Jun 2010 21:08:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.stubbornella.org/content/?p=519#comment-14008</guid>
		<description>Why document.stylesheetVars rather than include the vars in a collection per stylesheet object, ala document.stylesheets[0].vars?</description>
		<content:encoded><![CDATA[<p>Why document.stylesheetVars rather than include the vars in a collection per stylesheet object, ala document.stylesheets[0].vars?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Served from: www.stubbornella.org @ 2012-05-16 18:46:27 by W3 Total Cache -->
