Skip to content

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

Closed

Description

@kojiishi

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?

Activity

  1. kojiishi commented on Oct 20, 2016

    @kojiishi
    ContributorAuthor

    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.

  2. fantasai commented on Apr 20, 2017

    @fantasai
    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions