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

Re: [css-inline] feedback on initial-letter

From: Dave Cramer <dauwhe@gmail.com>
Date: Thu, 11 Dec 2014 09:59:59 -0500
Message-ID: <CADxXqOxeC=Dp9g-jUiRTkOKt7KM9d2BSJ75ibqHEwQ0FJCwHcQ@mail.gmail.com>
To: Florian Rivoal <florian@rivoal.net>
Cc: www-style list <www-style@w3.org>
On Thu, Dec 11, 2014 at 7:54 AM, Florian Rivoal <florian@rivoal.net> wrote:
> 1) "[TK] Reference points on the drop cap must align precisely"
> What's [TK]?

That was my editing error, now fixed. TK is publishing shorthand for
"to come," put in as a reminder for me to rework that sentence. I just
forgot to take it out.

> 3) The grammar of the initial-letter property says: "Value: normal | [<integer> <number>?]"
> the prose after it says:
> "<number>: This first argument [...]
>  <integer>: This optional second argument [...]"
> There's a mix up here between number and integer. Looks like the prose is right and the grammar is swapped.

Fixed. Thanks for catching this!

> 5) Not completely sure what this means: "[...] and hanging-punctuation apply to the first line of text as normal in the presence of initial letters."
> Given this:
> <style>
>   p { hanging-punctuation:first; }
>   p::first-letter { initial-letter:2; }
> </style>
> <p>"Curiouser and curiouser!" cried Alice [...]</p>
> Does the hanging quotation mark end up the same size as the C, or as the rest of the text?

The pseudo spec [1]  says that ::first-letter also selects leading
punctuation. So the hanging punctuation would be the same size as the

I'll try to address the various CJK issues later.

Thanks very much,


[1] http://dev.w3.org/csswg/css-pseudo/#first-letter-pseudo
Received on Thursday, 11 December 2014 15:00:29 UTC

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