Re: [csswg-drafts] [css-text-3] Note unclear in bidi & line boxes (#5759)

>  Do you need that parenthetical text there, given that you then go on to specify how things work in the following text?

The following text does not specify how the UBA is applied, Writing Modes does, and I think referencing that is relevant here because we need to clarify that what we're talking about here *does not affect* how Writing Modes applies the UBA.

> The text in brackets at the end makes it sound as if each line box should arrange the ordering of inline content independently, by applying the UBA.

I don't think it implies that. It says "controlled by the UBA", which it is, "as applied by Writing Modes", which is very clear about how it maps the bidi paragraph. It doesn't say "as applied to the contents of the line box" which *would* create the confusion you describe.

> Which second part? The second line box or the second paragraph?

The second paragraph.

> It seems to me that this paragraph should begin with 'Otherwise, 

I think I had one there, but ended up with too many parentheticals. :) Since the if-clause there is a parenthetical for Otherwise. But maybe if I put "Otherwise" in parentheses, we end up not nesting them, like...
> (Otherwise) if the line box is empty (i.e. contains no atomic inlines or characters other than the newline character, if any) or otherwise has no strong directionality (contains only weak or neutral characters), its inline base direction is taken from the preceding line box (if any), or, if this is the first line box in the containing block, from the direction property of the containing block. (This can result in an RTL line box whose contents have an LTR base direction.)

???

> I think the text in parens at the end is too vague. I think you mean that the inline base direction of the line box (RTL) would cause the line box content to be aligned RTL, but the ordering of inline-level content within the line is LTR because it is 'controlled by the Unicode bidirectional algorithm as applied by [CSS-WRITING-MODES-3]'.

This is what I meant, yes. It doesn't need to pinpoint the exact example, it just needs to bring up the fact that the two directions can differ as a consequence. Bringing up the exact example is the job of an example, not the prose here.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5759#issuecomment-742579829 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 10 December 2020 15:09:11 UTC