![]() |
|
|
|
|
Issue Type:
|
Improvement
|
|
Affects Versions:
|
2.0.6 |
|
Assignee:
|
Unassigned |
|
Created:
|
06/Feb/13 10:24 PM
|
|
Description:
|
CssSelectorBuilder builds a nice and long selector from the known css classes and ids in the definitions. Then ImagingSupport.resolveVariationName() simply maps the variations rule to this selector and returns the first variation which matches.
This system does not correspond to how css selectors work (and therefore to what the users are used to). The resolving mechanism should not select the first but the best matching variation (IDs over classes, more matches over less).
|
|
Project:
|
Magnolia Standard Templating Kit
|
|
Labels:
|
image
variations
selector
|
|
Priority:
|
Neutral
|
|
Reporter:
|
Will Scheidegger
|
|
Original Estimate:
|
1d
|
|
Remaining Estimate:
|
1d
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------