<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    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/"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    >

<channel>
    <title>Webmonkey &#187; Web Standards</title>
    <atom:link href="http://www.webmonkey.com/tag/web-standards/feed/" rel="self" type="application/rss+xml" />
    <link>http://www.webmonkey.com</link>
    <description>The Web Developer&#039;s Resource</description>
    <lastBuildDate>Mon, 06 May 2013 17:29:19 +0000</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <generator>http://wordpress.org/?v=3.4.2</generator>
    
    <item>
        <title>Adobe&#8217;s CSS Shaders Now an Official W3C Editor&#8217;s Draft</title>
        <link>http://www.webmonkey.com/2012/09/adobes-css-shaders-now-an-official-web-standard/</link>
        <comments>http://www.webmonkey.com/2012/09/adobes-css-shaders-now-an-official-web-standard/#comments</comments>
        <pubDate>Tue, 04 Sep 2012 18:10:09 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=58840</guid>
        		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[adobe]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2012/09/css-shaders-w.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2012/09/css-shaders-w.jpg" alt="Adobe&#8217;s CSS Shaders Now an Official W3C Editor&#8217;s Draft" /></div>Adobe is intent on giving the web more than just the oft-vilified Flash plugin. In fact the company has been busy proposing web standards for some time, and its CSS Shaders proposal is now officially part of the CSS 3 specification.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><iframe width="560" height="315" src="http://www.youtube-nocookie.com/embed/NZRqnohI3m4?rel=0" frameborder="0" allowfullscreen></iframe></p>
