<?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: My problem with HTML 5 &#8211; Styling &lt;meter&gt;</title>
	<atom:link href="http://www.steveworkman.com/web-design/html-5-web-design/2009/my-problem-with-html-5-styling-meter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.steveworkman.com/html5-2/2009/my-problem-with-html-5-styling-meter/</link>
	<description>I&#039;ve been designing and building web sites since 2003. This is my personal site. You&#039;ll find my work, insight and ramblings within</description>
	<lastBuildDate>Tue, 06 Dec 2011 13:47:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: axel</title>
		<link>http://www.steveworkman.com/html5-2/2009/my-problem-with-html-5-styling-meter/comment-page-1/#comment-841</link>
		<dc:creator>axel</dc:creator>
		<pubDate>Sat, 19 Jun 2010 06:06:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.steveworkman.com/?p=162#comment-841</guid>
		<description>I read the same article and played around with css only solutions (look at http://www.am530.de/lab/html5/meter.php). But even if it is possible to reach the styling goal in some browsers, it is not pratical at all. As long as you can&#039;t calculate in CSS (which is in the draft - http://www.w3.org/TR/2006/WD-css3-values-20060919/#calc), in combination with using of attribute values, CSS will never be the way to enhance the meter and / or progress element. 
Firefox 4.0 (http://hacks.mozilla.org/2010/06/css3-calc/) might be the first browser which can understand calculations, but if it is possible to use it together with attrs(), I don&#039;t know.
I think bruce is right, javascript (maybe in combination with canvas) will be the best way to handle the meter element for next few years.</description>
		<content:encoded><![CDATA[<p>I read the same article and played around with css only solutions (look at <a href="http://www.am530.de/lab/html5/meter.php" rel="nofollow">http://www.am530.de/lab/html5/meter.php</a>). But even if it is possible to reach the styling goal in some browsers, it is not pratical at all. As long as you can&#8217;t calculate in CSS (which is in the draft &#8211; <a href="http://www.w3.org/TR/2006/WD-css3-values-20060919/#calc" rel="nofollow">http://www.w3.org/TR/2006/WD-css3-values-20060919/#calc</a>), in combination with using of attribute values, CSS will never be the way to enhance the meter and / or progress element.<br />
Firefox 4.0 (<a href="http://hacks.mozilla.org/2010/06/css3-calc/" rel="nofollow">http://hacks.mozilla.org/2010/06/css3-calc/</a>) might be the first browser which can understand calculations, but if it is possible to use it together with attrs(), I don&#8217;t know.<br />
I think bruce is right, javascript (maybe in combination with canvas) will be the best way to handle the meter element for next few years.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bruce</title>
		<link>http://www.steveworkman.com/html5-2/2009/my-problem-with-html-5-styling-meter/comment-page-1/#comment-732</link>
		<dc:creator>bruce</dc:creator>
		<pubDate>Thu, 15 Oct 2009 14:47:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.steveworkman.com/?p=162#comment-732</guid>
		<description>Good article Steve

Your problem reminds me of the stylable forms problem. There aren&#039;t CSS hooks into the new elements yet, because HTML 5 is a markup language, not a styling language. The CSS working groups won&#039;t want to start specifying properties etc on a spec that&#039;s still in flux.

It would be  nice to be able to do maths with the CSS. But you can style it to some extent. With the server, do the maths: so if your min is 0, your max is 75 and current value is 25, set an inline style to be width:33%. You can style a legend, I imagine, by using meter:before {content: attr(min);} and meter:after {content: attr(max);}

Here&#039;s a crappy example I knocked up in a couple of minutes http://people.opera.com/brucel/dev/html5-meter-style.html 

But I don&#039;t have any moral objection to having to use JS to make the meter look all snazzy.</description>
		<content:encoded><![CDATA[<p>Good article Steve</p>
<p>Your problem reminds me of the stylable forms problem. There aren&#8217;t CSS hooks into the new elements yet, because HTML 5 is a markup language, not a styling language. The CSS working groups won&#8217;t want to start specifying properties etc on a spec that&#8217;s still in flux.</p>
<p>It would be  nice to be able to do maths with the CSS. But you can style it to some extent. With the server, do the maths: so if your min is 0, your max is 75 and current value is 25, set an inline style to be width:33%. You can style a legend, I imagine, by using meter:before {content: attr(min);} and meter:after {content: attr(max);}</p>
<p>Here&#8217;s a crappy example I knocked up in a couple of minutes <a href="http://people.opera.com/brucel/dev/html5-meter-style.html" rel="nofollow">http://people.opera.com/brucel/dev/html5-meter-style.html</a> </p>
<p>But I don&#8217;t have any moral objection to having to use JS to make the meter look all snazzy.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

