W3C home > Mailing lists > Public > public-tt@w3.org > December 2008

TextAlign002 and use of textAlign on span elements

From: Philippe Le Hegaret <plh@w3.org>
Date: Wed, 10 Dec 2008 17:17:46 -0500
To: public-tt@w3.org
Message-Id: <1228947466.7496.74.camel@localhost>

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.

Philippe
Received on Wednesday, 10 December 2008 22:17:56 GMT

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