- From: Sean Hayes <shayes@microsoft.com>
- Date: Fri, 8 Aug 2003 17:24:42 +0100
- To: <Johnb@screen.subtitling.com>, <glenn@xfsi.com>
- Cc: <public-tt@w3.org>
- Message-ID: <4B23D310E1AB5B49BC52CEE8D36B96005E2268@EUR-MSG-03.europe.corp.microsoft.com>
At the BBC f2f we considered adding a 'word' level selector to XPath, so
the example might become:
<style>
p { display : none; color: blue }
</style>
<animations>
<animation id="a1">
<set attributeName="display" to="auto"/>
</animation>
<animation id="a2">
<set attributeName="color" to="red"/>
</animation></animations>
<par>
<cue select="id(p1)" use="a1"/>
<seq>
<cue select="p1/word(1)" use="a2" dur="1"/>
<cue select="p1/word(2)" use="a2" dur="1"/>
<cue select="p1/word(3))" use="a2" dur="1"/>
<cue select="p1/word(4)" use="a2" dur="1"/>
<cue select="p1/word(5)" use="a2" dur="1"/>
<cue select="p1/word(6)" use="a2" dur="1"/>
</seq>
</par>
</par>
<p id="p1">
Scooby dooby doo where are you?
</p>
However what word is defined as (e.g. some sort of regular expression),
might be highly language sensitive.
On another topic in this thread, the notion of fitting a too long
caption in a fixed size box, one approach might be some temporal
additions to the CSS2 overflow property.
Sean Hayes
European Standards and Strategy
Microsoft
Mobile Phone: +44 (0) 7977 455002
________________________________
From: public-tt-request@w3.org [mailto:public-tt-request@w3.org] On
Behalf Of Johnb@screen.subtitling.com
Sent: 08 August 2003 17:26
To: glenn@xfsi.com
Cc: public-tt@w3.org
Subject: RE: TT and subtitling/captioning - separating timing from style
f rom content
Glenn,
The last cue does not select content because I want the
animation to affect the content already selected by the previous two
cues.
GA: this would still require selecting content. It would
be awkward to have an implicit selection.
[JB> ] I don't have a problem with selecting the content
- I can see how implicit slection could cause complications witrh
inherited style etc.
in your example reproduced below....
<style>
p { display : none; color: blue }
</style>
<animations>
<animation id="a1">
<set attributeName="display" to="auto"/>
</animation>
<animation id="a2">
<set attributeName="color" to="red"/>
</animation></animations>
<par>
<cue select="id(p1)" use="a1"/>
<seq>
<cue select="id(w1)" use="a2" dur="1"/>
<cue select="id(w2)" use="a2" dur="1"/>
<cue select="id(w3)" use="a2" dur="1"/>
<cue select="id(w4)" use="a2" dur="1"/>
<cue select="id(w5)" use="a2" dur="1"/>
<cue select="id(w6)" use="a2" dur="1"/>
</seq>
</par>
</par>
...
<p id="p1">
<span id="w1">Scooby</span>
<span id="w2">dooby</span>
<span id="w3">doo</span>,
<span id="w4">where</span>
<span id="w5">are</span>
<span id="w6">you</span>?
</p>
Can we dispense with the spans, i.e. is there a way that the select can
extract from a single element. BTW Your spans lost the whitespace -
unless there is some assumed mechanism for re-inserting it?.
<p id="p1">
Scooby dooby doo where are you?
</p>
regards
John Birch
The views and opinions expressed are the author's own and do not
necessarily
reflect the views and opinions of Screen Subtitling Systems Limited.
Received on Friday, 8 August 2003 12:24:40 UTC