W3C home > Mailing lists > Public > www-style@w3.org > November 2011

Re: A Call for ::nth-everything

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 02 Nov 2011 13:16:28 -0400
Message-ID: <4EB17AEC.40907@mit.edu>
To: Charles Pritchard <chuck@jumis.com>
CC: www-style@w3.org
On 11/2/11 12:15 AM, Boris Zbarsky wrote:
> <style>
> div::first-letter { color: green; }
> </style>
> <div>First letter should go green when hovered</div>
>
> does not work in Gecko, for example. Nor in WebKit, for that matter.
> Presto gets this right.

This should have been:

   <style>
     div:hover::first-letter { color: green; }
   </style>
   <div>First letter should go green when hovered</div>

-Boris
Received on Wednesday, 2 November 2011 17:24:21 GMT

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