W3C home > Mailing lists > Public > www-style@w3.org > September 2009

[CSS21] First-Line Clarification

From: Joshua Patterson <joshpatt@microsoft.com>
Date: Wed, 9 Sep 2009 23:03:25 +0000
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <73757E6F78F08642B8011A6BDDCE282F08881E88@TK5EX14MBXC112.redmond.corp.microsoft.com>

I've been trying to understand First-Line but it seem ambiguous.

The specification says: "The :first-line pseudo-element applies special styles to the contents of the first formatted line of a paragraph", but it doesn't define what a paragraph is.  It later states that "The 'first formatted line' of an element may occur inside a block-level descendant in the same flow".  It seems like although most browsers (IE 8, Firefox, Chrome, Safari and Opera) define a paragraph to be the first formatted line of an element, but the specification leaves it up to the UA what a paragraph is. Is this by design or should the first-line pseudo-element always apply to the first formatted line of an element?


Received on Thursday, 10 September 2009 09:26:06 UTC

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