Forum How do I...?

bdi tag support?

Hi all,

Does prince 9 support HTML5 <bdi></bdi> tag support? It is rendered correctly in Firefox but not in prince.


body { direction:rtl; unicode-bidi: embed; }

In prince, the first bdi will be shown as ®FIT.

Thanks in advance!

Edited by fsurjana

No, currently we only support bdo, with these default CSS rules:
bdo[dir="ltr"] { direction: ltr; unicode-bidi: bidi-override }
bdo[dir="rtl"] { direction: rtl; unicode-bidi: bidi-override }

It looks like we need to add support for the new "isolate" value on the unicode-bidi property.
ah ok, thanks for the reply Mike. In the meantime, I'm using <span class="bdi"> and .bdi { direction:ltr; }
Any update on when Prince may support unicode-bidi: isolate?
It is on the roadmap, perhaps we will get to it next year.
It took a little longer but the latest builds now support "unicode-bidi: isolate" and the HTML bdi element! :D