BertBeentjes / bPAD

bPAD is a flexible, open source (web) cms.
Other
2 stars 0 forks source link

Style param context versions use is incorrect #40

Closed BertBeentjes closed 10 years ago

BertBeentjes commented 10 years ago

When a style param has multiple versions in different contexts, they are only used in the css when the style itself also has multiple versions. This is not ok.

Solution is to check for alternative versions of the style params along with checking for alternative versions of the styles; this is a bit more work, especially when there are a lot of style params. Other solution is to drop contexts for style params; computationally simpler, but functionally much less desirable.

BertBeentjes commented 10 years ago

There were several problems:

And a third one, that is promoted to a feature