Comment 16 for bug 303269

Revision history for this message
In , Arnaud Renevier (arenevier) wrote :

(In reply to comment #7)

>
> Make sure
> to consider HTML's lang attribute and xml:lang (whichever is appropriate)

What should be done in case those two attributes are set on the same tags, and are conflicting ?
Ok, this should not happen, but this could happen, and surely already happens on some bad coded pages.

Is one of those attributes to be picked randomly, or are they to be discarded ?
If so, should search for a lang attribute be continued in parent tags or no ?