W3C home > Mailing lists > Public > public-digipub-ig@w3.org > January 2014

Re: Review of css-shapes-1

From: Brady Duga <duga@google.com>
Date: Mon, 6 Jan 2014 14:00:36 -0800
Message-ID: <CAH_p_eUEAEoMY6fQdZ7a_PYTNNAjodkm1AsqR+a90wQ-T_3KaQ@mail.gmail.com>
To: Alan Stearns <stearns@adobe.com>
Cc: "Cramer, Dave" <Dave.Cramer@hbgusa.com>, "public-digipub-ig@w3.org" <public-digipub-ig@w3.org>
Generally yes. I don't think the line itself can clear the float, since the
height of the line will be the tallest height it contains (barring
line-height settings). So, even though the small text might clear the float
the line will still wrap. At least, that has been my experience. Since that
is based on the start edge of the line which shouldn't change with line
height, the line won't change width based on height.


On Mon, Jan 6, 2014 at 1:43 PM, Alan Stearns <stearns@adobe.com> wrote:

> On 1/6/14, 1:16 PM, "Brady Duga" <duga@google.com> wrote:
>
> >One vaguely interesting top-level comment that ties in with digipub is
> >the difficulty in applying reasonable line break algorithms (eg something
> >better than first-fit or best-fit) to text whose line length (physical
> >width of the line) can change
> > based on line height. So, cases where a span that makes the line taller
> >could cause the line to become narrower based on a complex floated shape
> >from a previous line. I am not sure what there is to do about this, and
> >may just become a footnote (assuming we
> > decide there is a place for such things in digital publishing!) of any
> >spec that addresses line breaking/justification/hyphenation.
>
> We already have the situation with floats where adding a taller span can
> cause a line to clear a float and become wider. Is narrowing the line any
> more difficult to manage?
>
> Thanks,
>
> Alan
>
>
Received on Monday, 6 January 2014 22:01:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:35:47 UTC