ISSUE-372 (multiRowAlign test): multiRowAlign test applies style via region [TTML 1.0 Test Suite]

ISSUE-372 (multiRowAlign test): multiRowAlign test applies style via region [TTML 1.0 Test Suite]

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

Raised by: Nigel Megitt
On product: TTML 1.0 Test Suite

The multiRowAlign test at https://dvcs.w3.org/hg/ttml/file/56211929569d/ttml-ww-profiles/testsuite/multiRowAlign/multiRowAlign1.ttml applies the ebutts:multiRowAlign attribute directly onto a region, however the semantics of that attribute allow it only to be applied using a style element.

I suggest applying it using a style element and reference, for example:

...
<layout>
   <region xml:id="area1" tts:origin="20% 70%" tts:extent="60% 20%" tts:backgroundColor="green" tts:displayAlign="center" tts:color="white"/>
   <region xml:id="area2" tts:origin="20% 10%" tts:extent="60% 20%" tts:backgroundColor="black" tts:displayAlign="center" tts:color="white"/>
</layout>
<styling>
   <style xml:id="startEnd" tts:textAlign="start" ebutts:multiRowAlign="end"/>
   <style xml:id="centerStart" tts:textAlign="center" ebutts:multiRowAlign="start"/>
</styling>
...
<p region="area1" style="startEnd" begin="1s" end="9s">
Beware the Jabberwock, my son!<br/>The jaws that bite, the claws that catch!
</p>
<p region="area2" style="centerStart" begin="1s" end="9s">
Beware the Jubjub bird, and shun<br/>The frumious Bandersnatch!
</p>
...

Received on Monday, 16 February 2015 14:31:54 UTC