Skip to content

[css-text-3] The processing order of tab stops #615

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kojiishi opened this issue Oct 18, 2016 · 2 comments
Closed

[css-text-3] The processing order of tab stops #615

kojiishi opened this issue Oct 18, 2016 · 2 comments
Labels

Comments

@kojiishi
Copy link
Contributor

CSS Text, Appendix A, Text Processing Order of Operations says white space processing part II should occur before letter-spacing and word-spacing.

This step includes expanding tab stop to a horizontal shift, which requires the current horizontal position as an input.

Shouldn't this be done after letter-spacing and word-spacing?

@kojiishi kojiishi added the css-text-3 Current Work label Oct 18, 2016
@kojiishi
Copy link
Contributor Author

On second thought, line breaker needs to know the expanded width to compute the line width. So this should be either a) computed in the line breaker, or b) computed before the line break but reset when wrapped before the tab.

@fantasai
Copy link
Collaborator

Okay, I made this step an unordered list. I think it doesn't make sense to be ordered, since they apply across the line together, not one operation after the other as you say.

Let me know if this is okay.

triple-underscore added a commit to triple-underscore/triple-underscore.github.io that referenced this issue Apr 20, 2017
Make step 5 (line wrapping + intra-line type setting) unordered list.
w3c/csswg-drafts#615

Attempt # 1 at fixing issue 103
https://lists.w3.org/Archives/Public/www-style/2015Oct/0124.html
https://lists.w3.org/Archives/Public/www-style/2015Oct/0199.html
w3c/csswg-drafts@94598fc1874eb3e47faf75e889496
00ea7635d7e

Shift Arabic breaking text into its own little subsection
w3c/csswg-drafts@e709a9ded9a8f96ea8212e285c174
18d9a6ea491

Add example for arbitrary breaking of Arabic text.
w3c/csswg-drafts@13e66261d6e402feddb5ce4ddcbd4
c2560222b14
@frivoal frivoal added the Testing Unnecessary Memory aid - issue doesn't require tests label Apr 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants