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:
[[
<body>
  <div tts:padding="30px" tts:backgroundColor="green">
     <p begin="0s" end="5s" tts:padding="inherit">All the edges of this
caption<br/>
      are padded by 30 pixels,
     </p>
     <p begin="5s" end="10s" tts:padding="10px">but all the edges of
this caption<br/>
      are padded by only 10 pixels.
     </p>
  </div>
</body>
]]


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.

Philippe
Received on Friday, 12 December 2008 02:18:15 GMT

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