Lina Kemmel wrote:
>
> <style type="text/css">
> BDO {unicode-bidi: normal; direction: ltr}
> </style>
> <!unicode-bidi: normal - means that override is prohibited>
>
> ...
>
> <P><BDO dir=rtl>abc</BDO></P>
>
> We see here 2 rules with identical weight and origin, but different
> specificity:
> the first rule has selector's specificity = 1 (please correct me if I'm
> wrong; anyway, its specificity has a non-zero value!), and the second
> one has specificity = 0
>
> <http://www.w3.org/TR/REC-CSS2/cascade.html#cascade>
> "the non-CSS presentational hints must be translated to the
> corresponding CSS rules with specificity equal to zero."
>
> As a result, the first rule wins, <BDO dir=rtl> has no effect, and the
> text should be displayed as is: abc
OK, I understand now. I was confused by the typo you had earlier.
Thanks,
Erik
- Re: Review of Bi-Di code, bug 62777 Lina Kemmel
- Re: Review of Bi-Di code, bug 62777 Simon Montagu
- Re: Review of Bi-Di code, bug 62777 Erik van der Poel
- Re: Review of Bi-Di code, bug 62777 smontagu
- Re: Review of Bi-Di code, bug 62777 Arthur Barrett
- Re: Review of Bi-Di code, bug 62777 Erik van der Poel
- Re: Review of Bi-Di code, bug 62777 Simon Montagu
- Re: Review of Bi-Di code, bug 62777 Erik van der Poel
- Re: Review of Bi-Di code, bug 62777 Erik van der Poel
- Re: Review of Bi-Di code, bug 62777 Lina Kemmel
- Re: Review of Bi-Di code, bug 62777 Erik van der Poel
- Re: Review of Bi-Di code, bug 62777 Simon Montagu
- Re: Review of Bi-Di code, bug 62777 Erik van der Poel
- Re: Review of Bi-Di code, bug 62777 Lina Kemmel
- Re: Review of Bi-Di code, bug 62777 Arthur Barrett
- Re: Review of Bi-Di code, bug 62777 Arthur Barrett
- Re: Review of Bi-Di code, bug 62777 Erik van der Poel
- Re: Review of Bi-Di code, bug 62777 Simon Montagu
- Re: Review of Bi-Di code, bug 62777 Erik van der Poel
- Re: Review of Bi-Di code, bug 62777 Simon Montagu
- Re: Review of Bi-Di code, bug 62777 Erik van der Poel
