Transferred from the Adobe Open Source Subversion Repository
Transferred from the Adobe Open Source Subversion Repository

Revision: 10202
Author:   jszeto@adobe.com
Date:     2009-09-12T22:08:24.238799Z

Log Message: 
-----------
http://bugs.adobe.com/jira/browse/SDK-23127 - ItemRenderers in a List don't have rounded corners anymore even if the Halo theme is used

We recently modified the defaults.css stylesheet with different cornerRadius values. A cornerRadius of 0 was added to the ScrollControlBase type selector. List passes its styles directly to the renderers via the styleName mechanism. When a button is used as an itemRenderer, its cornerRadius value was overridden by ScrollControlBase's cornerRadius value. 

The fix is to remove cornerRadius from the ScrollControlBase type selector. To resolve the side effect of the focus rect having rounded corners, I have added focusRoundedCorners with a value of " " to the ScrollControlBase type selector for the frameworks project. This will force the focusSkin to ignore the rounded corners. 

For the Halo mx skins styleSheet, I override the ScrollControlBase focusRoundedCorners style to enabled the focusSkin to have rounded corners since Halo supports cornerRadius on List. 

Note that List and ScrollControlBase will still have a cornerRadius of 2, even though the Spark mx skins don’t support cornerRadius. Visually, however, they will not have any cornerRadius. 

QE notes: None
Doc notes: None
Bugs: SDK-23127
Reviewer: Glenn
Tests run: components/List
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/defaults.css</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1253903 13f79535-47bb-0310-9956-ffa450edef68

shyamalschandra/flex-sdk,danteinforno/flex-sdk,danteinforno/flex-sdk,apache/flex-sdk,danteinforno/flex-sdk,danteinforno/flex-sdk,apache/flex-sdk,danteinforno/flex-sdk,adufilie/flex-sdk,adufilie/flex-sdk,shyamalschandra/flex-sdk,SlavaRa/flex-sdk,apache/flex-sdk,SlavaRa/flex-sdk,adufilie/flex-sdk,apache/flex-sdk,shyamalschandra/flex-sdk,SlavaRa/flex-sdk,apache/flex-sdk,SlavaRa/flex-sdk,apache/flex-sdk,adufilie/flex-sdk,SlavaRa/flex-sdk,adufilie/flex-sdk,SlavaRa/flex-sdk,shyamalschandra/flex-sdk,adufilie/flex-sdk,shyamalschandra/flex-sdk,danteinforno/flex-sdk,shyamalschandra/flex-sdk