W3C home > Mailing lists > Public > public-tt@w3.org > October 2012

RE: ISSUE-189: do regions scroll their flowed content? [DFXP 1.0]

From: Monica Martin (MS OPEN TECH) <momartin@microsoft.com>
Date: Wed, 10 Oct 2012 22:13:43 +0000
To: Michael Dolan <mdolan@newtbt.com>, 'Timed Text Working Group' <public-tt@w3.org>
Message-ID: <73494420eca048f0b05cc36c66681b17@BLUPR03MB603.namprd03.prod.outlook.com>
Can we leverage this to revise Example 5 for Action 110 that corresponds to this? 

See: http://www.w3.org/AudioVideo/TT/tracker/actions/110


From: Michael Dolan [mailto:mdolan@newtbt.com] 
Sent: Wednesday, October 10, 2012 11:27 AM
To: 'Timed Text Working Group'
Subject: RE: ISSUE-189: do regions scroll their flowed content? [DFXP 1.0]

Picking this back up to address Action 109:

How does this look for a complete example?

<?xml version="1.0" encoding="UTF-8"?>
<tt xml:lang="en" 
                xsi:schemaLocation=" http://www.w3.org/ns/ttml ttaf1-dfxp.xsd">
                                                <region xml:id="rollup" tts:extent="20c 2c" tts:displayAlign="after"/>
                                <div region="rollup" tts:color="white" >
                                                <p begin="1s" dur="2s">first line</p>
                                                <p begin="2s" dur="2s">second line</p>
                                                <p begin="3s" dur="2s">third line</p>

I think the above will result in the following displays of white text on a black background region in the upper left of the root container:

0-1 sec
1-2 sec
                first line
2-3 sec
                first line
                second line
3-4 sec
                second line
                third line
4-5 sec
                third line
5… sec




From: Sean Hayes [mailto:Sean.Hayes@microsoft.com] 
Sent: Saturday, September 29, 2012 2:13 AM
To: Glenn Adams; Michael A Dolan
Cc: Timed Text Working Group
Subject: RE: ISSUE-189: do regions scroll their flowed content? [DFXP 1.0]

You would want to set the region to tts:displayAlign=’after’ so that the later added lines have the effect of pushing the earlier lines out of the top. The br
S are un-necessary here as we have an implied line break because of the p. One could do the same thing with spans and br.

Then to do a multiple scrolled region:
<.div region=’afterformattedregion’>
<p begin=”1s” dur=”3s”>first line</p>
<p begin=”2s” dur=”3s”>second line</p>
<p begin=”3s” dur=”3s”>third line</p>

From: Glenn Adams [mailto:glenn@skynav.com] 
Sent: 29 September 2012 01:17
To: Michael A Dolan
Cc: Timed Text Working Group
Subject: Re: ISSUE-189: do regions scroll their flowed content? [DFXP 1.0]

On Fri, Sep 28, 2012 at 11:42 PM, Michael A Dolan <mdolan@newtbt.com> wrote:
By way of example so we’re clear on the timed flow, the following TTML into a 2-line-height region:
<p begin=”1s” end=”3s”>first line</p>
<p begin=”2s” end=”4s”><br>second line</p>
<p begin=”3s”><br>third line</p>
Would result in the following text over the time periods shown:
first line
<blank line>
first line
second line

no; the <br/> would result in the second <p> would produce

first line
blank line (from <br/>)
second line

so visually you would have

first line
blank line

second line
third line

no, the <br/> would produce a blank line before second line, so visually you would have

blank line
second line
[not visible blank line]
[not visible third line]


why you are inserting <br/>?

Received on Wednesday, 10 October 2012 22:16:25 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 5 October 2017 18:24:07 UTC