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

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

From: Sean Hayes <Sean.Hayes@microsoft.com>
Date: Sat, 29 Sep 2012 09:12:40 +0000
To: Glenn Adams <glenn@skynav.com>, Michael A Dolan <mdolan@newtbt.com>
CC: Timed Text Working Group <public-tt@w3.org>
Message-ID: <E9A92BD0A4FC934EB7935470A46D152415D6328E@DB3EX14MBXC323.europe.corp.microsoft.com>
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<mailto: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 Saturday, 29 September 2012 09:13:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:06:05 UTC