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:
- Minutes - 2013-06-27 (from glenn@skynav.com on 2013-07-11)
- RE: TTML Agenda for 26/06/13 (from mdolan@newtbt.com on 2013-06-27)
- TTML Agenda for 26/06/13 (from Sean.Hayes@microsoft.com on 2013-06-27)
- Re: TTML Agenda for 20/06/13 -- ADVANCE NOTICE -- (from tai@irt.de on 2013-06-19)
- TTML Agenda for 20/06/13 -- update -- (from Sean.Hayes@microsoft.com on 2013-06-19)
- Re: TTML Agenda for 20/06/13 -- ADVANCE NOTICE -- (from glenn@skynav.com on 2013-06-19)
- Re: TTML Agenda for 20/06/13 -- ADVANCE NOTICE -- (from tai@irt.de on 2013-06-19)
- Re: TTML Agenda for 20/06/13 -- ADVANCE NOTICE -- (from glenn@skynav.com on 2013-06-18)
- Re: TTML Agenda for 20/06/13 -- ADVANCE NOTICE -- (from glenn@skynav.com on 2013-06-18)
- TTML Agenda for 20/06/13 -- ADVANCE NOTICE -- (from Sean.Hayes@microsoft.com on 2013-06-17)
- TTML Agenda for 30/05/13 (from Sean.Hayes@microsoft.com on 2013-05-29)
- 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:45Fixed in https://dvcs.w3.org/hg/ttml/rev/fc8e4fb5e41b
Glenn Adams, 26 May 2013, 19:29:30Display change log