Commit 2e04a04
Fix
Current `text-pretty` description says,
> Use the `text-pretty` utility to prevent orphans (a single word on its
own line) at the end of a text block:
See [this recent blog post from Webkit about `text-wrap:
pretty;`](https://webkit.org/blog/16547/better-typography-with-text-wrap-pretty/)
and in particular,
> Because of the way Chrome’s implementation of pretty has been taught,
a lot of web developers expect this value is only supposed to prevent
short last lines. But that was never the intention. In fact, the CSS
Working Group defined a different value for such a purpose. It was [just
renamed](w3c/csswg-drafts#11283) last week to
`text-wrap: avoid-short-last-lines`.
So it seems an updated description is needed and this PR has a first
attempt.
---------
Co-authored-by: Jordan Pittman <[email protected]>
Co-authored-by: Philipp Spiess <[email protected]>text-pretty description (#2210)1 parent efa60f5 commit 2e04a04
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments