W3C home > Mailing lists > Public > public-tt@w3.org > November 2016

[ttml2] Percentage values in `tts:padding` do not match CSS

From: Nigel Megitt via GitHub <sysbot+gh@w3.org>
Date: Wed, 09 Nov 2016 14:23:32 +0000
To: public-tt@w3.org
Message-ID: <issues.opened-188259168-1478701410-sysbot+gh@w3.org>
nigelmegitt has just created a new issue for 
https://github.com/w3c/ttml2:

== Percentage values in `tts:padding` do not match CSS ==
TTML2 retains the wording from TTML1 regarding percentage units for 
the `tts:padding` attribute:

> relative to width and height of region

However TTML1 only specifies padding for `region`. Now that TTML2 also
 specifies padding for the elements `body`, `div`, `p` and `span`, 
this text no longer matches CSS.

https://www.w3.org/TR/CSS2/box.html#propdef-padding specifies that 
percentages:

> refer to width of containing block

TTML2 should follow CSS here and make percentages be relative to the 
area generated for the element on which the padding attribute is 
specified.

Please view or discuss this issue at 
https://github.com/w3c/ttml2/issues/222 using your GitHub account
Received on Wednesday, 9 November 2016 14:23:39 UTC

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