[AC-1860] Element style does not overwrite on global style with same name
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-09-17T07:12:45.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Alloy |
Labels | Alloy, Style, TTS |
Reporter | Navid Ghahramani |
Assignee | Shak Hossain |
Created | 2013-08-07T16:10:58.000+0000 |
Updated | 2016-03-08T07:40:46.000+0000 |
Description
This is test case:
*app.tss*
".price": {
color: "white",
backgroundColor: "black"
}
*myclass.tss*
".price":{
color: "black",
backgroundColor: "white"
}
*myclass.xml*
<Alloy>
<Label text="Test" class="price">
</Alloy>
if you test it, you can see the label color is same app.tss style not myclass.tss
Hello Navid Ghahramani, I checked your test code. I can't reproduce this bug. Please see my test code Index.xml
index.tss
myclass.xml
myclass.tss
Test Environment: Alloy Version: 1.2.0 OS: OS X 10.8.4 Android Version: 2.3.3