W3C home > Mailing lists > Public > public-native-web-apps@w3.org > December 2011

Re: Magic file: splash.[png,gif,jpeg,etc...]

From: Scott Wilson <scott.bradley.wilson@gmail.com>
Date: Wed, 7 Dec 2011 08:52:27 +0000
Cc: Filip Maj <fil@adobe.com>, "public-native-web-apps@w3.org" <public-native-web-apps@w3.org>
Message-Id: <5DE74562-3F67-47B6-BC8D-278D55997722@gmail.com>
To: Marcos Caceres <w3c@marcosc.com>
On 7 Dec 2011, at 00:50, Marcos Caceres wrote:

> 
> On Wednesday, 7 December 2011 at 00:26, Filip Maj wrote:
> 
>> This was the approach with PhoneGap for the longest time, before we
>> started following the widget spec. I believe we used "default.png" for
>> filename but that's just a label.
> 
> ok, excellent. So then we have some precedence. 
> 
> I've added splash.[png,gif,jpeg,svg] to the spec: 
> 
> http://dvcs.w3.org/hg/nativeapps/raw-file/8d2ee8f7b842/splashscreen/Overview.html


Looking good!

Two things:

1. Is it necessary to define both a magic file and a content attribute? I can see the UC for maybe wanting to use a different filename, but is it a big enough UC? Is there another reason for it? Or is it more that we are following the pattern of the <content> and <icon> elements where we have both default magic files that can be overridden by the author?

2. While SVG is one of the standard formats we habitually list in images, Brian indicated that it isn't currently supported in device OSs for displaying splash screens. Its probably worth including in the top spot as if it does get supported it gets around the scaling issues, however perhaps we need an Authoring Guideline suggesting widget authors shouldn't rely on SVG alone and always include a non-SVG splash image.

> 
> -- 
> Marcos Caceres
> http://datadriven.com.au
> 
> 
> 
Received on Wednesday, 7 December 2011 08:53:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 3 May 2012 18:13:26 GMT