Issue Feature Closed

#14808dynamic CSS would be nice...

jholzmann no-lastname-given 06/09/05, 22:01 updated 08/12/06, 14:23

Description

Improvement suggestion

… if it were possible to set them up as COA. But it does not work. Why is this useful? Imagine the situation:

Very often the correct visualisation for various browsers depends only on a single line of CSS.
You could spare many various stylesheets (100ds lines of code ++) if it would be possible to substitute this single line by setting up CSS (I mean inline CSS => exported to external stylesheet by config.) it will save lotsa trouble.

Logically it should have to work. But it does not.

Code example:

mycss=COA
mycss.10=TEXT
mycss.10.value(
body{background-color:#FF0000;}
)
mycss.20 = TEXT
mycss.10.value(
td{font-size:300%;}
)

safaristyle= TEXT
safaristyle.value(
td{font-size:299%;}
)

[browser=safari] // BTW this is missing, too! ;)
mycss.20 < safaristyle
[global]

page.CSS_inlineStyle < mycss

bye, Jan

(issue imported from #M1185)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.