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

This was targeted to TTML 2nd edition.  I was not thinking about SDP-US (e.g. "white").  I would suggest either just referencing this example, or perhaps repeating it with the SDP-US constraints.

 Mike

-----Original Message-----
From: Monica Martin (MS OPEN TECH) [mailto:momartin@microsoft.com] 
Sent: Wednesday, October 10, 2012 3:14 PM
To: Michael Dolan; 'Timed Text Working Group'
Subject: RE: ISSUE-189: do regions scroll their flowed content? [DFXP 1.0]

Michael,
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

Monica

----------------------------------------------
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:
http://www.w3.org/AudioVideo/TT/tracker/actions/109 

How does this look for a complete example?

<?xml version="1.0" encoding="UTF-8"?>
<tt xml:lang="en" 
                xmlns="http://www.w3.org/ns/ttml" 
                xmlns:tts="http://www.w3.org/ns/ttml#styling" 
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                xsi:schemaLocation=" http://www.w3.org/ns/ttml ttaf1-dfxp.xsd">
                <head>
                                <layout>
                                                <region xml:id="rollup" tts:extent="20c 2c" tts:displayAlign="after"/>
                                </layout>
                </head>
                <body>
                                <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>
                                </div>
                </body>
</tt>

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
<blank>
<blank>
1-2 sec
                first line
                <blank>
2-3 sec
                first line
                second line
3-4 sec
                second line
                third line
4-5 sec
                third line
                <blank>
5… sec
                <blank>
                <blank>

Comments?

Regards,

                Mike

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>
<./div>
 


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:
 
1s-2s:
first line
<blank line>
 
2s-3s:
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

 
3s-4s:
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]

etc

why you are inserting <br/>?

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