W3C home > Mailing lists > Public > www-style@w3.org > January 2014

Re: [css-gcpm][css-figures] float-offset & line rhythms

From: Alan Stearns <stearns@adobe.com>
Date: Sat, 25 Jan 2014 22:48:50 +0000
To: Alan Stearns <stearns@adobe.com>, Håkon Wium Lie <howcome@opera.com>
CC: "robert@ocallahan.org" <robert@ocallahan.org>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <CF097F0E.179C7%stearns@adobe.com>
On 1/25/14, 2:43 PM, "Alan Stearns" <stearns@adobe.com> wrote:

>
>The simplest case where this does not work is where both floats have a
>subhead with a slightly larger line-height than the regular paragraphs,
>and the subheads end up with a different number of line breaks. Let’s say
>the paragraphs’ line-height is 20px, and the subhead’s line-height is
>24px. The first float has a single-line subhead, so the bottom of the line
>boxes end up at 24px, 44px, 64px, etc. The second float’s subhead breaks
>into two lines, so the bottom of the line boxes end up at 24px, 48px,
>70px.

Bah - the third value should be 68px. Sorry for the error.

Received on Saturday, 25 January 2014 22:49:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:39 UTC