W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: informal survey - on spec philosophy

From: Paul Libbrecht <paul@hoplahup.net>
Date: Tue, 10 Apr 2012 23:37:54 +0200
Cc: Glenn Adams <glenn@skynav.com>, WebApps WG <public-webapps@w3.org>
Message-Id: <91A82BAB-C344-4899-94E5-37D3420A0AE1@hoplahup.net>
To: Karl Dubost <karl@la-grange.net>


Le 10 avr. 2012 à 22:25, Karl Dubost a écrit :
> A recent example from Canvas specification.
> http://html5.org/tools/web-apps-tracker?from=7030&to=7031
> 
>    <p class="note">This specification does not define the precise
>    +  algorithm to use when scaling an image when the <code
>    +  title="dom-context-2d-imageSmoothingEnabled">imageSmoothingEnabled</code>
>    +  attribute is set to true.</p>
> 
> It all depends on what you mean by interoperability and the expectations of users. I'm pretty sure that graphics designers will have a very strong opinion about smoothing being exactly the same for all browsers.

I'm sure to be alone, but for the bitterness, here's another such story we had till two weeks ago: 

The upgrade to iOS5 broke, for all iPad users, the search function on our website, www.curriki.org. It took us several weeks of debugging, not understanding the single message of debugging inside the console: "undefined is not an object" (no location).

At the end it turned out that the iOS5 upgrade had changed the way javascript parses Date.parse(). 
Suddenly, the result was undefined and the subsequent printf, given an undefined, sent that odd message.

Anywhere you look, Date.parse is "left to browser interpretation" with the only available standard, ISO-8601, not even being fully implemented in the modern browsers. The very informal w3c note is implemented, while this standard is too big.


Does HTML5 change this? I'd be glad to hear this.

Is there a way to flag things so that developers routinely protect against unpredictability?

paul
Received on Tuesday, 10 April 2012 21:38:24 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:51 GMT