- From: Benjamin Poulain <benjamin@webkit.org>
- Date: Mon, 20 Jul 2015 17:37:56 -0700
- To: Brad Kemper <brad.kemper@gmail.com>, "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: Marat Tanalin <mtanalin@yandex.ru>, Ms2ger <ms2ger@gmail.com>, Aaron Reisman <aaron@hired.com>, "www-style@w3.org" <www-style@w3.org>
On 7/20/15 5:28 PM, Brad Kemper wrote: >> On Jul 20, 2015, at 4:13 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote: >> >> The element() function is not handled in the middle of style >> resolution, nor does it involve looping back and forth between >> selector application and style resolution. > > But we do have :hover that is kind of like that. > > a:hover { display: none; } That is a great example of mistakes we should try to avoid in the future :) Looping over :hover can be ridiculously expensive and it is never providing a good user experience. Benjamin
Received on Tuesday, 21 July 2015 00:39:14 UTC