ISSUE-163: Clarify use of cell units in certain properties
Cell units
Clarify use of cell units in certain properties
- State:
- CLOSED
- Product:
- TTML 1.0
- Raised by:
- Sean Hayes
- Opened on:
- 2012-03-12
- Description:
- Some properties that take a length as a value, e.g. border, textOutline, and padding (one value supplied) do not forbid a cell unit. It is not clear to me what pixel value one would assign to these lengths if the cell in not a square. We should either prohibit cell in these contexts, or define which length is intended.
Let’s say the root is tts:extent="852px 480px" ttp:cellResolution="30 20" Then in pixels the horizontal cell size is : 852/30 = 28.4 pixels, in the vertical 480/20 = 24 pixels
If you state tts:textOutline=â€black 0.25c†the outline thickness could be either 7.1 or 6 pixels. For border if I state tts:border="0.1c†is the border 2.84 pixels uniformly; 2.4 pixels uniformly; or 2.84 left and right, and 2.4 top and bottom?
- Related Actions Items:
ACTION-84 on Sean Hayes to Create clarifying text for 2nd edition for cell units - due 2012-08-23, closed- Related emails:
- Minutes - 2013-06-20 (from glenn@skynav.com on 2013-07-11)
- [minutes] Timed Text call June 20, 2013 (from plh@w3.org 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)
- TTWG Agenda March 7, 2013 (from momartin@microsoft.com on 2013-03-07)
- Re: TTML Agenda for 28/2/13 (from glenn@skynav.com on 2013-02-28)
- RE: TTML Agenda for 28/2/13 (from mdolan@newtbt.com on 2013-02-28)
- TTML Agenda for 28/2/13 (from momartin@microsoft.com on 2013-02-28)
- TTWG Meeting Minutes Feb 28 (from momartin@microsoft.com on 2013-02-28)
- TTWG Meeting Minutes Feb 7, 2013 (from momartin@microsoft.com on 2013-02-14)
- TTWG Meeting Minutes Feb 7, 2013 (from momartin@microsoft.com on 2013-02-07)
- TTML Agenda for 07/02/13 (from Sean.Hayes@microsoft.com on 2013-02-07)
- Minutes TTWG Aug 16, 2012 (from momartin@microsoft.com on 2012-08-17)
- RE: TTML Agenda for 15/8/12 (from momartin@microsoft.com on 2012-08-16)
- Fwd: TTML Agenda for 15/8/12 (from geoff_freed@wgbh.org on 2012-08-16)
- Re: TTML Agenda for 15/8/12 (from geoff_freed@wgbh.org on 2012-08-16)
- TTML Agenda for 15/8/12 (from Sean.Hayes@microsoft.com on 2012-08-16)
- Re: {minutes} TTML Agenda for 15/3/12 (from geoff_freed@wgbh.org on 2012-03-15)
- {minutes} TTML Agenda for 15/3/12 (from glenn@skynav.com on 2012-03-15)
- RE: Cell Grid Safe Area [was Re: ISSUE-163 (Cell units): Clarify use of cell units in certain properties [DFXP 1.0]] (from Sean.Hayes@microsoft.com on 2012-03-13)
- Cell Grid Safe Area [was Re: ISSUE-163 (Cell units): Clarify use of cell units in certain properties [DFXP 1.0]] (from glenn@skynav.com on 2012-03-13)
- RE: ISSUE-163 (Cell units): Clarify use of cell units in certain properties [DFXP 1.0] (from John.Birch@screensystems.tv on 2012-03-13)
- Re: ISSUE-163 (Cell units): Clarify use of cell units in certain properties [DFXP 1.0] (from glenn@skynav.com on 2012-03-13)
- RE: ISSUE-163 (Cell units): Clarify use of cell units in certain properties [DFXP 1.0] (from John.Birch@screensystems.tv on 2012-03-13)
- ISSUE-163 (Cell units): Clarify use of cell units in certain properties [DFXP 1.0] (from sysbot+tracker@w3.org on 2012-03-12)
Related notes:
See Sean Hayes suggested text in TTWG minutes Feb 21: http://www.w3.org/2013/02/21-tt-minutes.html.
Style properties that operate in both the horizontal and vertical direction, such as border, outline thickness etc. may be specified using a single value which is based on the cell unit. When the cell is non-square, the computed value is calculated based on the height of the cell. For example: Given a root extent of 852px 480px and a ttp:cellResolution="30 20"; then in pixels the horizontal cell size is : 852/30 = 28.4 pixels, in the vertical 480/20 = 24 pixels. The relative unit to be used is 28.4px.
added clarifying note at end of 6.2.1 ttp:cellResolution (in 1.0SE)
Glenn Adams, 2 May 2013, 04:32:38Display change log