ISSUE-214: Negative padding lengths should be prohibited.

negative padding

Negative padding lengths should be prohibited.

State:
CLOSED
Product:
TTML 1.0
Raised by:
Glenn Adams
Opened on:
2013-05-26
Description:
I just noticed that, unlike fontSize and lineHeight, we don't specify that padding lengths must be non-negaive. Rather we have the following language:

"If a specified value of this attribute is not supported, then a presentation processor must interpret the attribute as if the value 0px were specified."

I believe this was an oversight, since CSS 2 [1] states

"Unlike margin properties, values for padding values cannot be negative."

[1] http://www.w3.org/TR/2008/REC-CSS2-20080411/box.html#padding-properties

To resolve, I will add language proscribing negative lengths to section 8.2.1.6 [2].

[2] https://dvcs.w3.org/hg/ttml/raw-file/default/ttml10/spec/ttaf1-dfxp.html#style-attribute-padding
Related Actions Items:
No related actions
Related emails:
  1. Minutes - 2013-06-27 (from glenn@skynav.com on 2013-07-11)
  2. RE: TTML Agenda for 26/06/13 (from mdolan@newtbt.com on 2013-06-27)
  3. TTML Agenda for 26/06/13 (from Sean.Hayes@microsoft.com on 2013-06-27)
  4. Re: TTML Agenda for 20/06/13 -- ADVANCE NOTICE -- (from tai@irt.de on 2013-06-19)
  5. TTML Agenda for 20/06/13 -- update -- (from Sean.Hayes@microsoft.com on 2013-06-19)
  6. Re: TTML Agenda for 20/06/13 -- ADVANCE NOTICE -- (from glenn@skynav.com on 2013-06-19)
  7. Re: TTML Agenda for 20/06/13 -- ADVANCE NOTICE -- (from tai@irt.de on 2013-06-19)
  8. Re: TTML Agenda for 20/06/13 -- ADVANCE NOTICE -- (from glenn@skynav.com on 2013-06-18)
  9. Re: TTML Agenda for 20/06/13 -- ADVANCE NOTICE -- (from glenn@skynav.com on 2013-06-18)
  10. TTML Agenda for 20/06/13 -- ADVANCE NOTICE -- (from Sean.Hayes@microsoft.com on 2013-06-17)
  11. TTML Agenda for 30/05/13 (from Sean.Hayes@microsoft.com on 2013-05-29)
  12. ISSUE-214 (negative padding): Negative padding lengths should be prohibited. [TTML 1.0] (from sysbot+tracker@w3.org on 2013-05-26)

Related notes:

Resolved in current ED. Note that the correct section is 8.2.16, not 8.2.1.6.

Glenn Adams, 26 May 2013, 02:41:45

Fixed in https://dvcs.w3.org/hg/ttml/rev/fc8e4fb5e41b

Glenn Adams, 26 May 2013, 19:29:30

Display change log ATOM feed


David Singer <singer@apple.com>, Nigel Megitt <nigel.megitt@bbc.co.uk>, Chairs, Thierry Michel <tmichel@w3.org>, Philippe Le H├ęgaret <plh@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.323 2013-12-19 14:47:09 dom Exp $