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 28087 - Vertical text is the wrong way around by default
Summary: Vertical text is the wrong way around by default
Status: NEW
Alias: None
Product: TextTracks CG
Classification: Unclassified
Component: WebVTT (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: Web Media Text Tracks CG
URL: http://dev.w3.org/html5/webvtt/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-24 03:49 UTC by Philip Jägenstedt
Modified: 2015-03-09 11:23 UTC (History)
2 users (show)

See Also:


Attachments

Description Philip Jägenstedt 2015-02-24 03:49:31 UTC
Reported in https://code.google.com/p/chromium/issues/detail?id=411876

line:10% centers the text on a point 10% from the left edge for both vertical-rl and -lr, but the interpretation of line:10 is different for vertical-rl and vertical-lr.

Using line:0 does the right thing, but the (computed) default is -1.

Relevant steps from "Adjust the positions of boxes according to the appropriate steps from the following list:"

> 8. Vertical Growing Left: Add one to line position then negate it.

> 10. Vertical Growing Left: Decrease position by the width of the bounding box of the boxes in boxes, then increase position by step.

Switching both of these steps to Vertical Growing Right ought to inverse the behavior.

> 12. Vertical: Move all the boxes in boxes right by the distance given by position.

It looks odd that this is unconditional. May not be related, though.
Comment 1 Silvia Pfeiffer 2015-03-09 11:23:01 UTC
(In reply to Philip Jägenstedt from comment #0)
> 
> > 8. Vertical Growing Left: Add one to line position then negate it.
> 
> > 10. Vertical Growing Left: Decrease position by the width of the bounding box of the boxes in boxes, then increase position by step.
> 
> Switching both of these steps to Vertical Growing Right ought to inverse the
> behavior.

That sounds like a simple solution, good!


> > 12. Vertical: Move all the boxes in boxes right by the distance given by position.
> 
> It looks odd that this is unconditional. May not be related, though.

Hmm, is "right" correct in this context? Is this for text position? If so, then it should be "up", shouldn't it?