Re: :before and :after consideration for RTL languages,

MN Venugopal-A18623 wrote:
> Hi All,
>  
>   i am trying to understand how one should interpret the :before and 
> :after content in case of RIGHT TO LEFT LANGUAGES.

Both cases should render the same, no matter what content is
used in place of 'before', 'after', and 'text':

Case 1:

   E:before {content: "before"}
   E:after  {content: "after"}

   <E>text</E>

Case 2:

   <E><E>before</E>text<E>after</E></E>

The Unicode BIDI algorithm and the CSS 'direction' and 'unicode-bidi'
properties will determine the directionality of the content.

~fantasai

Received on Saturday, 20 September 2003 23:34:16 UTC