Skip to content

[css-text-3] "hang" definition refers to punctuation, but also applies to white space #3784

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
heycam opened this issue Apr 1, 2019 · 3 comments
Assignees
Labels

Comments

@heycam
Copy link
Contributor

heycam commented Apr 1, 2019

https://drafts.csswg.org/css-text-3/#white-space-phase-2 talks about sequences of collapsible white space at the end of a white-space:pre-wrap element hanging by linking to https://drafts.csswg.org/css-text-3/#hang, but that section only talks about punctuation. Maybe it needs to be adjusted to make sense for white space too.

@heycam heycam added the css-text-3 Current Work label Apr 1, 2019
fantasai added a commit that referenced this issue Apr 12, 2019
@fantasai
Copy link
Collaborator

OK, reworded things a bit. @litherum would you mind reviewing to make sure I didn't edit the prose to say something stupid? :)

@frivoal
Copy link
Collaborator

frivoal commented Apr 13, 2019

I'm not @litherum , but I did have a comment on the edit you made: e41d224#r33167130

@litherum
Copy link
Contributor

Looks fine

@frivoal frivoal self-assigned this Jul 9, 2019
frivoal added a commit to frivoal/csswg-drafts that referenced this issue Jul 9, 2019
Separate the notion of hanging in general, from it's specific
application to hanging-punctuation, and provide reusable anchor
terminology that distinguishes unconditional hanging from “allowed” hanging.

Also, be explicit about the effects on intrinsic sizes.

Closes w3c#3784

Note: there are open issues and pending edits on how preserved
white-space at the end of a line is supposed to hang. This edit does not
solve these, and keeps the current behavior as it is. By making the
definitions of hanging reusable, it is a useful step towards solving
these as well.
@frivoal frivoal added the Testing Unnecessary Memory aid - issue doesn't require tests label Jul 9, 2019
frivoal added a commit to frivoal/csswg-drafts that referenced this issue Jul 9, 2019
Separate the notion of hanging in general, from it's specific
application to hanging-punctuation, and provide reusable anchor
terminology that distinguishes unconditional hanging from conditional hanging.

Also, be explicit about the effects on intrinsic sizes.

Closes w3c#3784

Note: there are open issues and pending edits on how preserved
white-space at the end of a line is supposed to hang. This edit does not
solve these, and keeps the current behavior as it is. By making the
definitions of hanging reusable, it is a useful step towards solving
these as well.
frivoal added a commit to frivoal/csswg-drafts that referenced this issue Jul 9, 2019
Separate the notion of hanging in general, from it's specific
application to hanging-punctuation, and provide reusable anchor
terminology that distinguishes unconditional hanging from conditional hanging.

Also, be explicit about the effects on intrinsic sizes.

Closes w3c#3784

Note: there are open issues and pending edits on how preserved
white-space at the end of a line is supposed to hang. This edit does not
solve these, and keeps the current behavior as it is. By making the
definitions of hanging reusable, it is a useful step towards solving
these as well.
@frivoal frivoal closed this as completed in c8777f1 Jul 9, 2019
@fantasai fantasai added Tracked in DoC and removed Testing Unnecessary Memory aid - issue doesn't require tests Commenter Response Pending labels Dec 14, 2020
@frivoal frivoal added the Tested Memory aid - issue has WPT tests label Dec 30, 2022
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

4 participants