Re: [csswg-drafts] [css-text] Letter spacing is inserted after RTL reordering

@fantasai can you help to understand? I understand the proposal solves `border-decoration-break: clone`, but I can't see how it solves `letter-spacing`. By looking at [Example 16], so the proposal is to create (assume `<f>` is the internal fragment):

```html
<p><f>ab</f><span><f>c</f><f>א</f></span><f>בג</f></p>
```
or
```html
<f><p>ab<span>c</f><f>א</span>בג</f></p>
```
I don't know which you intend, nor have not examined if the two differ in results, but either way, common ancestor of `c` and `ג` is `<p>`, so there will be no 2em spacing in the result, if I'm not mistaken.

Or is your proposal includes to change to check logical adjacent character instead of visual adjacent character? Then between `c` and `א` has 2em space, but I can't read from the current spec where that space should go after re-order. Should it belong to `c` or `א`?

Could you point out what I missed?

For your question in F2F, if we were to say "apply to line-right of characters", we could say, for the last character, apply the spacing of common ancestor. I'm ok to use the current way to define it if you can make it to work, but if you prefer the line-right solution, I hope this can work.

[Example 16]: https://drafts.csswg.org/css-text-3/#example-c8bdfa99

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

Received on Tuesday, 15 August 2017 10:50:56 UTC