Jeff Schiller | 2 Apr 22:43 2008
Picon

Timesheets - UA Capability Detection

Hello all,

Is there a standard, recommended technique for detecting browser capability when it comes to SMIL?  You may be aware of the FakeSmile library: http://leunen.d.free.fr/fakesmile/

I would like to see hwo hard it would be to implement support for SMIL Timesheets 1.0 into this library, but I would like to 'future-proof' the library such that if (when) browsers start supporting it natively that the script does not run.

I would like to be able to do this in Firefox, Opera, Safari, and Internet Explorer.

Thanks,
Jeff

Cameron McCormack | 3 Apr 01:15 2008
Picon

Re: Timesheets - UA Capability Detection


Hi Jeff.

Jeff Schiller:
> Is there a standard, recommended technique for detecting browser capability
> when it comes to SMIL?  You may be aware of the FakeSmile library:
> http://leunen.d.free.fr/fakesmile/
> 
> I would like to see hwo hard it would be to implement support for SMIL
> Timesheets 1.0 into this library, but I would like to 'future-proof' the
> library such that if (when) browsers start supporting it natively that the
> script does not run.

A DOM feature string sounds like the way to go, here, so you could do:

  if (document.implementation.hasFeature("Timesheets", "1.0"))
      …

--

-- 
Cameron McCormack, http://mcc.id.au/
	xmpp:heycam <at> jabber.org  ▪  ICQ 26955922  ▪  MSN cam <at> mcc.id.au

Jeff Schiller | 8 Apr 07:50 2008
Picon

Re: Timesheets - UA Capability Detection

Thanks, Cameraon for the suggestion.

SYMM Working Group,

Can we have a response on this?  I think the feature string hasFeature() check is a good idea, but the feature string would need to be defined in the spec.  "org.w3.smil.timesheet" ?

Thanks,
Jeff

On Wed, Apr 2, 2008 at 6:15 PM, Cameron McCormack <cam <at> mcc.id.au> wrote:

Hi Jeff.

Jeff Schiller:
> Is there a standard, recommended technique for detecting browser capability
> when it comes to SMIL?  You may be aware of the FakeSmile library:
> http://leunen.d.free.fr/fakesmile/
>
> I would like to see hwo hard it would be to implement support for SMIL
> Timesheets 1.0 into this library, but I would like to 'future-proof' the
> library such that if (when) browsers start supporting it natively that the
> script does not run.

A DOM feature string sounds like the way to go, here, so you could do:

 if (document.implementation.hasFeature("Timesheets", "1.0"))
     …

--
Cameron McCormack, http://mcc.id.au/
       xmpp:heycam <at> jabber.org  ▪  ICQ 26955922  ▪  MSN cam <at> mcc.id.au


Jack Jansen | 8 Apr 11:06 2008
Picon
Picon

Re: Timesheets - UA Capability Detection


On 8 apr 2008, at 07:50, Jeff Schiller wrote:
> Thanks, Cameraon for the suggestion.
>
> SYMM Working Group,
>
> Can we have a response on this?  I think the feature string  
> hasFeature() check is a good idea, but the feature string would need  
> to be defined in the spec.  "org.w3.smil.timesheet" ?

Jeff,
do you have examples of other specs that have such a reference? The  
suggested functionality sounds pretty useful, but it would fall under  
a "best practices" or "integration suggestions" heading, and we  
haven't done such before...
--
Jack Jansen, <Jack.Jansen <at> cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma  
Goldman

Jeff Schiller | 8 Apr 15:42 2008
Picon

Re: Timesheets - UA Capability Detection

Jack,

http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-5CED94D7 is the DOM hasFeature method.  It mentions how the SVG did things, which is here: http://www.w3.org/TR/SVG11/feature.html and http://www.w3.org/TR/SVG11/svgdom.html#FeatureStrings

Regards,
Jeff

On Tue, Apr 8, 2008 at 4:06 AM, Jack Jansen <Jack.Jansen <at> cwi.nl> wrote:

On 8 apr 2008, at 07:50, Jeff Schiller wrote:
Thanks, Cameraon for the suggestion.

SYMM Working Group,

Can we have a response on this?  I think the feature string hasFeature() check is a good idea, but the feature string would need to be defined in the spec.  "org.w3.smil.timesheet" ?


Jeff,
do you have examples of other specs that have such a reference? The suggested functionality sounds pretty useful, but it would fall under a "best practices" or "integration suggestions" heading, and we haven't done such before...
--
Jack Jansen, <Jack.Jansen <at> cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma Goldman



David | 8 Apr 16:27 2008
Picon

Re: Timesheets - UA Capability Detection

Jeff,

The unique identifier of the timesheet module seemed to be : http://www.w3.org/2007/07/SMIL30/Timesheets

I don't know whether this is still valid though, since Timesheets has been removed from SMIL3...


David

On Wed, Apr 2, 2008 at 10:43 PM, Jeff Schiller <codedread <at> gmail.com> wrote:
Hello all,

Is there a standard, recommended technique for detecting browser capability when it comes to SMIL?  You may be aware of the FakeSmile library: http://leunen.d.free.fr/fakesmile/

I would like to see hwo hard it would be to implement support for SMIL Timesheets 1.0 into this library, but I would like to 'future-proof' the library such that if (when) browsers start supporting it natively that the script does not run.

I would like to be able to do this in Firefox, Opera, Safari, and Internet Explorer.

Thanks,
Jeff

David | 9 Apr 15:45 2008
Picon

timesheets priorities

Hello all,

The animation sandwich model states that the document order of the elements have an influence on the animations priority :
"If two animations share no time dependency relationship the element that appears first in the document has lower priority."

Can anyone tell me what is the expected behavior for an external timesheet ?
Are the elements contained in the external timesheet to be considered at the <timesheet>/<link> position ? Or do external animations always have lower priority compared to inline ones ?


Thank you!

David


Gmane