Titanium JIRA Archive
Alloy (ALOY)

[ALOY-495] "View" in TSS matches both Ti.UI.View and Ti.Map.View

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-02-03T17:17:23.000+0000
Affected Version/sAlloy 0.3.1
Fix Version/sAlloy 1.1.0, 2013 Sprint 03
ComponentsXML
Labelsqe-port
ReporterTony Lukasavage
AssigneeTony Lukasavage
Created2013-02-03T11:18:53.000+0000
Updated2013-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

JSON Source