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

text-wrap-style Values #33549

Closed
xBZZZZ opened this issue May 11, 2024 · 2 comments · Fixed by #34036
Closed

text-wrap-style Values #33549

xBZZZZ opened this issue May 11, 2024 · 2 comments · Fixed by #34036
Labels
Content:CSS Cascading Style Sheets docs goal: accuracy (Experimental label) Issues about inaccurate/incorrect content. help wanted If you know something about this topic, we would love your help!

Comments

@xBZZZZ
Copy link
Contributor

xBZZZZ commented May 11, 2024

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/text-wrap-style

What specific section or headline is this issue about?

Values

What information was incorrect, unhelpful, or incomplete?

  • auto

    Text does not wrap across lines. It will overflow its containing element rather than breaking onto a new line.

    but
    <div style="text-wrap-style:auto;width:3em;">hello world</div>
    is 2 lines (testing with librewolf 125.0.3-1)
  • pretty

    Results in the same behavior as wrap, except that the user agent will use a slower algorithm that favors better layout over speed. This is intended for body copy where good typography is favored over performance (for example, when the number of orphans should be kept to a minimum).

    stable

    Results in the same behavior as wrap, except that when the user is editing the content, the lines that come before the lines they are editing remain static rather than the whole block of text re-wrapping.

    same behavior as wrap doesn't make sense because text-wrap-style:wrap; is invalid

What did you expect to see?

I don't know.

Do you have any supporting links, references, or citations?

https://developer.mozilla.org/en-US/docs/Web/CSS/text-wrap-style#values

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@xBZZZZ xBZZZZ added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label May 11, 2024
@github-actions github-actions bot added the Content:CSS Cascading Style Sheets docs label May 11, 2024
@Josh-Cena
Copy link
Member

Pinging @dletorey since this is new content

@Josh-Cena Josh-Cena added help wanted If you know something about this topic, we would love your help! goal: accuracy (Experimental label) Issues about inaccurate/incorrect content. and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jun 5, 2024
@dletorey
Copy link
Contributor

@xBZZZZ thank you for bringing this up.

Here is the associated Pull Request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:CSS Cascading Style Sheets docs goal: accuracy (Experimental label) Issues about inaccurate/incorrect content. help wanted If you know something about this topic, we would love your help!
3 participants