Details
-
Improvement
-
Resolution: Won't Do
-
Neutral
-
2.0.6
-
None
-
-
Empty show more show less
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).
Checklists
Acceptance criteria