- From: <bugzilla@jessica.w3.org>
- Date: Thu, 29 Nov 2012 03:08:55 +0000
- To: public-texttracks@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20146 Bug ID: 20146 Summary: [WebVTT] Cue text rendering step adjustment Classification: Unclassified Product: TextTracks CG Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: WebVTT Assignee: ian@hixie.ch Reporter: silviapfeiffer1@gmail.com QA Contact: dave.null@w3.org CC: mike@w3.org, public-texttracks@w3.org In Section 3.5 WebVTT cue text rendering rules, rendering step 10 we calculate all the styles for the cues. Step 7 sets the 'width' from 'size': If the text track cue writing direction is horizontal, then let width be 'size vw' and height be 'auto'. Otherwise, let width be 'auto' and height be 'size vh'. (These are CSS values used by the next section to set CSS properties for the rendering; 'vw' and 'vh' are CSS units.) [CSSVALUES] Step 10 changes 'size' again in substep 2 and 4 to remove edge margin: 2. If x-position is less than edge margin and the sum of x-position and size is more than edge margin, then increase x-position by edge margin and decrease size by the same amount. 4. If x-position is less than right margin edge, and the sum of x-position and size is more than right margin edge, then decrease size by edge margin. However, the 'width' calculation from Step 7 is not repeated. Thus, the cues potentially end up being too wide (e.g. 100% width, but offset by an edge margin). == I think Step 7 should be moved after Step 10. -- You are receiving this mail because: You are on the CC list for the bug.
Received on Thursday, 29 November 2012 03:08:56 UTC