Skip to content
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

[css-overflow] shrink text #1875

Closed
Array23 opened this issue Oct 15, 2017 · 3 comments
Closed

[css-overflow] shrink text #1875

Array23 opened this issue Oct 15, 2017 · 3 comments

Comments

@Array23
Copy link

Array23 commented Oct 15, 2017

Basicaly if text won't fill in, the text would be choped, to it's maximum fittable characters
option 1: preserve words... text would end up not trimming in middle of word, but in by words
option 2: string it would end by...

so
overflow: chop; chop: <words || characters>, <'...'>
so..
... is the string it would end up inner text by

@frivoal frivoal self-assigned this Oct 16, 2017
@frivoal
Copy link
Collaborator

frivoal commented Oct 16, 2017

We already have text-overflow in css-ui-3 that does something similar, but line by line, instead of the whole paragraph.

For the whole paragraph, this is something we're aware of, and have started working on, but it is actually a surprisingly difficult problem. Have a look at css overflow 4, starting at Fragmentation of overflow and everything below, for the project that might eventually end up delivering this.

I expect this will happen eventually, but don't hold your breath.

@Array23
Copy link
Author

Array23 commented Oct 16, 2017

Pagination is important issue, I would take that Opera's approach more seriously.
I could take advantage of my ASCII fetish in character breaking...
It would make printing of ASCII posters more native...
Looks good. I will take deeper look in a month or so, keeping it on to-do list.

@frivoal
Copy link
Collaborator

frivoal commented Mar 27, 2018

This is now being worked out in #390 and css-overflow-3.

Closing.

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

No branches or pull requests

2 participants