W3C home > Mailing lists > Public > public-tt@w3.org > May 2009

ISSUE-99 (clear semantics): What happens when fill operations are blocked (related to Issue 98) [DFXP 1.0]

From: Timed Text Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Fri, 15 May 2009 06:51:00 -0400 (EDT)
To: public-tt@w3.org
Message-Id: <20090515105100.100257F460@otto.w3.org>

ISSUE-99 (clear semantics): What happens when fill operations are blocked  (related to Issue 98) [DFXP 1.0]

http://www.w3.org/AudioVideo/TT/tracker/issues/99

Raised by: Sean Hayes
On product: DFXP 1.0

The current semantics are not actually very clear as to what happens when fill operations are blocked (there is no explicit part to B.5.1 which matches the condition:  “the fill buffer is non-empty and contains sufficient content to compose a fill unit but insufficient space is present to accommodate it”.  Presumably step 1 is skipped, and the timer is reset in step 2, so the fill remains pending, which implies that under some conditions, some content may never get flowed into the region. Again this seems to be due to the presence of an independent clear cycle.

I suggest that if the clear is initiated only by the fill/overflow condition, then these issues could be avoided by the algorithm:

Fill timer expires ->
      While there is insufficient room to fit one fill unit into region
                Use clear operation to remove one clear unit
      Use reflow operation to adjust spacing if necessary
      Use fill operation to flow one fill unit into region

Which also helps with the condition when the clear unit is smaller than the fill unit.
Received on Friday, 15 May 2009 10:51:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 2 November 2009 22:41:42 GMT