W3C home > Mailing lists > Public > public-tt@w3.org > December 2017

Interaction between <set> elements and content elements in seq containers

From: Pierre-Anthony Lemieux <pal@sandflow.com>
Date: Sat, 23 Dec 2017 14:35:52 -0800
Message-ID: <CAF_7JxAxR73HFMrXLwfSMa3X83CukVLDkOwtLj26ed=hNBoLew@mail.gmail.com>
To: TTWG <public-tt@w3.org>
Hi all,

Further delving into the semantics of "seq" containers, the following
example explores the interaction between <set> elements and content
elements:

<p tts:color="yellow" timeContainer="seq" tts:color="black">
   <set dur="1s" tts:color="red"/>
   <set dur="1s" tts:color="green"/>
   <set dur="1s" tts:color="blue"/>
   <span dur="2s">Black text</span>
</p>

I would think that:

- "Black text" appears 3 seconds after the beginning of the <p>
- "Black text" appears for 2 seconds
- "Black text" is drawn black
- the implicit and effective duration of the <p> is 5 seconds

In contrast, in the following example the <p> appears for only 1 second

<p tts:color="yellow" timeContainer="seq" tts:color="black" dur="4s">
   <set dur="1s" tts:color="red"/>
   <set dur="1s" tts:color="green"/>
   <set dur="1s" tts:color="blue"/>
   <span dur="2s">Black text</span>
</p>

Looking forward to your thoughts.

Best,

-- Pierre
Received on Saturday, 23 December 2017 22:36:38 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 23 December 2017 22:36:39 UTC