Re: [csswg-drafts] [css-text] letter-spacing and word-spacing applied to which side?

Thank you @aharon-lanin, I added your samples to the original test http://jsbin.com/botezog/edit?html,output and also added case when paragraph dir is RTL.

For begin/end of block, it's #1518. All 4 browsers do it differently from the spec that I think we need to be careful to change.

For the desired behavior, yeah, you're right, I forgot the very basic requirement that all spaces should be consistent regardless of bidi reordering. At least for the 6 cases in the test, Edge and WebKit does it right, while Blink and Gecko don't, so my observation in the original comment on Edge/WebKit might be inaccurate. Maybe they always apply to the right? I guess I need more tests to verify that.

I haven't understood how to implement what the spec says today (#1509), but you gave me a great advice to think further, thank you about this. I hope we can discuss and clarify the spec better, or come up with a good solution for bidi.

`word-spacing` is easy, since spacing is applied to space characters. Blink doesn't apply half-and-half, but since it's a space character, it normally doesn't matter (unless author use some special font where space is not a space.) I haven't given much thoughts on it yet, but your confirmation was a great help.

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

Received on Tuesday, 13 June 2017 19:38:05 UTC