<p>Adobe&#8217;s CSS Shaders proposal, which will bring high-quality cinematic effects to the web through some new CSS tools, has been <a href="http://blogs.adobe.com/webplatform/2012/08/31/css-shaders-now-in-css-filter-effects-specification/">accepted by the World Wide Web Consortium</a> (W3C). </p>
<p>That means CSS Shaders will become a web standard, though not on their own; instead the W3C is going to roll CSS Shaders into the <a href="https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html">CSS Filter Effects specification</a>. The feature formerly known as Shaders will now be referred to as Custom Filters</p>
<p>The original name &#8220;Shader&#8221; has its roots in the 3-D graphics world and roughly describes what &#8220;Custom Filters&#8221; will do, namely create 3-D effects, like the rippling motion in a waving flag, by &#8220;shading&#8221; regions. </p>
<p>In the end the name isn&#8217;t that important; just know that Custom Filters will allow web developers to easily apply cinema-style filter effects to any HTML content. Think grayscale-to-color transitions, animated shadows, photo-realistic warping and other mainstays of the 3-D animation world. </p>
<p>You&#8217;ll still need a special build of WebKit that Adobe put together to see Custom Filters in action. You can grab the experimental browser from <a href="http://adobe.github.com/web-platform/samples/css-customfilters/">the GitHub page</a>, where you&#8217;ll also find plenty of examples and sample code that show how shaders, er, Custom Filters work. Also be sure to check out Adobe&#8217;s <a href="http://www.adobe.com/devnet/html5/articles/css-shaders.html">earlier write-up on how Filters work</a> and how you can use them.</p>
<p>Now that Shaders are an official part of CSS, hopefully web browsers will begin adding support.</p>
<p>[<b>Update:</b>The original title of this post was Adobe's CSS Shaders Now an Official Web Standard, wherein I intended "Official Web Standard" to mean "a part of the web standards process", not actually a published W3C recommendation. Judging by the comments that's how most of you took it, but of course it was definitely possible to read it as something more than it actually is, so the headline has been updated to clarify that point.]</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/09/adobes-css-shaders-now-an-official-web-standard/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>&#8216;Vendor Tokens&#8217; Offer Another Way Out of the CSS Prefix Mess</title>
        <link>http://www.webmonkey.com/2012/05/vendor-tokens-offer-another-way-out-of-the-css-prefix-mess/</link>
        <comments>http://www.webmonkey.com/2012/05/vendor-tokens-offer-another-way-out-of-the-css-prefix-mess/#comments</comments>
        <pubDate>Fri, 11 May 2012 17:38:02 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=56481</guid>
        		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Prefixes]]></category>
		<category><![CDATA[Web Standards]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2012/05/css-mess-w.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2012/05/css-mess-w.jpg" alt="&#8216;Vendor Tokens&#8217; Offer Another Way Out of the CSS Prefix Mess" /></div>A new proposal to fix CSS vendor prefixes uses a little bit of the past to make the future look better. It's just a proposal, but CSS expert Eric Meyer thinks "Vendor Tokens" just might offer a solution to the fractured world of CSS.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><div id="attachment_47951" class="wp-caption alignleft" style="width: 213px"><a href="http://www.webmonkey.com/wp-content/uploads/2010/07/Sisifus_the_faculties.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/Sisifus_the_faculties-203x300.jpg" alt="Sisyphus" title="Sisifus_the_faculties" width="203" height="300" class="size-medium wp-image-47951" /></a><p class="wp-caption-text"><a href='https://commons.wikimedia.org/wiki/File:Sisifus_the_faculties.jpg'>Sisyphus</a>, by Max Klinger. The four ladies up top are named Gecko, WebKit, Trident and Presto. <em>Image: Max Klinger via Wikimedia</em></p></div>
<p>CSS expert Eric Meyer thinks that a new proposal, <a href="http://lists.w3.org/Archives/Public/www-style/2012Apr/0797.html">CSS Vendor Tokens</a>, might offer a way out of the CSS vendor prefixes mess. </p>
<p>CSS vendor prefixes were designed to help web developers by providing a way to target CSS rules to specific browsers and use proposed standards before they were finalized. Alas, while they have helped, they&#8217;ve also <a href="http://www.webmonkey.com/2012/02/webkit-isnt-breaking-the-web-you-are/">hurt the web</a>.</p>
<p>The W3C&#8217;s CSS Working Group is currently in the process of trying to fix some of the problems. We&#8217;ve covered <a href="http://www.webmonkey.com/2012/05/new-proposal-could-end-the-css-prefix-madness/">one proposed solution</a> from Florian Rivoal, which would make vendor prefixes into aliases and ensure that when a browser implements a new CSS feature, it will work both prefixed and unprefixed.</p>
<p>Another proposal that Meyer wrote to tell us about comes from François Remy, who proposes what he calls Vendor Tokens. &#8220;I propose we use unprefixed properties from start,&#8221; writes Remy in <a href="http://lists.w3.org/Archives/Public/www-style/2012Apr/0797.html">a message to the www-style mailing list</a>, &#8220;but with a token explaining which version of the property we built our CSS for.&#8221;</p>
<p>Essentially what Remy proposes is to use a flag much like <code>!important</code>, but to signal which version of the CSS property the rule is aimed at. The advantage is that instead of targeting browsers directly, you&#8217;re targeting a draft version of the spec.</p>
<p>Here&#8217;s Remy&#8217;s example of the syntax:</p>
<pre class="brush: css">
selector {
    border-radius: 1em !webkit-draft;
}
</pre>
<p>It&#8217;s a bit less typing than the current method, which would require four lines to convey the same information and, as <a href="http://meyerweb.com/eric/thoughts/2012/05/08/vendor-tokens/">Meyer suggests</a>, dropping the <code>-draft</code> would simplify things even more. But more important than a simpler syntax is that, as Remy explains it: &#8220;any browser which is not webkit but implemented border-radius in a way that is compatible with the &#8216;webkit draft&#8217; can support the declaration.&#8221; That&#8217;s a little different than vendor prefixes. With Remy&#8217;s proposal other browsers wouldn&#8217;t need to <a href="http://www.webmonkey.com/2012/04/opera-forges-ahead-with-plan-to-support-webkit-prefixes/">impersonate webkit</a>, &#8220;they just acknowledge they support one specific property the way the webkit draft defines it.&#8221;</p>
<p>So a more full-featured declaration might look like this:</p>
<pre class="brush: js">
selector {
    border-radius: 1em !webkit-draft !moz-draft !o-draft;
}
</pre>
<p>Remy also includes a way to handle scenarios where Apple&#8217;s version of WebKit might differ from Google&#8217;s or even account for differences in versions of the spec. </p>
<p>As Remy admits, there are some drawbacks to this approach, and the syntax isn&#8217;t the cleanest we&#8217;ve seen, but as Meyer writes, &#8220;it feels cleaner than trying to do the same thing with prefixes.&#8221;</p>
<p>It will likely be some time before the CSS Working Group makes a decision on what, if anything, to do about vendor prefixes. If you&#8217;re interested in keeping up with the discussion on this and other proposals keep an eye on the <a href="http://lists.w3.org/Archives/Public/www-style/">www-style mailing list</a>.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/05/vendor-tokens-offer-another-way-out-of-the-css-prefix-mess/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Opera Forges Ahead With Plan to Support WebKit Prefixes</title>
        <link>http://www.webmonkey.com/2012/04/opera-forges-ahead-with-plan-to-support-webkit-prefixes/</link>
        <comments>http://www.webmonkey.com/2012/04/opera-forges-ahead-with-plan-to-support-webkit-prefixes/#comments</comments>
        <pubDate>Fri, 27 Apr 2012 19:01:40 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=55975</guid>
        		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[Opera]]></category>
        <description><![CDATA[Opera software says that in order to remain competitive it will have to pick up the slack from web developers and implement a CSS prefix meant only for WebKit browsers. Mozilla's Firefox may not be far behind.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><div id="attachment_54287" class="wp-caption alignnone" style="width: 590px"><img class="size-full wp-image-54287 " title="tabletscreens" src="http://www.webmonkey.com/wp-content/uploads/2012/02/tabletscreens.jpg" alt="" width="580" height="387" /><p class="wp-caption-text">Even the mobile web is more than just WebKit. <em>Photo: Ariel Zambelich/Wired.com</em></p></div>Opera software will make good on its <a href="http://www.webmonkey.com/2012/02/webkit-isnt-breaking-the-web-you-are/">plan to implement the <code>-webkit-</code> prefix</a> in the Opera web browser. To give developers a taste of what that will entail the company has <a href="http://dev.opera.com/articles/view/opera-mobile-emulator-experimental-webkit-prefix-support/">released an update for its mobile emulator</a> with support for the <code>-webkit-</code> prefix.</p>
<p>CSS vendor prefixes were designed to help web developers by giving them a way to target CSS to specific browsers and use proposed standards before they were finalized. The idea was to move the web forward without rushing the CSS standards process.  Unfortunately, it hasn&#8217;t always worked out that way. In fact, web developers fell in love with the <code>-webkit-</code> prefix and often forget that there are other prefixes as well: <code>-o-</code> for Opera, <code>-moz-</code> for Firefox and <code>-ms-</code> for Internet Explorer.</p>
<p>Now Opera says that to remain competitive it plans to support <code>-webkit-</code> in addition to its normal <code>-o-</code> prefix.</p>
<p>The problem, in Opera&#8217;s view, is that instead of writing code that will work in any web browser, some of even the largest sites on the web are <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=708406">coding exclusively for WebKit</a> (the rendering engine that powers web browsers on the iPhone, iPad and Android phones). Web developers have, the argument goes, created the same sort of monoculture that used to exist around Internet Explorer, with websites proudly proclaiming they &#8220;work best in WebKit.&#8221;</p>
<p>In most cases Opera, Firefox and Internet Explorer support the same CSS features found in WebKit. The problem is that developers are only using the <code>-webkit</code> prefix, so only WebKit browsers render the effects. As a result, Opera, Firefox and IE look like less capable browsers even when they aren&#8217;t.</p>
<p>Opera web evangelist Bruce Lawson <a href="http://dev.opera.com/articles/view/opera-mobile-emulator-experimental-webkit-prefix-support/">writes on the Opera development blog</a>, &#8220;this leads to a reduced user experience on Opera and Firefox, which don&#8217;t receive the same shiny effects such as transitions, gradients and the like, <em>even if the browser supported those effects</em>&#8221; (emphasis in original). </p>
<p>Non-WebKit browser vendors first started talking about implementing the <code>-webkit</code> prefix earlier this year <a href="http://lists.w3.org/Archives/Public/www-style/2012Feb/0313.html">during a CSS Working Group meeting</a>. Microsoft, Mozilla and Opera all said they felt the need to support <code>-webkit</code>, lest their users be relegated to an inferior browsing experience (because so many sites are using only the <code>-webkit</code> prefix).</p>
<p>While it&#8217;s not hard to understand Opera&#8217;s position, we&#8217;re disappointed to see Opera moving forward with this plan.</p>
<p>The very real danger is that if other browsers implement <code>-webkit</code> prefixes then the entire CSS standards effort will be broken.</p>
<p>Instead of coding against a single CSS specification developers will need to code against changing vendor prefixes. As CSS Working Group co-chair, Daniel Glazman, wrote when Opera first floated the idea, &#8220;I don&#8217;t think this is the right way. And this is the first time in this WG that we are proposing to do things that are not the right way.&#8221;</p>
<p>We at Webmonkey hope it&#8217;s obvious that building WebKit-only sites is a mistake. If you&#8217;re only interested in iOS users then take a tip from Instagram and build a native app. As Peter Linss, Hewlett-Packard&#8217;s CSS WG representative and co-chair of the working group, said at the earlier CSS WG meeting, &#8220;there&#8217;s no advantage to the web to have someone write a platform-specific website.&#8221; There&#8217;s no real advantage for the developer either, especially when an <a href="https://github.com/myfreeweb/cssprefixer">automated CSS prefixer</a> can do all the work for you. So, if you&#8217;re using prefixes, we encourage you to take the time to add them all, test your site in as many browsers as possible and <a href="http://www.webmonkey.com/2012/01/building-a-responsive-future-friendly-web-for-everyone/">make sure your site works for everyone</a>. </p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/04/opera-forges-ahead-with-plan-to-support-webkit-prefixes/feed/</wfw:commentRss>
        <slash:comments>2</slash:comments>

        
    </item>
    
    <item>
        <title>W3C Publishes an HTML5 Spec for Web Developers</title>
        <link>http://www.webmonkey.com/2011/08/w3c-publishes-an-html5-spec-for-web-developers/</link>
        <comments>http://www.webmonkey.com/2011/08/w3c-publishes-an-html5-spec-for-web-developers/#comments</comments>
        <pubDate>Wed, 10 Aug 2011 16:19:33 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=51326</guid>
        		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Web Standards]]></category>
        <description><![CDATA[Chances are, despite embracing the tools therein, you&#8217;ve probably never read the HTML5 spec. We don&#8217;t blame you. Frankly the worst part of this job is when we have to translate gibberish from the actual HTML5 spec into words normal humans can understand. The problem is that the HTML5 spec is written for browser makers, [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><img src="http://www.webmonkey.com/wp-content/uploads/2011/01/html5logo.jpg" width="200" />Chances are, despite embracing the tools therein, you&#8217;ve probably never read the HTML5 spec. We don&#8217;t blame you. Frankly the worst part of this job is when we have to translate gibberish from the actual HTML5 spec into words normal humans can understand.</p>
<p> The problem is that the HTML5 spec is written for browser makers, not web developers, and contains highly technical and very esoteric language.</p>
<p>Earlier this year the <a href="http://www.webmonkey.com/2011/02/html5-for-web-developers/">WHATWG released</a> a much more readable &quot;<a href="http://developers.whatwg.org/">web developer edition</a>&quot; of the HTML5 spec. Now, not to be outdone, the W3C&#8217;s HTML Working Group has <a href="http://www.w3.org/News/2011.html#entry-9169">published</a> a draft of its own more readable spec, the <a href="http://www.w3.org/TR/html5-author/">HTML5: Edition for Web Authors</a>. </p>
<p>The W3C&#8217;s web developer version of the spec is still more technical than the WHATWG&#8217;s version, and nowhere near as nice to look at, but at least you can read the HTML5 spec without all the notes about conformance criteria and other browser maker-specific lingo. Flipping between the two web developer versions it&#8217;s actually not hard to wrap your head around <a href="http://www.webmonkey.com/2010/09/test-your-markup-smarts-with-html5-simplequiz/">when to use &lt;section&gt; and when to use &lt;article&gt;</a>. </p>
<p>Now, if only we never had to explain <a href="http://www.webmonkey.com/glossary/the-difference-between-the-whatwg-and-the-htmlwg/">the difference between the WHATWG and the W3C HTML Working Group</a> again.</p>
<p><strong>See Also:</strong><br/></p>
<ul>
<li><a href="http://www.webmonkey.com/2011/02/html5-for-web-developers/">HTML5 for Web Developers</a></li>
<li><a href="http://www.webmonkey.com/2010/09/test-your-markup-smarts-with-html5-simplequiz/">Test Your Markup Smarts With HTML5 Simplequiz</a></li>
<li><a href="http://www.webmonkey.com/glossary/the-difference-between-the-whatwg-and-the-htmlwg/">The Difference Between the WHATWG and the HTMLWG</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2011/08/w3c-publishes-an-html5-spec-for-web-developers/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>HTML5 for Web Developers</title>
        <link>http://www.webmonkey.com/2011/02/html5-for-web-developers/</link>
        <comments>http://www.webmonkey.com/2011/02/html5-for-web-developers/#comments</comments>
        <pubDate>Wed, 23 Feb 2011 16:32:38 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=49991</guid>
        		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Web Standards]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2011/02/whatwgwebdevelopers.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2011/02/whatwgwebdevelopers.jpg" alt="HTML5 for Web Developers" /></div>If you&#8217;ve ever tried to wrestled your way through the complexities of the HTML5 specification, we&#8217;ve got good news &#8212; there&#8217;s now a &#8220;web developer edition.&#8221; The main HTML5 spec can be overwhelming for web developers trying to understand how to use HTML5 in their sites and web apps. Much of the spec is written [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><a href="http://www.webmonkey.com/wp-content/uploads/2011/02/whatwgwebdevelopers.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2011/02/whatwgwebdevelopers.jpg" alt="" title="whatwgwebdevelopers" width="366" height="98" class="alignleft size-full wp-image-49993" /></a>If you&#8217;ve ever tried to wrestled your way through the complexities of the HTML5 specification, we&#8217;ve got good news &#8212; there&#8217;s now a &#8220;<a href="http://developers.whatwg.org/">web developer edition</a>.&#8221;</p>
<p>The main <a href="http://dev.w3.org/html5/spec/Overview.html">HTML5 spec</a> can be overwhelming for web developers trying to understand how to use HTML5 in their sites and web apps. Much of the spec is written for browser makers and other implementers, not web developers, and contains highly technical and very esoteric language.</p>
<p>If all you want to do is know <a href="http://www.webmonkey.com/2010/09/test-your-markup-smarts-with-html5-simplequiz/">when to use <code>&lt;section&gt;</code> and when to use <code>&lt;article&gt;</code></a>, the HTML5 spec isn&#8217;t very helpful. To eliminate the confusing nature of the spec, the WHATWG, one of the two groups that oversees the creation of HTML (see our overview of <a href="http://www.webmonkey.com/glossary/the-difference-between-the-whatwg-and-the-htmlwg/">the difference between the WHATWG and HTMLWG</a>) has released a version of the <a href="http://developers.whatwg.org/">HTML5 spec written specifically for web developers</a>. </p>
<p>The web developer version of HTML5 strips out all the elements that are only of interest to browser makers, and focuses on developers, making for a more readable, understandable document. In other words, it makes sense to mere mortals.</p>
<p>As an added bonus, the new website hosting the web developer version has a much cleaner, simpler design that doesn&#8217;t look like it crawled, zombie-style, out of 1994.</p>
<p>Now you&#8217;ve got no excuse for not reading up on HTML5.</p>
<p><strong>See Also:</strong><br/></p>
<ul>
<li><a href="http://www.webmonkey.com/2011/02/html5-will-be-done-in-2014-what-comes-next/">HTML5 Will Be Done in 2014, What Comes Next?</a></li>
<li><a href="http://www.webmonkey.com/2011/01/meet-html-the-spec-formerly-known-as-html5/">Meet HTML, The Spec Formerly Known as HTML5</a></li>
<li><a href="http://www.webmonkey.com/2010/05/where-on-the-web-is-html5/">Where on the Web Is HTML5?</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2011/02/html5-for-web-developers/feed/</wfw:commentRss>
        <slash:comments>11</slash:comments>

        
    </item>
    
    <item>
        <title>Apple&#8217;s HTML5 Showcase Less About Web Standards, More About Apple</title>
        <link>http://www.webmonkey.com/2010/06/apples-html5-showcase-less-about-web-standards-more-about-apple/</link>
        <comments>http://www.webmonkey.com/2010/06/apples-html5-showcase-less-about-web-standards-more-about-apple/#comments</comments>
        <pubDate>Fri, 04 Jun 2010 16:43:32 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=47593</guid>
        		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[safari]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2010/06/HTML5-safari1.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2010/06/HTML5-safari1.jpg" alt="Apple&#8217;s HTML5 Showcase Less About Web Standards, More About Apple" /></div>Apple posted a showcase of &#8220;HTML5 and web standards&#8221; on its website Thursday that highlights the level of support for the emerging standard in the company&#8217;s Safari and Mobile Safari browsers. It&#8217;s nice to see Apple (or anyone for that matter) talking about HTML5 and mentioning more than just video. The site showcases HTML5 audio [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><a href="http://www.webmonkey.com/wp-content/uploads/2010/06/HTML5-safari1.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/06/HTML5-safari1.jpg" alt="" title="HTML5-safari" width="580" height="388" class="aligncenter size-full wp-image-47598" /></a></p>
<p>Apple posted a <a href="http://www.apple.com/html5/">showcase of &#8220;HTML5 and web standards&#8221;</a> on its website Thursday that highlights the level of support for the emerging standard in the company&#8217;s Safari and Mobile Safari browsers.</p>
<p>It&#8217;s nice to see Apple (or anyone for that matter) talking about HTML5 and mentioning more than just video. The site showcases HTML5 audio and canvas elements, as well as CSS 3 transitions and typography tools. It also has a nice photo gallery that looks and behaves just like former Apple designer <a href="http://www.webmonkey.com/2010/03/beautiful-websites-former-apple-designers-amazing-photo-gallery/">Mike Matas&#8217; amazing photo-gallery site</a>.</p>
<p>Unfortunately, the way Apple presents the showcase, you would think Safari is the <em>only</em> web browser that supports these new web standards.</p>
<p>In fact, visit the site with any other browser and you&#8217;ll get a message telling you to download Safari. Surely your browser must be inadequate? Actually, your browser is probably capable of handling the showcase just fine, but ultimately the showcase isn&#8217;t about web standards: It&#8217;s about Apple&#8217;s version of web standards.</p>
<p>Apple is detecting the user-agent string (the bit of identifying data your browser passes to a web server when it requests a page) and only allowing Safari users to see the galleries. Other browsers are effectively cut off, regardless of the fact that many can render them just fine.</p>
<p>Worse, Apple&#8217;s CSS code uses only WebKit-specific selectors &#8212; for example, <code>-webkit-border-radius</code> instead of the actual CSS 3 selector <code>border-radius</code>. WebKit is the open source engine that powers Safari and Google Chrome. Firefox, IE and Opera can&#8217;t understand this code as clearly.</p>
<p>So much for web standards. Not only is user-agent sniffing absolutely the wrong way to determine the HTML5 capabilities of the current user, the implicit suggestion is that HTML5 is something only Apple supports.</p>
<p>Microsoft recently published <a href="http://ie.microsoft.com/testdrive/">its own HTML5 showcase</a> to hype the coming release of Internet Explorer 9, and its demo pages are viewable (and work) in any non-IE browser with the proper support. Mozilla&#8217;s <a href="http://hacks.mozilla.org/category/demo/featured-demo/">HTML5 demo pages</a> are geared to work with experimental builds of Firefox, but at least other browsers aren&#8217;t blocked, and most of the demos actually work in Chrome.</p>
<p>To test Apple&#8217;s demos in other browsers, we spoofed the user agent in Firefox and <a href=" http://www.chromium.org/">Chromium</a> and found that, while several examples do indeed fail in Firefox, most worked just fine. Naturally, everything works without issue in Chromium, because it uses the same WebKit rendering engine as Safari. Apple is being disingenuous by making its browser seem more compelling than others. That&#8217;s not surprising, but we&#8217;d be disappointed to see independent developers follow suit. [<strong>Update:</strong> As several commenters, and John Gruber <a href="http://daringfireball.net/linked/2010/06/04/apple-safari-flash" >point out</a>, the version WebKit that Chromium uses doesn't yet support all of CSS 3's 3D transforms, which renders <a href="http://developer.apple.com/safaridemos/photo-transitions.php">this demo</a> incomplete, though still functional, in Chrome/Chromium.]</p>
<p>So how should you detect whether the current browser can display whatever bit of HTML5 or CSS 3 you&#8217;re using? The long-established best practice is to detect for features, not browsers. To find out which features are available in the current browser isn&#8217;t hard &#8212; there are even several free, open source libraries out there that do just that.</p>
<p><a href="http://www.modernizr.com/">Modernizr</a> is one of our favorites. This handy little JavaScript library can <a href="http://www.webmonkey.com/2009/07/use_tomorrow_s_web_dev_tools_today_with__modernizr_/">detect which HTML5 features are available</a>. Then, armed with that information, you can then create conditional JavaScript statements to offer HTML5 to those browsers that support it, but still fall back on other content for those that don&#8217;t.</p>
<p>There are however, some cases where Modernizr might be overkill. For example, if you just want to embed some HTML5 video, you only need to detect one element. If Modernizr isn&#8217;t right for your project, check out Mark Pilgrim&#8217;s <a href="http://diveintohtml5.org/everything.html">list of ways to detect HTML5 elements</a>. The list of elements and how to detect them is an appendix to Pilgrim&#8217;s book in progress, <a href="http://diveintohtml5.org/"><em>Dive Into HTML5</em></a>.</p>
<p>The list isn&#8217;t just elements, though it does cover those as well. But it also shows you how to detect API support for things like offline storage or geolocation, as well as SVG, SVG-in-HTML and even which video codec the current browser supports.</p>
<p>One thing Pilgrim doesn&#8217;t cover is CSS 3 features (CSS 3 != HTML5). To detect which CSS 3 features are available in the current browser you can use Modernizer or you can roll your own code using a library like jQuery, which includes a <a href="http://api.jquery.com/jQuery.support/"><code>support()</code> method</a> to check a wide range of browser features before executing code.</p>
<p><strong>See Also:</strong><br/></p>
<ul>
<li><a href="http://www.webmonkey.com/2010/05/handy-guide-to-detecting-support-for-html5/">Handy Guide to Detecting Support for HTML5</a></li>
<li><a href="http://www.webmonkey.com/2010/05/where-on-the-web-is-html5/">Where on the Web Is HTML5?</a></li>
<li><a href="http://www.webmonkey.com/2010/03/beautiful-websites-former-apple-designers-amazing-photo-gallery/">Beautiful Websites: Former Apple Designer&#8217;s Amazing Photo Gallery</a></li>
<li><a href="http://www.webmonkey.com/2010/06/beautiful-websites-slippy-for-presentations/">Beautiful Websites: Slippy for Presentations</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/06/apples-html5-showcase-less-about-web-standards-more-about-apple/feed/</wfw:commentRss>
        <slash:comments>147</slash:comments>

        
    </item>
    
    <item>
        <title>CSS</title>
        <link>http://www.webmonkey.com/2010/02/css/</link>
        <comments>http://www.webmonkey.com/2010/02/css/#comments</comments>
        <pubDate>Mon, 15 Feb 2010 20:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=93</guid>
        		<category><![CDATA[Glossary]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[wiki]]></category>
        <description><![CDATA[CSS, or cascading stylesheets, allow you to define how web page elements are displayed. Specific margins or colors can be associated with elements on the web page; Headers and links, for example. When style sheets are applied to a new page, the elements are changed according to the specifications of the style.]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p>CSS, or <a href="/2010/02/Mulders_Stylesheets_Tutorial" title="Tutorial:Mulders Stylesheets Tutorial"> cascading stylesheets</a>, allow you to define how web page elements are displayed.

</p><p>Specific margins or colors can be associated with elements on the web page; Headers and links, for example. When style sheets are applied to a new page, the elements are changed according to the specifications of the style.

</p><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/css/feed/</wfw:commentRss>
        <slash:comments>1</slash:comments>

        
    </item>
    
    <item>
        <title>Document Object Model</title>
        <link>http://www.webmonkey.com/2010/02/document_object_model/</link>
        <comments>http://www.webmonkey.com/2010/02/document_object_model/#comments</comments>
        <pubDate>Mon, 15 Feb 2010 20:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=110</guid>
        		<category><![CDATA[Glossary]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[wiki]]></category>
        <description><![CDATA[The document object model (DOM) is the specification for how objects on a web page are represented. A DOM defines each object on a web page (images, text, scripts, links, etc.) and also defines what attributes are associated with these objects and how they can be manipulated.]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p>The document object model (DOM) is the specification for how objects on a web page are represented.

</p><p>A DOM defines each object on a web page (images, text, <a href="/2010/02/Script" title="Reference:Script">scripts</a>, <a href="/2010/02/Link" title="Reference:Link">links</a>, etc.) and also defines what attributes are associated with these objects and how they can be manipulated.

</p><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/document_object_model/feed/</wfw:commentRss>
        <slash:comments>1</slash:comments>

        
    </item>
    
    <item>
        <title>ISO Entities</title>
        <link>http://www.webmonkey.com/2010/02/iso_entities/</link>
        <comments>http://www.webmonkey.com/2010/02/iso_entities/#comments</comments>
        <pubDate>Mon, 15 Feb 2010 20:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=183</guid>
        		<category><![CDATA[Glossary]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[wiki]]></category>
        <description><![CDATA[ISO (International Standards Organization) entities, sometimes referred to as character entities, are a group of ASCII characters that can be used in HTML to display special characters. For example, you can&#8217;t simply type the registered trademark symbol &#174; from your keyboard since it&#8217;s not a standard ASCII character; it&#8217;ll show up as garbage on your [...]]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p>ISO (International Standards Organization) entities, sometimes referred to as character entities, are a group of ASCII characters that can be used in HTML to display special characters. For example, you can&#8217;t simply type the registered trademark symbol &reg; from your keyboard since it&#8217;s not a standard ASCII character; it&#8217;ll show up as garbage on your web page. But if you use the ISO entity equivalent, the web browser will be able to interpret the character correctly.

</p>

For example, the umlaut ¨ appears if you write <pre class="brush: js">¨</pre> in your HTML code. </p><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/iso_entities/feed/</wfw:commentRss>
        <slash:comments>1</slash:comments>

        
    </item>
    
    <item>
        <title>What Comes After HTML5? Just HTML</title>
        <link>http://www.webmonkey.com/2010/01/what_comes_after_html5__htmldot/</link>
        <comments>http://www.webmonkey.com/2010/01/what_comes_after_html5__htmldot/#comments</comments>
        <pubDate>Thu, 14 Jan 2010 09:44:50 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/blog/whatcomesafterhtml5justhtml</guid>
        		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Web Standards]]></category>
        <description><![CDATA[The future of the web is fast approaching. HTML5, the successor to today&#8217;s HTML 4, the lingua franca of the web, has reached the Last Call stage and is beginning to look like a finished spec. While it will be some time before HTML5 can be called complete, forward-thinking browsers already support much of the [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><img class="blogimg" src="http://www.webmonkey.com/mediawiki/images/090908_wm_html5_w.jpg" />The future of the web is fast approaching. HTML5, the successor to today&#8217;s HTML 4, the lingua franca of the web, has reached the Last Call stage and is beginning to look like a finished spec. While it will be <a href="http://www.webmonkey.com/blog/HTML_5_Won_t_Be_Ready_Until_2022DOT_Yes__2022DOT">some time before HTML5 can be called complete</a>, forward-thinking browsers already <a href="http://www.webmonkey.com/blog/HTML_5_Support_by_Browser:_Opera_Continues_to_Lead_the_Pack">support much of the spec</a>.</p>
<p>HTML5 represents the biggest leap forward in web standards in almost a decade, but what comes after HTML5? HTML6?</p>
<p>As it happens, no. The <a href="http://www.whatwg.org/">WHAT Working Group</a>, which, along with the <a href="http://www.w3.org/">World Wide Web Consortium (W3C)</a>, is helping to create HTML5 and beyond, has already decided to move to a <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-January/024708.html">non-versioned development model</a> after the release of HTML5. That means, in the future, there will simply be HTML.</p>
<p>What will this HTML look like you ask? Well, Mark Pilgrim, who works on the WHAT Working Group, has started a new series of posts on the group&#8217;s blog entitled <a href="http://blog.whatwg.org/whats-next-in-html-episode-1">What&#8217;s Next in HTML?</a></p>
<p>The answer, at least for now, is a possible new tag: <code>&lt;device&gt;</code>. </p>
<p>As you would expect <code>&lt;device&gt;</code> will offer web developers a way to access devices, for example your PC&#8217;s webcam or perhaps your mobile device&#8217;s accelerometer. </p>
<p>The obvious application for the device tag is video chat &#8212; something currently only possible using proprietary tools like Adobe Flash. As Pilgrim points out in his post, if you combine the existing video tag and web socket tools of HTML5 with the new device tag, all the elements necessary for an online video chat application are in place.</p>
<p>Before web developers get too excited it&#8217;s important to realize that <code>&lt;device&gt;</code> is a long, long way from being a real HTML element. As Pilgrim notes: &#8220;the entire device API is still in its infancy&#8230; nobody has even started implementing a prototype of that piece yet, and the whole idea might be scrapped.&#8221;</p>
<p>That shouldn&#8217;t be too surprising for those of you following the bleeding edge of the web, after all we&#8217;ve already been teased with the promise of a single video codec only to <a href="http://www.webmonkey.com/blog/W3C_Drops_Audio_and_Video_Codec_Requirements_From_HTML_5">see that vanish</a>. </p>
<p>But with any luck, the device tag won&#8217;t suffer a similar fate and one day web developers will be able to take advantage of yet another set of tools that were once the sole province of desktop software.</p>
<p><strong>See Also:</strong><br/></p>
<ul>
<li><a href="http://www.webmonkey.com/blog/How_HTML_5_Is_Already_Changing_the_Web">How HTML 5 Is Already Changing the Web</a></li>
<li><a href="http://www.webmonkey.com/blog/HTML5_Drag-and-Drop_API_Is_no_Panacea_for_Developers">HTML5 Drag-and-Drop API Is no Panacea for Developers</a></li>
<li><a href="http://www.webmonkey.com/blog/HTML_5_Support_by_Browser:_Opera_Continues_to_Lead_the_Pack">HTML 5 Support by Browser: Opera Continues to Lead the Pack</a></li>
<li><a href="http://www.webmonkey.com/blog/HTML_5_Won_t_Be_Ready_Until_2022DOT_Yes__2022DOT">HTML 5 Won&#8217;t Be Ready Until 2022. Yes, 2022.</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>
]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/01/what_comes_after_html5__htmldot/feed/</wfw:commentRss>
        <slash:comments>2</slash:comments>

        
    </item>
    </channel>
</rss>
