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

Re: Text selector [was Re: breaking overflow]

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 4 Jan 2010 10:10:57 -0600
Message-ID: <dd0fbad1001040810wbb08cf3o3f80d8dd9a6e4e62@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style list <www-style@w3.org>
On Mon, Jan 4, 2010 at 10:05 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
>> <p>foo<i>bar</i>  baz</p>
>> p::text("foo b") { display: block; }
>
> Hold on.  Why would we ever allow ::text to have a 'display' property set?
>  What are the use cases?  I have been assuming that ::text would have
> restrictions similar to first-letter and first-line.

I guess we can assume similar restrictions.  Assume, then, that I
instead applied float:left;clear:left;.  Same problem occur - you get
*two* blocks floating, one cleared under another, when you wanted to
just have a single span of text floated.

~TJ
Received on Monday, 4 January 2010 16:11:29 GMT

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