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

29787 text wrap #31148

Merged
merged 37 commits into from
Dec 19, 2023
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
1474b7f
added pretty & stable to text wrap
dletorey Nov 21, 2023
e67e4c4
Merge branch 'main' into 29787-text-wrap
dletorey Nov 21, 2023
1bc1929
added a section on when balance/pretty/stable should be used
dletorey Nov 21, 2023
641a4dc
Updated the heading to Description
dletorey Nov 21, 2023
6b2a5d1
added the experimental release note for text-wrap
dletorey Nov 21, 2023
95f8611
added text-wrap to the release note 121
dletorey Nov 21, 2023
1bf843a
Update files/en-us/web/css/text-wrap/index.md
dletorey Nov 22, 2023
06e2ab9
Update files/en-us/web/css/text-wrap/index.md
dletorey Nov 22, 2023
655b696
Update files/en-us/mozilla/firefox/releases/121/index.md
dletorey Nov 22, 2023
a55629c
Update files/en-us/mozilla/firefox/experimental_features/index.md
dletorey Nov 22, 2023
193cb81
Merge branch 'main' into 29787-text-wrap
dletorey Nov 22, 2023
f1222cc
Update files/en-us/web/css/text-wrap/index.md
dletorey Nov 22, 2023
743b439
simplified the language speed over paint performance
dletorey Nov 22, 2023
5f1c9a2
Merge branch 'main' into 29787-text-wrap
dletorey Nov 22, 2023
c4f7a5a
Update files/en-us/web/css/text-wrap/index.md
dletorey Nov 28, 2023
ee92835
made the description of stable clearer
dletorey Nov 28, 2023
fb9203d
Merge branch 'main' into 29787-text-wrap
dletorey Nov 28, 2023
e3e8d8c
Merge branch 'main' into 29787-text-wrap
dletorey Nov 29, 2023
8475288
Update files/en-us/mozilla/firefox/releases/121/index.md
dletorey Nov 29, 2023
a081e4d
Merge branch 'main' into 29787-text-wrap
dletorey Nov 29, 2023
4e14076
Update files/en-us/web/css/text-wrap/index.md
dletorey Dec 5, 2023
1f54380
Update files/en-us/web/css/text-wrap/index.md
dletorey Dec 5, 2023
5b2fd9a
Update files/en-us/web/css/text-wrap/index.md
dletorey Dec 5, 2023
102c39f
Merge branch 'main' into 29787-text-wrap
dletorey Dec 5, 2023
9ffcacd
Merge branch 'main' into 29787-text-wrap
dletorey Dec 5, 2023
8f09485
Merge branch 'main' into 29787-text-wrap
dletorey Dec 6, 2023
142ba9e
Merge branch 'main' into 29787-text-wrap
dletorey Dec 11, 2023
bf80d63
working on Description
dletorey Dec 11, 2023
e01d365
Merge branch '29787-text-wrap' of github.com:CodeRedDigital/content i…
dletorey Dec 11, 2023
b7afc51
updated the description to be simpler
dletorey Dec 11, 2023
e7889a7
added heading as an example
dletorey Dec 11, 2023
ae964d2
fixed the flaw in the headings link
dletorey Dec 11, 2023
791a2d8
Merge branch 'main' into 29787-text-wrap
dletorey Dec 11, 2023
aea5a44
Merge branch 'main' into 29787-text-wrap
dletorey Dec 18, 2023
4a763bf
Merge branch 'main' into 29787-text-wrap
dletorey Dec 18, 2023
a67433c
corrected user to used and advise to prompt
dletorey Dec 19, 2023
0f46857
Merge branch 'main' into 29787-text-wrap
dletorey Dec 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion files/en-us/web/css/text-wrap/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The `text-wrap` property is specified as a single keyword chosen from the list o

## Description

There are 2 ways that text can flow across lines within a block of content, such as a paragraph ({{HTMLElement("p")}}) or headings ({{HTMLElement("heading_elements","<h1>–<h6>")}}). These are _forced line breaks_, that are controlled by the user, and _soft line breaks_, that are controlled by the browser. The `text-wrap` property can be user to advise the browser how to control the _soft line breaks_.
There are 2 ways that text can flow across lines within a block of content, such as a paragraph ({{HTMLElement("p")}}) or headings ({{HTMLElement("heading_elements","<h1>–<h6>")}}). These are _forced line breaks_, that are controlled by the user, and _soft line breaks_, that are controlled by the browser. The `text-wrap` property can be used to prompt the browser how to control the _soft line breaks_.

The value you choose, for `text-wrap`, depends on how many lines of text you anticipate styling, whether the text is `contenteditable`, and whether you need to prioritize appearance or performance.

Expand Down