diff --git a/css-text-4/Overview.bs b/css-text-4/Overview.bs index dbdf0fa2e46..810e5f52037 100644 --- a/css-text-4/Overview.bs +++ b/css-text-4/Overview.bs @@ -5501,7 +5501,7 @@ Selecting How to Wrap: the 'text-wrap-style' property
Name: text-wrap-style - Value: auto | balance | stable | pretty + Value: auto | balance | stable | pretty | avoid-orphans Initial: auto Applies to: [=block containers=] hat establish an [=inline formatting context=] Inherited: yes @@ -5612,9 +5612,89 @@ Selecting How to Wrap: the 'text-wrap-style' property
+ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα
+πολλὰ πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον
+ἔπερσεν.
+
+ Applying ''text-wrap-style: avoid-orphans'' could yield something like this instead,
+ which is arguably more pleasing:
+
+ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς
+μάλα πολλὰ πλάγχθη, ἐπεὶ Τροίης ἱερὸν
+πτολίεθρον ἔπερσεν.
+
+ +Circumnavigating +the Mississippi +river ++ An attempt to make the last line less short by wrapping the previous line earlier would result in the following: +
+Circumnavigating +the +Mississippi river ++ While the last line would indeed no longer be short, + the penultimate line would be unsightly. + In such cases, user agents are expected + to prefer the first rendering + despite ''text-wrap-style: avoid-orphans'' being set. +