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:
- 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:28the 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:51Display change log