Saturday, April 13, 2013

Re: CSS Attribute *= and ^= selectors



On Friday, April 12, 2013 4:19:43 PM UTC+2, Robert Pofuk wrote:
Hi,

In my CSS i have:

@Sprite  [class*="icon-"], [class^=" icon-"] {
  gwt-image: "myImage1";
}

@Sprite .icon-white {
    gwt-image: "myImage2";
}

[ERROR]- The @sprite rule [] must specify the gwt-image property

While using some other selectors:
@Sprite  [class|="icon-"], [class~=" icon-"] {
  gwt-image: "myImage1";
}
works as espected!

I'm I doing something wrong or is this a bug?

CssResources are limited to CSS 2.1 (with a few additions).
*= and ^= are from Selectors Level 3: http://www.w3.org/TR/selectors/ 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate