W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2011

[Bug 14575] <track> The computed x-position should use the computed size when aligning - not 100

From: <bugzilla@jessica.w3.org>
Date: Thu, 27 Oct 2011 15:42:09 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RJS5p-0001Oe-UY@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14575

Fredrik Söderquist <fs@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fs@opera.com
            Summary|The computed x-position     |<track> The computed
                   |should use the computed     |x-position should use the
                   |size when aligning - not    |computed size when aligning
                   |100                         |- not 100

--- Comment #1 from Fredrik Söderquist <fs@opera.com> 2011-10-27 15:42:09 UTC ---
Section 15.4.2.1, step 10.8:

"If the text track cue writing direction is horizontal, the text track cue 
alignment is end, and direction is 'ltr'
...

Let x-position be the text track cue text position subtracted from 100."

Considering an example with text position 75, size 100, alignment 'end',
writing direction 'horizontal' and direction 'ltr':

Step 5 computes 'maximum size' as 75.
Step 6 computes 'size' as 75.
Step 8 computes 'x-position' as 100 - 75 = 25

---

I would've expected 'x-position' to be computed to 0 - i.e, 'text position' -
'size' - which seems more in line with for instance the handling of 'middle'.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 27 October 2011 15:42:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 27 October 2011 15:42:18 GMT