- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 4 Jan 2010 10:10:57 -0600
- 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 UTC