ISSUE-372: multiRowAlign test applies style via region

multiRowAlign test

multiRowAlign test applies style via region

State:
CLOSED
Product:
TTML 1.0 Test Suite
Raised by:
Nigel Megitt
Opened on:
2015-02-16
Description:
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>
...
Related Actions Items:
No related actions
Related emails:
  1. {minutes} TTWG Meeting 2015-02-19 (from nigel.megitt@bbc.co.uk on 2015-02-19)
  2. {agenda} TTWG Meeting 2015-02-19 (from nigel.megitt@bbc.co.uk on 2015-02-18)
  3. ISSUE-372 (multiRowAlign test): multiRowAlign test applies style via region [TTML 1.0 Test Suite] (from sysbot+tracker@w3.org on 2015-02-16)

Related notes:

Implemented as suggested in the description.

https://dvcs.w3.org/hg/ttml/rev/58d71f630f01

NOTE: In order for the test to be also compatible with EBU-TT-D, which is a subset of IMSC1 and forbids inline styling on content elements.

Pierre-Anthony Lemieux, 19 Feb 2015, 04:29:47

Display change log ATOM feed


David Singer <singer@apple.com>, Nigel Megitt <nigel.megitt@bbc.co.uk>, Chairs, Thierry Michel <tmichel@w3.org>, Philippe Le H├ęgaret <plh@w3.org>, Atsushi Shimono <atsushi@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 372.html,v 1.1 2019/11/12 10:07:24 carcone Exp $