Forum Feature requests

Support alternative text for CSS content property

ThePrintingSquirrel
The W3C specification allows for alternative text for the CSS content property:

.new::before {
 content: url(/img/star.png) / "New!";
}


It would be good if PrinceXML could support this standard. Currently, using version 14, it ignores the entire CSS line if I specify alternative text.

Thank you!
howcome
How would you like Prince to support this? Just parse the declaration and ignore the alternative text?

This code will work in Prince:

.new::before {
 content: url(img/star.png);
 content: url(/img/star.png) / "New!";
}
mikeday
I will add this to the roadmap.
mikeday
The new syntax for alternate text is now supported in the latest build.