This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 12812 - [WebVTT] need to specify default CSS unit when not percentage
Summary: [WebVTT] need to specify default CSS unit when not percentage
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
Depends on:
Reported: 2011-05-30 00:21 UTC by Silvia Pfeiffer
Modified: 2012-07-18 18:48 UTC (History)
2 users (show)

See Also:


Description Silvia Pfeiffer 2011-05-30 00:21:38 UTC
In WebVTT we have cue setting such as the text size "S:" and line position "L:", which can be specified either with a percentage value or an integer without a unit specification. This means that a specification such as "S:55" could be interpreted either as em or px. IIUC, "px" is meant to be the default CSS unit to interpret the value as, but it's not clear from the spec. Another developer that read the spec thought it was "em".

I think we should specify what CSS unit the value is to be interpreted as in the CSS properties section:
Comment 1 Ian 'Hixie' Hickson 2011-06-21 06:59:25 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:

Status: Rejected
Change Description: no spec change
Rationale: It's not 'em', 'px', 'mm', or any other CSS unit. It's lines. It doesn't involve CSS at all.
Comment 2 Silvia Pfeiffer 2011-06-21 08:53:07 UTC
Yup, understood that later, too.