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

tts:padding only applies to region?

From: Philippe Le Hegaret <plh@w3.org>
Date: Thu, 11 Dec 2008 21:18:06 -0500
To: public-tt@w3.org
Message-Id: <1229048286.3114.4.camel@localhost>

I noticed that padding only applies to region.

This would mean that the test Padding005 is incorrect, since it is
applying to div and p:
  <div tts:padding="30px" tts:backgroundColor="green">
     <p begin="0s" end="5s" tts:padding="inherit">All the edges of this
      are padded by 30 pixels,
     <p begin="5s" end="10s" tts:padding="10px">but all the edges of
this caption<br/>
      are padded by only 10 pixels.

However, I'm surprised about this restriction. I would have expected
padding to also apply to div, p and span. The second paragraph would
then be padded by 40px and not only 10px.

Received on Friday, 12 December 2008 02:18:15 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 5 October 2017 18:24:03 UTC