Is there a reason "focus" isn't defined as a valid selector for magic spriting?

16 views
Skip to first unread message

David Teirney

unread,
Dec 27, 2012, 3:54:57 PM12/27/12
to compas...@googlegroups.com
Hello,

For our image library we are looking to create specific versions of the images to show when the anchor is focused. Is there a reason that "focus" isn't a valid magic selector?

From sprites.rb
VALID_SELECTORS = %w(hover active target)

If not, should I create a PR to add this ability?

Regards,
David

Chris Eppstein

unread,
May 6, 2013, 8:40:07 PM5/6/13
to compas...@googlegroups.com
It's an oversight. Let's fix it.



On Mon, Apr 29, 2013 at 12:49 PM, Simon Tam <simon...@gmail.com> wrote:
I'm also curious as to why Compass doesn't support the :focus for the magic sprite selector.
--
You received this message because you are subscribed to the Google Groups "Compass" group.
To unsubscribe from this group and stop receiving emails from it, send an email to compass-user...@googlegroups.com.

To post to this group, send email to compas...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Chris Eppstein

unread,
May 16, 2013, 12:37:45 PM5/16/13
to compas...@googlegroups.com
This was fixed in https://github.com/chriseppstein/compass/commit/07c56d394fa4f14a167236698590ee88794eb7c2 and will be in the compass 0.13 release.

Chris

Reply all
Reply to author
Forward
0 new messages