ISSUE-38: TextAlign002 and use of textAlign on span elements

TextAlign002 and span

TextAlign002 and use of textAlign on span elements

State:
CLOSED
Product:
TTML 1.0 Test Suite
Raised by:
Philippe Le Hégaret
Opened on:
2008-12-11
Description:
I noticed that the test TextAlign002.xml is using textAlign on a span
element:
[[
[...]
<body>
<div>
<p begin="0s" end="10s" tts:textAlign="right"><span tts:textAlign="left">This caption is on the left</span>.</p>
</div>
</body>
]]


However, the spec indicates that textAlign can only be applied to p
elements (see table in section 8.2.19). Since the span element has the
width of the text it contains, textAlign would have no effect here
anyway.

I suggest TextAlign should also be applicable to region, body, and div.

Related Actions Items:
No related actions
Related emails:
  1. Agenda for TT telecon 9th April (from Sean.Hayes@microsoft.com on 2009-04-09)

Related notes:

http://lists.w3.org/Archives/Public/public-tt/2008Dec/0111.html

Philippe Le Hégaret, 11 Dec 2008, 13:11:28

the usage above (on span) needs to be removed, since it is not semantically applicable; furthermore, it would be redundant to apply to div or body since block areas always consume maximum extent in the inline progression direction (of their parent areas);

Glenn Adams, 4 May 2009, 12:24:51

Changelog:

Created issue 'TextAlign002 and use of textAlign on span elements' nickname TextAlign002 and span owned by Philippe Le Hégaret on product DFXP 1.0 Test Suite, description 'I noticed that the test TextAlign002.xml is using textAlign on a span
element:
[[
[...]
<body>
<div>
<p begin="0s" end="10s" tts:textAlign="right"><span tts:textAlign="left">This caption is on the left</span>.</p>
</div>
</body>
]]


However, the spec indicates that textAlign can only be applied to p
elements (see table in section 8.2.19). Since the span element has the
width of the text it contains, textAlign would have no effect here
anyway.

I suggest TextAlign should also be applicable to region, body, and div.

' non-public

Philippe Le Hégaret, 11 Dec 2008, 13:11:01

Status changed to 'closed'

Glenn Adams, 4 May 2009, 12:24:51


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>, 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: index.php,v 1.325 2014-09-10 21:42:02 ted Exp $