"tests\Managers\StyleManager\AdvancedCSS\classSelectors" Created images and test had zero fails. I added patch (mustellaStyleManagerAdvancedCSSClassSelectorsPatch.zip) to https://issues.apache.org/jira/browse/FLEX-33173
[java] ===================================================== [java] Passes: 52 [java] Fails: 0 [java] ===================================================== On Sun, Aug 26, 2012 at 1:43 PM, Cyrill Zadra <cyrill.za...@gmail.com>wrote: > Hi > > There is a pseudo selector test on mx:Button with custom states > "tests\Managers\StyleManager\AdvancedCSS\pseudoSelectors" and it looks for > me there's a bug in the sdk. If somebody can confirm that .. > > The same test for spark button works seamless. > > codesnippet > > <?xml version="1.0"?> > <!-- styles/PseudoSelectorExample.mxml --> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > xmlns:comp="comp.*"> > <mx:Style> > @namespace mx "library://ns.adobe.com/flex/mx"; > mx|Button:SubmitState { > cornerRadius: 15; > } > </mx:Style> > <comp:TestMxButton id="button" label="Click Me 2" x="10" y="65" /> > </mx:Application> > > <?xml version="1.0" encoding="utf-8"?> > <!-- comp/TestMxButton.mxml --> > <mx:Button xmlns:mx="http://www.adobe.com/2006/mxml" > width="120" height="50" currentState="SubmitState"> > <mx:states> > <mx:State name="SubmitState" > > <mx:SetProperty target="{this}" name="label" value="submit" /> > </mx:State> > <mx:State name="ClearState" > > <mx:SetProperty target="{this}" name="label" value="clear" /> > </mx:State> > </mx:states> > </mx:Button> > > I'll continue with "tests\Managers\StyleManager\AdvancedCSS\classSelectors" > > cyrill >