W3C home > Mailing lists > Public > www-style@w3.org > August 2010

Re: [CSS21] Another ambiguity in the definition of "containing block"

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 12 Aug 2010 17:34:22 -0700
Message-ID: <4C64930E.1070602@inkedblade.net>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: www-style list <www-style@w3.org>
On 07/14/2010 02:07 AM, fantasai wrote:
>
> http://www.w3.org/TR/CSS21/text.html#indentation-prop
> # This property specifies the indentation of the first line of text
> # in a block.
>
> <div style="text-indent: 10%">
> Indented
> <p></p>
> Indented?
> </div>

This is filed as CSS2.1 Issue 194:
   http://wiki.csswg.org/spec/css2.1#issue-194

Proposed text:

Add to section 16.1 Indentation:

   | text-indent only affects a line if it is the `first formatted line`_
   | of an element. For example, the first line of an anonymous block box
   | is only affected if it is the first child of its parent element.

   _`first formatted line`: http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo

~fantasai
Received on Friday, 13 August 2010 00:34:57 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:30 GMT