[ALOY-495] "View" in TSS matches both Ti.UI.View and Ti.Map.View
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-02-03T17:17:23.000+0000 |
Affected Version/s | Alloy 0.3.1 |
Fix Version/s | Alloy 1.1.0, 2013 Sprint 03 |
Components | XML |
Labels | qe-port |
Reporter | Tony Lukasavage |
Assignee | Tony Lukasavage |
Created | 2013-02-03T11:18:53.000+0000 |
Updated | 2013-05-01T14:56:27.000+0000 |
Description
problem
If you put the following style in a TSS, it would match both Ti.UI.View and Ti.Map.View elements, which it should not:
"View": {
height: 60
}
the fix
The logic for checking what styles to apply only takes into account the nodename, not the full namespace name. We need to use the full namespace for these style assignments. The unique case of Ti.Map.View should be listed by full namespace in the TSS files if it is used.Comments
No comments