W3C home > Mailing lists > Public > www-style@w3.org > July 2015

Re: [css-inline] Wrapping around initial letters

From: Tom Potts <karaken12@gmail.com>
Date: Fri, 24 Jul 2015 13:35:39 +0100
Message-ID: <CAF2aeH3BaSvhbXf7eYU4EYAypP3sgEOkxiH_s2f_JXGurOxPQw@mail.gmail.com>
To: Dave Cramer <dauwhe@gmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Interesting. It looks to me like this could use shape-outside, treating the
initial letter gylph as the used shape. In that case, it could be modified
by authors with shape-margin if they want to adjust the spacing themselves.

One thing that seems a little odd with the illustrations, between Examples
2 and 3 the "o" of "out" in the third line is closer to the initial "A" in
Example 3 than Example 2. It's entirely consistent with the spec as written
(as far as I can tell), but it seems strange that the option that makes
lines closer to the letter actually moves that line further away, in this
case.

Cheers,
Tom

P.S. Should there be a link to the Inline Layout module in there somewhere?

On 24 July 2015 at 12:21, Dave Cramer <dauwhe@gmail.com> wrote:

> At the Sydney F2F we resolved [1] to add full kerning around initial
> letters. I've written up a rough outline of a proposal at [2]. The basic
> idea is for an initial-letter-wrap property with values (none | auto |
> first-line). None is the default, and current behavior. Auto allows the
> line boxes adjacent to the initial letter to just touch the ink of the
> initial letter (plus some offset). First-line just makes the adjustment on
> the first line, and leaves the default behavior on the other lines.
> Illustrations at [2] should help make this clearer.
>
> Instead of a new property, should we just use shape-outside, possibly with
> some new values?
>
> Thanks,
>
> Dave
>
> [1] https://lists.w3.org/Archives/Public/www-style/2015Mar/0315.html
> [2] http://dauwhe.github.io/css-inline/Overview.html
>
Received on Friday, 24 July 2015 12:36:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:18 UTC