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

Open
xBZZZZ opened this issue May 11, 2024 · 0 comments
Open

text-wrap-style Values #33549

xBZZZZ opened this issue May 11, 2024 · 0 comments
Labels
Content:CSS Cascading Style Sheets docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

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
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 needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

1 participant