- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Sat, 08 Jan 2005 22:32:11 -0600
- To: Laurens Holst <lholst@students.cs.uu.nl>
- CC: www-style@w3.org
Laurens Holst wrote: > About 2), removing :enabled, that would be bothersome as well. With > :enabled you select only the elements which are enabled, and with > :disabled you only select those which are disabled. If you'd remove > :enabled, there would be no way to only target the enabled elements > except by targeting them all, without pseudo-class, and then overriding > all the properties you set in a :disabled pseudo-class. Not very > convenient :). Actually, if you think that would work, then :not(:disabled) would also work. The whole problem is that you can have elements which are neither :enabled nor :disabled (which would get styled as "enabled" in your proposed solution, incorrectly). -Boris
Received on Sunday, 9 January 2005 04:32:21 UTC