Re: A Call for ::nth-everything

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 UTC