- From: Lea Verou <lea@verou.me>
- Date: Thu, 8 Jan 2015 04:02:26 +0200
- To: Jonathan Kingston <jonathan@jooped.co.uk>
- Cc: Glenn Adams <glenn@skynav.com>, Zack Weinberg <zackw@panix.com>, www-style list <www-style@w3.org>
On Jan 8, 2015, at 03:32, Jonathan Kingston <jonathan@jooped.co.uk> wrote:
> Control over sentence orphans would be brilliant, if for example the following could be controlled:
>
> p {
> line-min-orphans: 3;
> }
>
> <p>
> Hello here is some sample text. Here is a new sentence. Here is another
> longer sentence that spans multiple lines that is long etc etc.
> </p>
>
> May currently look this on a small screen:
> Hello here is some sample text. Here
> is a new sentence. Here is another
> longer sentence that spans multiple
> lines that is long etc etc.
>
> Would output:
> Hello here is some sample text.
> Here is a new sentence.
> Here is another longer sentence
> that spans multiple lines
> that is long etc etc.
>
> Support for more than just screen and print would be useful for this.
It might be useful to discuss what would happen in the case of a paragraph with line-min-orphans: N; and a content of < 2N words. E.g. if the text is "This is a cat.", I most definitely wouldn’t want it to wrap like this to avoid orphans:
This
is a cat.
~Lea
Received on Thursday, 8 January 2015 02:02:53 UTC