Skip to content

Commit

Permalink
Add note about not supported text-wrap-style.avoid-orphans (#37460)
Browse files Browse the repository at this point in the history
* Add note about not supported `text-wrap-style.avoid-orphans`

* Update files/en-us/web/css/text-wrap-style/index.md

---------

Co-authored-by: Estelle Weyl <[email protected]>
  • Loading branch information
skyclouds2001 and estelle authored Jan 3, 2025
1 parent 2a88f59 commit 2a3911d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions files/en-us/web/css/text-wrap-style/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ When wrapping is allowed (see {{CSSXRef("text-wrap-mode")}}), the `text-wrap-sty
- `stable`
- : Text is wrapped such 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.

> [!NOTE]
> The [CSS text](/en-US/docs/Web/CSS/CSS_text) module defines an `avoid-orphans` value for the `text-wrap-style` property to avoid excessively short last lines and expect the user agent to consider more than one line when making break decisions. This value is not yet supported in any browser.

## Description

When the content is allowed to wrap, which it does by default, then there are a number of choices that can effect the way the content is wrapped.
Expand Down

0 comments on commit 2a3911d

Please sign in to comment.