incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1369970 [9/16] - in /incubator/flex/trunk/mustella/tests/Managers: ./ CursorManager/ CursorManager/Methods/ CursorManager/Props/ CursorManager/SWFs/ CursorManager/SWFs/Assets/ DragManager/ DragManager/Events/ DragManager/Halo/ DragManager/...
Date Mon, 06 Aug 2012 20:17:23 GMT
Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/assets/pseudoStyles.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/assets/pseudoStyles.css?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/assets/pseudoStyles.css (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/assets/pseudoStyles.css Mon Aug  6 20:17:09 2012
@@ -0,0 +1,129 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+    @namespace s "library://ns.adobe.com/flex/spark";
+    @namespace mx "library://ns.adobe.com/flex/mx";
+        @font-face{
+            src: url("../../../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Regular.ttf");
+            fontFamily: myArial;
+            embedAsCFF: true;
+        }
+
+
+        @font-face{
+            src: url("../../../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Bold.ttf");
+            fontWeight: bold;
+            fontFamily: myArial;
+            embedAsCFF: true;
+        }
+
+        @font-face{
+            src: url("../../../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Italic.ttf");
+            fontStyle: italic;
+            fontFamily: myArial;
+            embedAsCFF: true;
+
+        }
+
+        s|ButtonBase {
+            fontAntiAliasType: "normal";
+            fontFamily: myArial;
+            fontSize: 12;
+            fontLookup: "embeddedCFF";
+        }
+
+        s|TextBox {
+            fontAntiAliasType: "normal";
+            fontFamily: myArial;
+            fontSize: 10;
+            fontLookup: "embeddedCFF";
+        }
+
+        s|ButtonBase:up {
+            chromeColor: #B00000;
+        }
+
+        s|ButtonBase:down {
+            chromeColor: #66CCFF;
+        }
+        s|ButtonBase:disabled {
+            chromeColor: #FFCC66;
+        }
+        s|ToggleButton:upAndSelected {
+            chromeColor: #660099;
+        }
+
+        s|Panel s|NumericStepper:normal {
+            symbolColor: #FF0000;
+        }
+
+        s|Panel s|NumericStepper:disabled {
+            symbolColor: #FF2266;
+        }
+
+        s|TextInput:normal {
+            contentBackgroundColor: #99CCFF;
+        }
+
+        s|TextInput:disabled {
+            contentBackgroundColor: #996699;
+        }
+
+        .blueStyle:up {
+            chromeColor: #0066CC;
+            focusColor: #660066;
+        }
+
+        .blueStyle:down {
+            chromeColor: #33CC99;
+        }
+
+        s|TextInput.redStyle:normal {
+            contentBackgroundColor: #FF0000;
+        }
+        s|TextInput.redStyle:disabled {
+            contentBackgroundColor: #FFCC66;
+        }
+
+        #firstBar:normal {
+            chromeColor: #339933;
+        }
+
+        #firstBar:disabled {
+            chromeColor: #993333;
+        }
+
+        s|HScrollBar#secondBar:normal {
+            symbolColor: #00FF00;
+        }
+        
+        mx|Box:normal {
+            fontSize: 12;
+        }
+
+        mx|Box:zoomed {
+            fontSize: 20;
+        }
+        
+        s|VGroup:normal {
+            symbolColor: #FF0000;
+        }
+
+        s|VGroup:zoomed{
+            symbolColor: #2299FF;
+        }
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/assets/pseudoStylesHalo.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/assets/pseudoStylesHalo.css?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/assets/pseudoStylesHalo.css (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/assets/pseudoStylesHalo.css Mon Aug  6 20:17:09 2012
@@ -0,0 +1,106 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+	@namespace s "library://ns.adobe.com/flex/spark";
+	@namespace mx "library://ns.adobe.com/flex/mx";
+        @font-face{
+            src: url("../../../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Regular.ttf");
+            fontFamily: myArial;
+			embedAsCFF: false;
+        }
+
+
+        @font-face{
+            src: url("../../../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Bold.ttf");
+            fontWeight: bold;
+            fontFamily: myArial;
+			embedAsCFF: false;
+        }
+
+        @font-face{
+            src: url("../../../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Italic.ttf");
+            fontStyle: italic;
+            fontFamily: myArial;
+			embedAsCFF: false;
+        }
+
+        global {
+            fontFamily: myArial;
+        }
+
+        mx|Button:SubmitState {
+            cornerRadius: 15;
+        }
+
+        mx|Button:ClearState {
+            cornerRadius: 0;
+        }
+
+        mx|Box:normal {
+            fontSize: 12;
+        }
+
+        mx|Box:zoomed {
+            fontSize: 20;
+        }
+
+        mx|Panel mx|DateChooser:enabledState {
+            color: #0000DD;
+        }
+
+        mx|Panel mx|DateChooser:disabledState {
+            color: #FF00FF;
+        }
+
+        #peepComboBox:normalState {
+            rollOverColor: #FF0033;
+        }
+
+        #peepComboBox:errorState {
+            rollOverColor: #CC3399;
+        }
+
+        mx|HBox #peepComboBox3:normalState {
+            rollOverColor: #FF0033;
+        }
+
+        mx|HBox #peepComboBox3:errorState {
+            rollOverColor: #CC3399;
+        }
+
+        .purpleBox:state1 {
+            backgroundColor: #990099;
+        }
+
+        .purpleBox:state2 {
+            backgroundColor: #660066;
+        }		
+
+        s|CheckBox {
+	    fontFamily: "ArialEmbedded";
+	    fontLookup: "embeddedCFF";
+	    fontAntiAliasType: "normal";
+	}
+
+	s|VGroup:normal {
+	    symbolColor: #FF0000;
+	}
+
+	s|VGroup:zoomed{
+	    symbolColor: #2299FF;
+	}

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/AccordionComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/AccordionComp.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/AccordionComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/AccordionComp.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Accordion xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" height="130" width="300">
+
+       <mx:VBox label="first" width="20" height="30" />
+       <mx:Canvas label="second" width="200" height="70" >
+           <mx:VBox width="20" height="30" id="vbox_nested" top="0" left="0"/>
+       </mx:Canvas>
+</mx:Accordion>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/BoxComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/BoxComp.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/BoxComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/BoxComp.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:TitleWindow xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" title="my Title">
+
+	   <mx:Box id="padding10" borderStyle="solid" borderColor="0x000000">
+	   <mx:Label text="Hello World" id="label1"/>
+	   <mx:Button label="cheers!" id="button1"/>
+	   <mx:Button label="My text is underlined and fillColor red"
+		   styleName="panelButtonStyle" id="button2" />
+	   <mx:CheckBox label="No Way" id="checkbox1" />
+	   </mx:Box>
+
+</mx:TitleWindow>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/ButtonComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/ButtonComp.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/ButtonComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/ButtonComp.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<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>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/CanvasComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/CanvasComp.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/CanvasComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/CanvasComp.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" width="200" height="150"
+    backgroundColor="0x0000FF">
+
+	   <mx:Text text="Hello World" id="text1" y="5"/>
+	   <mx:Button label="cheers!" id="button1" y="50"/>
+	   <mx:CheckBox label="No Way" id="checkbox1" color="#FFFFFF" bottom="0"/>
+
+</mx:Canvas>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/CanvasStatesComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/CanvasStatesComp.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/CanvasStatesComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/CanvasStatesComp.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"  currentState="state1" width="200" height="30" styleName="purpleBox"
+   xmlns:comps="comps.*">
+    <mx:states>
+        <mx:State name="state1" >
+		    <mx:AddChild id="addChild0">
+                 <comps:TinyCanvasComp width="20" x="40" y="0" styleName="purpleBox" currentState="state1" />
+		    </mx:AddChild>
+        </mx:State>
+        <mx:State name="state2" >
+		    <mx:AddChild id="addChild10">
+                 <comps:TinyCanvasComp width="20" x="40" y="0" styleName="purpleBox" currentState="state2" />
+		    </mx:AddChild>
+        </mx:State>
+    </mx:states>
+
+    <mx:Canvas width="20" x="0" y="0" backgroundColor="0x000000" borderColor="0xFFFFFF" borderStyle="solid"/>
+
+</mx:Canvas>

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/ComboBoxStatesComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/ComboBoxStatesComp.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/ComboBoxStatesComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/ComboBoxStatesComp.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:ComboBox xmlns:mx="http://www.adobe.com/2006/mxml" width="120" currentState="normalState" selectedIndex="1">
+<mx:states>
+    <mx:State name="normalState" />
+    <mx:State name="errorState" />
+</mx:states>
+
+<mx:dataProvider>
+    <mx:String>Snowman</mx:String>
+    <mx:String>Reindeer</mx:String>
+    <mx:String>Angels</mx:String>
+    <mx:String>Santa Elves</mx:String>
+    <mx:String>Snow Owls</mx:String>
+</mx:dataProvider>
+</mx:ComboBox>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/CustomFxContainer.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/CustomFxContainer.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/CustomFxContainer.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/CustomFxContainer.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:SkinnableContainer xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" >
+<s:TextInput text="I have a cold." />
+<s:Button label="ho ho ho" />
+</s:SkinnableContainer>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/CustomPanel.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/CustomPanel.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/CustomPanel.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/CustomPanel.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Panel xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" >
+<mx:TextInput text="I have a cold." />
+<mx:Button label="ho ho ho" />
+<mx:List dataProvider="[2,35,134,643,43,464,34]" width="150" menuSelectionMode="true" />
+</mx:Panel> 
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/DateChooserComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/DateChooserComp.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/DateChooserComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/DateChooserComp.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:DateChooser xmlns:mx="http://www.adobe.com/2006/mxml" width="120" height="90" currentState="disabledState">
+<mx:states>
+
+    <mx:State name="enabledState" >
+        <mx:SetProperty target="{this}" name="enabled" value="true" />
+    </mx:State>
+
+    <mx:State name="disabledState" >
+        <mx:SetProperty target="{this}" name="height" value="122" />
+    </mx:State>
+
+</mx:states>
+
+</mx:DateChooser>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/FxButtonComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/FxButtonComp.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/FxButtonComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/FxButtonComp.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Button xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" width="120" height="50" currentState="SubmitState">
+<s:states>
+    <s:State name="SubmitState" />
+    <s:State name="ClearState" />
+</s:states>
+
+</s:Button>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/FxListComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/FxListComp.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/FxListComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/FxListComp.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:List xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" width="150" height="120">
+        <s:itemRenderer>
+            <fx:Component>
+                <s:ItemRenderer>
+                    <s:states>
+                        <s:State name="normal" />
+                        <s:State name="hovered" />
+                        <s:State name="selected" />
+                     </s:states>
+                     <s:TextInput id="nameLabel" text="{data.lastName}, {data.firstName}"/>
+                </s:ItemRenderer>
+            </fx:Component>
+        </s:itemRenderer>
+        <s:dataProvider>
+            <mx:ArrayCollection>
+               <fx:Object type="hr" firstName="Ann"  lastName="Green"  />
+               <fx:Object type="employee" firstName="Tom"  lastName="Smith"
+                  phone="415-155-1212" />
+               <fx:Object type="employee" firstName="John" lastName="Black"
+                        phone="408-344-1234" />
+            </mx:ArrayCollection>
+        </s:dataProvider>
+</s:List>

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/GroupBasic.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/GroupBasic.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/GroupBasic.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/GroupBasic.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:VGroup xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" currentState="normal" fontSize="20">
+    <s:states>
+        <s:State name="normal" />
+        <s:State name="zoomed" />
+    </s:states>
+
+	<s:CheckBox id="firstCheckBox" label="FxCheckBox" selected="true"/>
+
+</s:VGroup>

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/HBoxComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/HBoxComp.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/HBoxComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/HBoxComp.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:HBox xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" width="20" height="20"
+    styleName="pinkBox" />
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/PanelComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/PanelComp.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/PanelComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/PanelComp.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Panel xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark">
+
+	   <mx:Label text="Hello World" id="label1"/>
+	   <mx:Button label="cheers!" id="button1"/>
+	   <mx:Button label="My text is underlined and fillColor red"
+		   styleName="panelButtonStyle" id="button2" />
+	   <mx:CheckBox label="No Way" id="checkbox1" />
+
+</mx:Panel>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/TextBasic.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/TextBasic.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/TextBasic.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/TextBasic.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Box xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" currentState="normal">
+    <mx:states>
+        <mx:State name="normal" />
+        <mx:State name="zoomed" />
+    </mx:states>
+
+	<mx:Text id="textBox" text="I am a TextBox" />
+
+</mx:Box>

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/TileComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/TileComp.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/TileComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/TileComp.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Tile xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark">
+
+       <mx:Button label="cheers!" id="button1"/>
+       <mx:Button label="My text is underlined and fillColor red"
+           styleName="panelButtonStyle" id="button2" />
+       <mx:CheckBox label="No Way" id="checkbox1" />
+       <mx:Label text="Hello World" id="label1"/>
+       <mx:Box id="box1">
+          <mx:Label text="Bear" id="label2"/>
+          <mx:Button label="boo!" id="button3"/>
+       </mx:Box>
+</mx:Tile>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/TinyCanvasComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/TinyCanvasComp.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/TinyCanvasComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/TinyCanvasComp.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"  width="30" height="30" borderColor="0x000000" borderStyle="solid">
+    <mx:states>
+        <mx:State name="state1" />
+        <mx:State name="state2" />
+    </mx:states>
+
+</mx:Canvas>

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/TitleWindowComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/TitleWindowComp.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/TitleWindowComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/TitleWindowComp.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:TitleWindow xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" title="my Title">
+
+	   <mx:Label text="Hello World" id="label1"/>
+	   <mx:Button label="cheers!" id="button1"/>
+	   <mx:Button label="My text is underlined and fillColor red"
+		   styleName="panelButtonStyle" id="button2" />
+	   <mx:CheckBox label="No Way" id="checkbox1" />
+
+</mx:TitleWindow>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/VBoxStatesComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/VBoxStatesComp.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/VBoxStatesComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/comps/VBoxStatesComp.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:VBox xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" currentState="normal">
+    <mx:states>
+        <mx:State name="normal" />
+        <mx:State name="zoomed" />
+    </mx:states>
+
+	<mx:TextInput id="textBox" text="I am a TextBox" />
+	<mx:Button id="button11" label="I am a Button" />
+
+</mx:VBox>

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/pre_compile.sh
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/pre_compile.sh?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/pre_compile.sh (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/pre_compile.sh Mon Aug  6 20:17:09 2012
@@ -0,0 +1,31 @@
+#!/bin/sh
+################################################################################
+##
+##  Licensed to the Apache Software Foundation (ASF) under one or more
+##  contributor license agreements.  See the NOTICE file distributed with
+##  this work for additional information regarding copyright ownership.
+##  The ASF licenses this file to You under the Apache License, Version 2.0
+##  (the "License"); you may not use this file except in compliance with
+##  the License.  You may obtain a copy of the License at
+##
+##      http://www.apache.org/licenses/LICENSE-2.0
+##
+##  Unless required by applicable law or agreed to in writing, software
+##  distributed under the License is distributed on an "AS IS" BASIS,
+##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+##  See the License for the specific language governing permissions and
+##  limitations under the License.
+##
+################################################################################
+cd assets
+
+echo "Removing previously compiled files..."
+rm -f `find . -name "*.swf"`
+
+echo "Compiling css to swf..."
+$SDK_DIR/bin/mxmlc -static-link-runtime-shared-libraries=true panelStyles.css
+$SDK_DIR/bin/mxmlc -static-link-runtime-shared-libraries=true idStyles.css
+$SDK_DIR/bin/mxmlc -static-link-runtime-shared-libraries=true classStyles.css
+$SDK_DIR/bin/mxmlc -static-link-runtime-shared-libraries=true pseudoStyles.css
+$SDK_DIR/bin/mxmlc -static-link-runtime-shared-libraries=true pseudoStylesHalo.css
+$SDK_DIR/bin/mxmlc -static-link-runtime-shared-libraries=true ModuleComp.mxml
\ No newline at end of file

Propchange: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/SWFs/pre_compile.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_RuntimeCSS.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_RuntimeCSS.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_RuntimeCSS.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_RuntimeCSS.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,194 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester testDir="Managers/StyleManager/AdvancedCSS/classSelectors/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="ClassSelectors_main_runtimeCSS.mxml">
+       <mx:Script>
+		<![CDATA[
+
+		import comps.BoxComp;
+	    import mx.containers.HBox;
+
+		public static function init(o:DisplayObject):void
+		{
+        }
+
+
+		]]>
+       </mx:Script>
+       <mx:Metadata>
+           <![CDATA[
+               [Mixin]
+           ]]>
+       </mx:Metadata>
+
+	<testCases>
+    <!--- Pause seemed necessary for Runtime CSS tests to start up and load the css swf -->
+	<TestCase testID="classTypeSelector_basic_style" keywords="[CSS, type selector, class selector]"
+	    description="Does a basic Type selector with a class selector work defined within the Style tag?">
+	    <setup>
+	        <Pause timeout="1000" />
+	    </setup>
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="hbox1" />
+		</body>
+	</TestCase>
+	<TestCase testID="classTypeSelector_basic_style_neg" keywords="[CSS, type selector, class selector]"
+	    description="Be sure that a style on HBox.pinkButton doesn't affect a VBox with pinkButton styleName">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="vbox1" />
+		</body>
+	</TestCase>
+	<TestCase testID="classTypeSelector_basic_style_neg2" keywords="[CSS, type selector, class selector]"
+	    description="Be sure that a style on HBox.pinkButton doesn't affect a HBox with no styleName">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="hbox2" />
+		</body>
+	</TestCase>
+	<TestCase testID="classTypeSelector_basic_style_nested" keywords="[CSS, type selector, class selector]"
+	    description="Does a basic Type selector with a class selector work even if the type is nested in containers?">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="hbox3" />
+		</body>
+	</TestCase>
+	<TestCase testID="classTypeSelector_basic_style_setAtRuntime" keywords="[CSS, type selector, class selector]"
+	    description="Does a basic Type selector with a class selector work even if the styleName is set at runtime?">
+	    <setup>
+	        <ResetComponent target="hbox2" className="mx.containers.HBox" waitTarget="hbox2" waitEvent="updateComplete" />
+	        <SetProperty propertyName="width" target="hbox2" value="20" waitTarget="hbox2" waitEvent="updateComplete" />
+	        <SetProperty propertyName="height" target="hbox2" value="30" waitTarget="hbox2" waitEvent="updateComplete" />
+	    </setup>
+	    <body>
+	        <SetProperty propertyName="styleName" target="hbox2" value="pinkBox" waitTarget="hbox2" waitEvent="updateComplete" />
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="hbox2" timeout="2500" />
+		</body>
+	</TestCase>
+	<TestCase testID="classSelector_basic_PopUp_style" keywords="[CSS, type selector, class selector, PopUpManager]"
+	    description="Does a type selector with class selector work for component added to a popUp when defined within the Style tag?">
+	    <body>
+		    <DispatchMouseClickEvent target="openButton" localX="10" localY="10" waitTarget="iPopUp" waitEvent="updateComplete" />
+            <AssertPixelValue target="iPopUp" x="10" y="10" value="0xFF99CC" />
+		</body>
+	</TestCase>
+	<TestCase testID="classSelector_basic_module_style" keywords="[CSS, type selector, class selector, Modules]"
+	    description="(Module) Does a basic type selector with a class selector work defined within the Style tag?">
+	    <setup>
+		    <DispatchMouseClickEvent target="closeButton" localX="10" localY="10" />
+	    </setup>
+		<body>
+		    <AssertPixelValue target="hbox_module" x="10" y="10" value="0xFF99CC" />
+		</body>
+	</TestCase>
+	<TestCase testID="descendant_classSelector_basic_style" keywords="[CSS, type selector, class selector]"
+	    description="Test descendant type selector with a class selector within the Style tag?">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="button2" />
+		    <AssertStyleValue target="button2" styleName="color" value="0x697493" />
+		    <CompareBitmap url="../classSelectors/baselines/$testID_2.png" target="button3" />
+		    <AssertStyleValue target="button3" styleName="color" value="0x697493" />
+		</body>
+	</TestCase>
+	<TestCase testID="descendant_classSelector_basic_style_neg" keywords="[CSS, type selector, class selector]"
+	    description="Test descendant type selector with a class selector within the Style tag?">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="button1" />
+		    <AssertStyleValue target="button1" styleName="color" value="0x000000" />
+		    <AssertStyleValue target="main_button1" styleName="color" value="0x000000" />
+		    <AssertStyleValue target="main_button2" styleName="color" value="0x000000" />
+		</body>
+	</TestCase>
+	<TestCase testID="id_classSelector_basic_style" keywords="[CSS, class selector, id selector]"
+	    description="Test id selectors, with a class selector within the Style tag">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="myDateField" numColorVariances="5" ignoreMaxColorVariance="true"/>
+		    <DispatchMouseClickEvent target="myDateField.getChildAt(1)" localX="5" localY="5" waitTarget="myDateField" waitEvent="open" />
+		    <WaitForEffectsToEnd />
+		    <CompareBitmap url="../classSelectors/baselines/$testID_2.png" target="myDateField.dropdown" numColorVariances="5" ignoreMaxColorVariance="true"/>
+		    <AssertStyleValue target="myDateField" styleName="color" value="0xFF0000" />
+		</body>
+	</TestCase>
+	<TestCase testID="id_classSelector_basic_style_neg" keywords="[CSS, class selector, id selector]"
+	    description="Test id selectors, with a class selector within the Style tag">
+	    <setup>
+	        <ResetComponent target="myDateField" className="mx.controls.DateField" waitTarget="myDateField" waitEvent="updateComplete" />
+	    </setup>
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="myDateField2" numColorVariances="5" ignoreMaxColorVariance="true"/>
+		    <DispatchMouseClickEvent target="myDateField2.getChildAt(1)" localX="5" localY="5" waitTarget="myDateField2" waitEvent="open" />
+		    <WaitForEffectsToEnd />
+		    <CompareBitmap url="../classSelectors/baselines/$testID_2.png" target="myDateField2.dropdown" numColorVariances="5" ignoreMaxColorVariance="true"/>
+		</body>
+	</TestCase>
+	<TestCase testID="descendant_anyType_classSelector_style" keywords="[CSS, descendant selector, type selector, class selector]"
+	    description="Test descendant type selector with any type and a class selector within the Style tag?">
+	    <body>
+	        <AssertPixelValue target="greenCanvas" x="3" y="3" value="0x00DD00" />
+	        <AssertPixelValue target="greenBox" x="3" y="3" value="0x00DD00" />
+	        <AssertPixelValue target="greenVBox" x="3" y="4" value="0x00DD00" />
+	        <RunCode code="application.newBox = new HBox()" />
+	        <SetProperty target="newBox" propertyName="width" value="10" />
+	        <SetProperty target="newBox" propertyName="height" value="10" />
+	        <SetProperty target="newBox" propertyName="styleName" value="greenBox" />
+	        <RunCode code="application.greenContainer.addChild(application.newBox)" waitEvent="updateComplete" waitTarget="greenContainer" />
+            <AssertPixelValue target="greenContainer.getChildAt(4)" x="3" y="4" value="0x00DD00" />
+		</body>
+	</TestCase>
+	<TestCase testID="descendant_anyType_classSelector_style_neg" keywords="[CSS, descendant selector, type selector, class selector]"
+	    description="Test descendant type selector with any type and a class selector within the Style tag?">
+	    <body>
+	        <AssertPixelValue target="whiteVBox" x="3" y="4" value="0xFFFFFF" />
+	        <AssertPixelValue target="canvas2" x="3" y="4" value="0x99FFCC" />
+		</body>
+	</TestCase>
+	<TestCase testID="descendantWithClassSelector_typeSelector_style" keywords="[CSS, descendant selector, type selector, class selector]"
+	    description="Test a style like: ApplicationControlBar.iconAdditionStyle Button">
+	    <setup>
+	        <DispatchMouseClickEvent target="" waitTarget="" waitEvent="mouseUp" />
+	    </setup>
+	    <body>
+	        <CompareBitmap url="../classSelectors/baselines/$testID.png" target="acb_button1" />
+		</body>
+	</TestCase>
+	<TestCase testID="descendantWithClassSelector_typeSelector_style_precedence" keywords="[CSS, descendant selector, type selector, class selector]"
+	    description="Test a style like: ApplicationControlBar.iconAdditionStyle Button">
+	    <body>
+	        <CompareBitmap url="../classSelectors/baselines/$testID.png" target="acb_button2" />
+		</body>
+	</TestCase>
+	<TestCase testID="TypeWithClassSelector_separatedByCommas_style" keywords="[CSS, type selector, class selector]"
+	    description="Test a style like: Label,Text.redTheme ">
+	    <setup>
+	        <ResetComponent target="myDateField2" className="mx.controls.DateField" waitTarget="myDateField2" waitEvent="updateComplete" />
+	    </setup>
+	    <body>
+	        <AssertStyleValue target="text1" styleName="color" value="0xFF0000" />
+	        <AssertStyleValue target="text2" styleName="color" value="0xFF0000" />
+	        <AssertStyleValue target="label2" styleName="color" value="0xFF0000" />
+	        <CompareBitmap url="../classSelectors/baselines/$testID.png" target="label2" />
+		</body>
+	</TestCase>
+	<TestCase testID="TypeWithClassSelector_separatedByCommas_style_neg" keywords="[CSS, type selector, class selector]"
+	    description="Test a style like: Label,Text.redTheme">
+	    <body>
+	        <AssertStyleValue target="label1" styleName="color" value="0x000000" />
+	        <CompareBitmap url="../classSelectors/baselines/$testID.png" target="label1" />
+		</body>
+	</TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_Source.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_Source.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_Source.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_Source.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester testDir="Managers/StyleManager/AdvancedCSS/classSelectors/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="ClassSelectors_main_source.mxml">
+       <mx:Script>
+		<![CDATA[
+
+		import comps.BoxComp;
+	    import mx.containers.HBox;
+
+		public static function init(o:DisplayObject):void
+		{
+        }
+
+
+		]]>
+       </mx:Script>
+       <mx:Metadata>
+           <![CDATA[
+               [Mixin]
+           ]]>
+       </mx:Metadata>
+
+	<testCases>
+
+	<TestCase testID="classTypeSelector_basic_style" keywords="[CSS, type selector, class selector]"
+	    description="Does a basic Type selector with a class selector work defined within the Style tag?">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="hbox1" />
+		</body>
+	</TestCase>
+	<TestCase testID="classTypeSelector_basic_style_neg" keywords="[CSS, type selector, class selector]"
+	    description="Be sure that a style on HBox.pinkButton doesn't affect a VBox with pinkButton styleName">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="vbox1" />
+		</body>
+	</TestCase>
+	<TestCase testID="classTypeSelector_basic_style_neg2" keywords="[CSS, type selector, class selector]"
+	    description="Be sure that a style on HBox.pinkButton doesn't affect a HBox with no styleName">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="hbox2" />
+		</body>
+	</TestCase>
+	<TestCase testID="classTypeSelector_basic_style_nested" keywords="[CSS, type selector, class selector]"
+	    description="Does a basic Type selector with a class selector work even if the type is nested in containers?">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="hbox3" />
+		</body>
+	</TestCase>
+	<TestCase testID="classTypeSelector_basic_style_setAtRuntime" keywords="[CSS, type selector, class selector]"
+	    description="Does a basic Type selector with a class selector work even if the styleName is set at runtime?">
+	    <setup>
+	        <ResetComponent target="hbox2" className="mx.containers.HBox" waitTarget="hbox2" waitEvent="updateComplete" />
+	        <SetProperty propertyName="width" target="hbox2" value="20" waitTarget="hbox2" waitEvent="updateComplete" />
+	        <SetProperty propertyName="height" target="hbox2" value="30" waitTarget="hbox2" waitEvent="updateComplete" />
+	    </setup>
+	    <body>
+	        <SetProperty propertyName="styleName" target="hbox2" value="pinkBox" waitTarget="hbox2" waitEvent="updateComplete" />
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="hbox2" timeout="2500" />
+		</body>
+	</TestCase>
+	<TestCase testID="classSelector_basic_PopUp_style" keywords="[CSS, type selector, class selector, PopUpManager]"
+	    description="Does a type selector with class selector work for component added to a popUp when defined within the Style tag?">
+	    <body>
+		    <DispatchMouseClickEvent target="openButton" localX="10" localY="10" waitTarget="iPopUp" waitEvent="updateComplete" />
+            <AssertPixelValue target="iPopUp" x="10" y="10" value="0xFF99CC" />
+		</body>
+	</TestCase>
+	<TestCase testID="classSelector_basic_module_style" keywords="[CSS, type selector, class selector, Modules]"
+	    description="(Module) Does a basic type selector with a class selector work defined within the Style tag?">
+	    <setup>
+		    <DispatchMouseClickEvent target="closeButton" localX="10" localY="10" />
+	    </setup>
+		<body>
+		    <AssertPixelValue target="hbox_module" x="10" y="10" value="0xFF99CC" />
+		</body>
+	</TestCase>
+	<TestCase testID="descendant_classSelector_basic_style" keywords="[CSS, type selector, class selector]"
+	    description="Test descendant type selector with a class selector within the Style tag?">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="button2" />
+		    <AssertStyleValue target="button2" styleName="color" value="0x697493" />
+		    <CompareBitmap url="../classSelectors/baselines/$testID_2.png" target="button3" />
+		    <AssertStyleValue target="button3" styleName="color" value="0x697493" />
+		</body>
+	</TestCase>
+	<TestCase testID="descendant_classSelector_basic_style_neg" keywords="[CSS, type selector, class selector]"
+	    description="Test descendant type selector with a class selector within the Style tag?">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="button1" />
+		    <AssertStyleValue target="button1" styleName="color" value="0x000000" />
+		    <AssertStyleValue target="main_button1" styleName="color" value="0x000000" />
+		    <AssertStyleValue target="main_button2" styleName="color" value="0x000000" />
+		</body>
+	</TestCase>
+	<TestCase testID="id_classSelector_basic_style" keywords="[CSS, class selector, id selector]"
+	    description="Test id selectors, with a class selector within the Style tag">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="myDateField" numColorVariances="5" ignoreMaxColorVariance="true"/>
+		    <DispatchMouseClickEvent target="myDateField.getChildAt(1)" localX="5" localY="5" waitTarget="myDateField" waitEvent="open" />
+		    <WaitForEffectsToEnd />
+		    <CompareBitmap url="../classSelectors/baselines/$testID_2.png" target="myDateField.dropdown" numColorVariances="5" ignoreMaxColorVariance="true"/>
+		    <AssertStyleValue target="myDateField" styleName="color" value="0xFF0000" />
+		</body>
+	</TestCase>
+	<TestCase testID="id_classSelector_basic_style_neg" keywords="[CSS, class selector, id selector]"
+	    description="Test id selectors, with a class selector within the Style tag">
+	    <setup>
+	        <ResetComponent target="myDateField" className="mx.controls.DateField" waitTarget="myDateField" waitEvent="updateComplete" />
+	    </setup>
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="myDateField2" numColorVariances="5" ignoreMaxColorVariance="true"/>
+		    <DispatchMouseClickEvent target="myDateField2.getChildAt(1)" localX="5" localY="5" waitTarget="myDateField2" waitEvent="open" />
+		    <WaitForEffectsToEnd />
+		    <CompareBitmap url="../classSelectors/baselines/$testID_2.png" target="myDateField2.dropdown" numColorVariances="5" ignoreMaxColorVariance="true"/>
+		</body>
+	</TestCase>
+	<TestCase testID="descendant_anyType_classSelector_style" keywords="[CSS, descendant selector, type selector, class selector]"
+	    description="Test descendant type selector with any type and a class selector within the Style tag?">
+	    <body>
+	        <AssertPixelValue target="greenCanvas" x="3" y="3" value="0x00DD00" />
+	        <AssertPixelValue target="greenBox" x="3" y="3" value="0x00DD00" />
+	        <AssertPixelValue target="greenVBox" x="3" y="4" value="0x00DD00" />
+	        <RunCode code="application.newBox = new HBox()" />
+	        <SetProperty target="newBox" propertyName="width" value="10" />
+	        <SetProperty target="newBox" propertyName="height" value="10" />
+	        <SetProperty target="newBox" propertyName="styleName" value="greenBox" />
+	        <RunCode code="application.greenContainer.addChild(application.newBox)" waitEvent="updateComplete" waitTarget="greenContainer" />
+            <AssertPixelValue target="greenContainer.getChildAt(4)" x="3" y="4" value="0x00DD00" />
+		</body>
+	</TestCase>
+	<TestCase testID="descendant_anyType_classSelector_style_neg" keywords="[CSS, descendant selector, type selector, class selector]"
+	    description="Test descendant type selector with any type and a class selector within the Style tag?">
+	    <body>
+	        <AssertPixelValue target="whiteVBox" x="3" y="4" value="0xFFFFFF" />
+	        <AssertPixelValue target="canvas2" x="3" y="4" value="0x99FFCC" />
+		</body>
+	</TestCase>
+	<TestCase testID="descendantWithClassSelector_typeSelector_style" keywords="[CSS, descendant selector, type selector, class selector]"
+	    description="Test a style like: ApplicationControlBar.iconAdditionStyle Button">
+	    <body>
+	        <CompareBitmap url="../classSelectors/baselines/$testID.png" target="acb_button1" />
+		</body>
+	</TestCase>
+	<TestCase testID="descendantWithClassSelector_typeSelector_style_precedence" keywords="[CSS, descendant selector, type selector, class selector]"
+	    description="Test a style like: ApplicationControlBar.iconAdditionStyle Button">
+	    <setup>
+	        <DispatchMouseClickEvent target="" waitTarget="" waitEvent="mouseUp" />
+	    </setup>
+	    <body>
+	        <CompareBitmap url="../classSelectors/baselines/$testID.png" target="acb_button2" />
+		</body>
+	</TestCase>
+	<TestCase testID="TypeWithClassSelector_separatedByCommas_style" keywords="[CSS, type selector, class selector]"
+	    description="Test a style like: Label,Text.redTheme ">
+	    <setup>
+	        <ResetComponent target="myDateField2" className="mx.controls.DateField" waitTarget="myDateField2" waitEvent="updateComplete" />
+	    </setup>
+	    <body>
+	        <AssertStyleValue target="text1" styleName="color" value="0xFF0000" />
+	        <AssertStyleValue target="text2" styleName="color" value="0xFF0000" />
+	        <AssertStyleValue target="label2" styleName="color" value="0xFF0000" />
+	        <CompareBitmap url="../classSelectors/baselines/$testID.png" target="label2" />
+		</body>
+	</TestCase>
+	<TestCase testID="TypeWithClassSelector_separatedByCommas_style_neg" keywords="[CSS, type selector, class selector]"
+	    description="Test a style like: Label,Text.redTheme">
+	    <body>
+	        <AssertStyleValue target="label1" styleName="color" value="0x000000" />
+	        <CompareBitmap url="../classSelectors/baselines/$testID.png" target="label1" />
+		</body>
+	</TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_Style.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_Style.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_Style.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_ClassSelectors_Style.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester testDir="Managers/StyleManager/AdvancedCSS/classSelectors/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="ClassSelectors_main_styleTag.mxml">
+       <mx:Script>
+		<![CDATA[
+
+		import comps.BoxComp;
+	    import mx.containers.HBox;
+
+		public static function init(o:DisplayObject):void
+		{
+        }
+
+
+		]]>
+       </mx:Script>
+       <mx:Metadata>
+           <![CDATA[
+               [Mixin]
+           ]]>
+       </mx:Metadata>
+
+	<testCases>
+
+	<TestCase testID="classTypeSelector_basic_style" keywords="[CSS, type selector, class selector]"
+	    description="Does a basic Type selector with a class selector work defined within the Style tag?">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="hbox1" />
+		</body>
+	</TestCase>
+	<TestCase testID="classTypeSelector_basic_style_neg" keywords="[CSS, type selector, class selector]"
+	    description="Be sure that a style on HBox.pinkButton doesn't affect a VBox with pinkButton styleName">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="vbox1" />
+		</body>
+	</TestCase>
+	<TestCase testID="classTypeSelector_basic_style_neg2" keywords="[CSS, type selector, class selector]"
+	    description="Be sure that a style on HBox.pinkButton doesn't affect a HBox with no styleName">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="hbox2" />
+		</body>
+	</TestCase>
+	<TestCase testID="classTypeSelector_basic_style_nested" keywords="[CSS, type selector, class selector]"
+	    description="Does a basic Type selector with a class selector work even if the type is nested in containers?">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="hbox3" />
+		</body>
+	</TestCase>
+	<TestCase testID="classTypeSelector_basic_style_setAtRuntime" keywords="[CSS, type selector, class selector]"
+	    description="Does a basic Type selector with a class selector work even if the styleName is set at runtime?">
+	    <setup>
+	        <ResetComponent target="hbox2" className="mx.containers.HBox" waitTarget="hbox2" waitEvent="updateComplete" />
+	        <SetProperty propertyName="width" target="hbox2" value="20" waitTarget="hbox2" waitEvent="updateComplete" />
+	        <SetProperty propertyName="height" target="hbox2" value="30" waitTarget="hbox2" waitEvent="updateComplete" />
+	    </setup>
+	    <body>
+	        <SetProperty propertyName="styleName" target="hbox2" value="pinkBox" waitTarget="hbox2" waitEvent="updateComplete" />
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="hbox2" timeout="2500" />
+		</body>
+	</TestCase>
+	<TestCase testID="classSelector_basic_PopUp_style" keywords="[CSS, type selector, class selector, PopUpManager]"
+	    description="Does a type selector with class selector work for component added to a popUp when defined within the Style tag?">
+	    <body>
+		    <DispatchMouseClickEvent target="openButton" localX="10" localY="10" waitTarget="iPopUp" waitEvent="updateComplete" />
+            <AssertPixelValue target="iPopUp" x="10" y="10" value="0xFF99CC" />
+		</body>
+	</TestCase>
+	<TestCase testID="classSelector_basic_module_style" keywords="[CSS, type selector, class selector, Modules]"
+	    description="(Module) Does a basic type selector with a class selector work defined within the Style tag?">
+	    <setup>
+		    <DispatchMouseClickEvent target="closeButton" localX="10" localY="10" />
+	    </setup>
+		<body>
+		    <AssertPixelValue target="hbox_module" x="10" y="10" value="0xFF99CC" />
+		</body>
+	</TestCase>
+	<TestCase testID="descendant_classSelector_basic_style" keywords="[CSS, type selector, class selector]"
+	    description="Test descendant type selector with a class selector within the Style tag?">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="button2" />
+		    <AssertStyleValue target="button2" styleName="color" value="0x697493" />
+		    <CompareBitmap url="../classSelectors/baselines/$testID_2.png" target="button3" />
+		    <AssertStyleValue target="button3" styleName="color" value="0x697493" />
+		</body>
+	</TestCase>
+	<TestCase testID="descendant_classSelector_basic_style_neg" keywords="[CSS, type selector, class selector]"
+	    description="Test descendant type selector with a class selector within the Style tag?">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="button1" />
+		    <AssertStyleValue target="button1" styleName="color" value="0x000000" />
+		    <AssertStyleValue target="main_button1" styleName="color" value="0x000000" />
+		    <AssertStyleValue target="main_button2" styleName="color" value="0x000000" />
+		</body>
+	</TestCase>
+	<TestCase testID="id_classSelector_basic_style" keywords="[CSS, class selector, id selector]"
+	    description="Test id selectors, with a class selector within the Style tag">
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="myDateField" numColorVariances="5" ignoreMaxColorVariance="true"/>
+		    <DispatchMouseClickEvent target="myDateField.getChildAt(1)" localX="5" localY="5" waitTarget="myDateField" waitEvent="open" />
+		    <WaitForEffectsToEnd />
+		    <CompareBitmap url="../classSelectors/baselines/$testID_2.png" target="myDateField.dropdown" numColorVariances="5" ignoreMaxColorVariance="true"/>
+		    <AssertStyleValue target="myDateField" styleName="color" value="0xFF0000" />
+		</body>
+	</TestCase>
+	<TestCase testID="id_classSelector_basic_style_neg" keywords="[CSS, class selector, id selector]"
+	    description="Test id selectors, with a class selector within the Style tag">
+	    <setup>
+	        <ResetComponent target="myDateField" className="mx.controls.DateField" waitTarget="myDateField" waitEvent="updateComplete" />
+	    </setup>
+	    <body>
+		    <CompareBitmap url="../classSelectors/baselines/$testID.png" target="myDateField2" numColorVariances="5" ignoreMaxColorVariance="true"/>
+		    <DispatchMouseClickEvent target="myDateField2.getChildAt(1)" localX="5" localY="5" waitTarget="myDateField2" waitEvent="open" />
+		    <WaitForEffectsToEnd />
+		    <CompareBitmap url="../classSelectors/baselines/$testID_2.png" target="myDateField2.dropdown" numColorVariances="5" ignoreMaxColorVariance="true"/>
+		</body>
+	</TestCase>
+	<TestCase testID="descendant_anyType_classSelector_style" keywords="[CSS, descendant selector, type selector, class selector]"
+	    description="Test descendant type selector with any type and a class selector within the Style tag?">
+	    <body>
+	        <AssertPixelValue target="greenCanvas" x="3" y="3" value="0x00DD00" />
+	        <AssertPixelValue target="greenBox" x="3" y="3" value="0x00DD00" />
+	        <AssertPixelValue target="greenVBox" x="3" y="4" value="0x00DD00" />
+	        <RunCode code="application.newBox = new HBox()" />
+	        <SetProperty target="newBox" propertyName="width" value="10" />
+	        <SetProperty target="newBox" propertyName="height" value="10" />
+	        <SetProperty target="newBox" propertyName="styleName" value="greenBox" />
+	        <RunCode code="application.greenContainer.addChild(application.newBox)" waitEvent="updateComplete" waitTarget="greenContainer" />
+            <AssertPixelValue target="greenContainer.getChildAt(4)" x="3" y="4" value="0x00DD00" />
+		</body>
+	</TestCase>
+	<TestCase testID="descendant_anyType_classSelector_style_neg" keywords="[CSS, descendant selector, type selector, class selector]"
+	    description="Test descendant type selector with any type and a class selector within the Style tag?">
+	    <body>
+	        <AssertPixelValue target="whiteVBox" x="3" y="4" value="0xFFFFFF" />
+	        <AssertPixelValue target="canvas2" x="3" y="4" value="0x99FFCC" />
+		</body>
+	</TestCase>
+	<TestCase testID="descendantWithClassSelector_typeSelector_style" keywords="[CSS, descendant selector, type selector, class selector]"
+	    description="Test a style like: ApplicationControlBar.iconAdditionStyle Button">
+	    <setup>
+	        <DispatchMouseClickEvent target="" waitTarget="" waitEvent="mouseUp" />
+	    </setup>
+	    <body>
+	        <CompareBitmap url="../classSelectors/baselines/$testID.png" target="acb_button1" />
+		</body>
+	</TestCase>
+	<TestCase testID="TypeWithClassSelector_separatedByCommas_style" keywords="[CSS, type selector, class selector]"
+	    description="Test a style like: Label,Text.redTheme ">
+	    <setup>
+	        <ResetComponent target="myDateField2" className="mx.controls.DateField" waitTarget="myDateField2" waitEvent="updateComplete" />
+	    </setup>
+	    <body>
+	        <AssertStyleValue target="text1" styleName="color" value="0xFF0000" />
+	        <AssertStyleValue target="text2" styleName="color" value="0xFF0000" />
+	        <AssertStyleValue target="label2" styleName="color" value="0xFF0000" />
+	        <CompareBitmap url="../classSelectors/baselines/$testID.png" target="label2" />
+		</body>
+	</TestCase>
+	<TestCase testID="TypeWithClassSelector_separatedByCommas_style_neg" keywords="[CSS, type selector, class selector]"
+	    description="Test a style like: Label,Text.redTheme">
+	    <body>
+	        <AssertStyleValue target="label1" styleName="color" value="0x000000" />
+	        <CompareBitmap url="../classSelectors/baselines/$testID.png" target="label1" />
+		</body>
+	</TestCase>
+	<TestCase testID="descendantWithClassSelector_typeSelector_style_precedence" keywords="[CSS, descendant selector, type selector, class selector]"
+	    description="Test a style like: ApplicationControlBar.iconAdditionStyle Button">
+	    <body>
+	        <CompareBitmap url="../classSelectors/baselines/$testID.png" target="acb_button2" />
+		</body>
+	</TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_checkColor.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_checkColor.mxml?rev=1369970&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_checkColor.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/AdvancedCSS_checkColor.mxml Mon Aug  6 20:17:09 2012
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester testDir="Managers/StyleManager/AdvancedCSS/classSelectors/"  xmlns:fx="http://ns.adobe.com/mxml/2009"  xmlns="*" testSWF="AdvancedCSSTest.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<fx:Script>
+	<![CDATA[
+		public static function init(o:DisplayObject):void
+		{
+		}
+		]]>
+	</fx:Script>
+	
+       <fx:Metadata>
+           <![CDATA[
+               [Mixin]
+           ]]>
+       </fx:Metadata>
+
+	<testCases>
+
+	<TestCase testID="checkColorForStar" keywords="[CSS, type selector]"
+	    description="Does a basic Type selector with a class selector (*) work defined within the Style tag?">
+		    <setup>
+			<Pause timeout="1000" />
+		    </setup>
+
+		    <body>		
+			<CompareBitmap url="../classSelectors/baselines/$testID.png" target="sparkButton" />
+		    </body>
+	</TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/TypeWithClassSelector_separatedByCommas_style.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/TypeWithClassSelector_separatedByCommas_style.png?rev=1369970&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/TypeWithClassSelector_separatedByCommas_style.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/TypeWithClassSelector_separatedByCommas_style_neg.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/TypeWithClassSelector_separatedByCommas_style_neg.png?rev=1369970&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/TypeWithClassSelector_separatedByCommas_style_neg.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/checkColorForStar.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/checkColorForStar.png?rev=1369970&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/checkColorForStar.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/classTypeSelector_basic_style.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/classTypeSelector_basic_style.png?rev=1369970&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/classTypeSelector_basic_style.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/classTypeSelector_basic_style_neg.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/classTypeSelector_basic_style_neg.png?rev=1369970&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/classTypeSelector_basic_style_neg.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/classTypeSelector_basic_style_neg2.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/classTypeSelector_basic_style_neg2.png?rev=1369970&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/classTypeSelector_basic_style_neg2.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/classTypeSelector_basic_style_nested.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/classTypeSelector_basic_style_nested.png?rev=1369970&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/classTypeSelector_basic_style_nested.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/classTypeSelector_basic_style_setAtRuntime.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/classTypeSelector_basic_style_setAtRuntime.png?rev=1369970&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/classTypeSelector_basic_style_setAtRuntime.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/descendantWithClassSelector_typeSelector_style.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/descendantWithClassSelector_typeSelector_style.png?rev=1369970&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/descendantWithClassSelector_typeSelector_style.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/descendantWithClassSelector_typeSelector_style_precedence.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Managers/StyleManager/AdvancedCSS/classSelectors/baselines/descendantWithClassSelector_typeSelector_style_precedence.png?rev=1369970&view=auto
==============================================================================
Binary file - no diff available.



Mime
View raw message