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

RE: tts:padding only applies to region?

From: Geoff Freed <geoff_freed@wgbh.org>
Date: Thu, 11 Dec 2008 21:19:06 -0500
To: Philippe Le Hegaret <plh@w3.org>, "public-tt@w3.org" <public-tt@w3.org>
Message-id: <E36081A12A13F146AC32D7724B0E89120561CAA1FC@EXCHCCR.wgbh.org>


i'm going over all the test files i've written so far and will correct padding005 along with several others that have styles applied to incorrect elements.  i should have them done tomorrow.

g.

________________________________________
From: public-tt-request@w3.org [public-tt-request@w3.org] On Behalf Of Philippe Le Hegaret [plh@w3.org]
Sent: Thursday, December 11, 2008 9:18 PM
To: public-tt@w3.org
Subject: tts:padding only applies to region?

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:23:13 GMT

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