I tried this and it works for me. There is a demo of it in the purple skin's css file.
af|inputText::content:rtl
{
 color: red;
}

If you set the browser to be a rtl language and run the inputText demo, you'll see the content's text is red.

- Jeanne

Jeanne Waldman wrote:

Hi Simon,

Appending :rtl should work. There's a chance that this broke recently. I'll have to double check. I'll make this high priority.

- Jeanne


Simon Lessard wrote:

Hello all,

Can anyone give me a really short course about RTL support we have in
Trinidad? Basically, I thought I had to add :rtl to style classes within the renderer and the skin, but that's obviously not the case, :rtl to selectors seems to work only on icons. In the XSS it's 2 different stylesheets, but
how does it work with CSS skins?

Currently I was able to have it work by adding p_AFRtl to generated
elements' style classes but that must not be the best way to acheive it.


Regards,

~ Simon




Reply via email to