- From: Richard Ishida <ishida@w3.org>
- Date: Tue, 14 Jul 2015 14:10:39 +0100
- To: Koji Ishii <kojiishi@gmail.com>
- CC: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
On 13/07/2015 13:38, Koji Ishii wrote: > [Actually, the setting of the top of the three boxes containing text > is set at a regular offset from one line to the next, which makes me > think this is 3 separate boxes with text aligned towards the top of > the page. So with this proposal, i think you'd have to have > writing-mode: sideways-lr; text-align: end; > set on the box containing Latin.] > > > Sorry, I don't follow this part. What is the "top of the three boxes"? sorry, yes that was a bit cryptic. I was referring to the picture at https://www.flickr.com/photos/ishida/19391039009/ ignore that, and see below. so if we have an embedded run of text in a line of vertical CJKM text and we set the CSS for that embedded run as writing-mode: sideways-lr, what happens when the height of the window shrinks and the text tries to wrap? Suppose for example you have a vertical line styled as follows: p { writing-mode:vertical-rl; } span { writing-mode:sideways-lr; } <p>国际化活动、<span>Latin text</span>万维网联盟</p> if all that fits on one line, we'd see the chinese characters upright running down the line and the latin text running up the line with the tops of the letters to the left. if the line length is reduced by resizing the window, so that the line break will occur between 'Latin' and 'text', what will we see? I'm assuming the browser won't try to create another line to the right of the initial chinese text, even though writing-mode is at that point set to lr - ie. the line layout direction of the p overrides that of the span. Is that right? If so, given that we expect to have the first bit of chinese in the original line position, and the second in a new line to its left, will the word 'Latin' be in the original line or the left-hand one? ri
Received on Tuesday, 14 July 2015 13:10:54 UTC