W3C home > Mailing lists > Public > www-style@w3.org > April 2007

Re: CSS Generated content selection

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 24 Apr 2007 03:07:41 -0500
Message-ID: <462DBACD.5030701@mit.edu>
To: Spartanicus <mk98762@gmail.com>
CC: www-style@w3.org

Spartanicus wrote:
> content:"" works in Opera and Mozilla

But isn't equivalent to "content: normal" or "content: none".  Consider the 
following testcase and note that the two divs do not render the same way:

<html>
<style>
div:before { border: 5px solid green; }
div#test:before { content: ""; }
</style>
<div></div>
<hr>
<div id="test"></div>
</html>
Received on Tuesday, 24 April 2007 08:07:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:50 GMT