There is a (hopefully much improved) cleaner testcase and reduction of this bug at http://homepage.mac.com/sardisson/icab/lang_inheritance.html.
This document does not specify a lang="nn" attribute on the html element.
In English...
The p element on the following paragraphs does not contain a lang="nn" attribute.
We speak English, and this quote has a lang="en" attribute on the q element.
-- observe the straight quotation marks
We speak English, and this quote has a lang="en" attribute on the q element, and our friends say
-- observe the straight quotation marks on the main quote and the curly ones on the nested quote.hello, iCab users, there is no lang="en" attribute on the nested q element
.
The p element on the following paragraphs does contain a lang="nn" attribute.
We speak English, and this quote has no lang="en" attribute on the q element.
-- observe the curly quotation marks
We speak English, and this quote has a lang="en" attribute on the q element as well as on the parent p element.
-- observe the curly quotation marks
We speak English, and this quote has no lang="en" attribute on the q element, and our friends say
-- observe the curly quotation marks on the main quote and the nested quote.hello, iCab users, there is no lang="en" attribute on the nested q element
.
We speak English, and this quote has a lang="en" attribute on the q element, and our friends say
-- observe the curly quotation marks on the main quote and the nested quote.hello, iCab users, there is a lang="en" attribute on the nested q element
.
Et aussi en français....
L'élément p sur les paragraphes suivants ne contient pas d'attribut lang="nn".
Nous ditons français, et cette citation a un attribut lang="fr" sur l'élément q.
-- voici les guillemets americains droits
Nous ditons français, et cette citation a un attribut lang="fr" sur l'élément q, et nos amis disent
-- voici les guillemets americains droits sur la citation principale et les guillemets normaux sur la citation nichée.boujour, utilisateurs d'iCab, il n'y a pas d'attribut lang="fr" sur l'élément niché q
.
L'élément p sur les paragraphes suivants contient un attribut lang="nn".
Nous ditons français, et cette citation n'a pas attribut lang="fr" sur l'élément q.
-- voici les guillemets normaux
Nous ditons français, et cette citation a un attribut lang="fr" sur l'élément q et aussi sur l'élément parental p
-- voici les guillemets normaux
Nous ditons français, et cette citation n'a pas attribut lang="fr" sur l'élément q, et nos amis disent
-- voici les guillemets normaux sur la citation principale et la citation nichée.boujour, utilisateurs d'iCab, il n'y a pas d'attribut lang="fr" sur l'élément niché q
.
Nous ditons français, et cette citation a un attribut lang="fr" sur l'élément q, et nos amis disent
-- voici les guillemets normaux sur la citation principale et la citation nichée.boujour, utilisateurs d'iCab, il y a un attribut lang="fr" sur l'élément niché q
.
Mixed Languages
The p element on the following paragraph does not contain a lang="nn" attribute.
We speak English, and this quote has a lang="en" attribute on the q element, and our French friends say
-- Observe the straight quotation marks on the main quote and the curly (American) quotes on the nested (French) quote (incorrect).boujour, utilisateurs d'iCab, il y a un attribut lang="fr" sur l'élément niché q
.
Nous ditons français, et cette citation a un attribut lang="fr" sur l'élément q, et nos amis disent
-- voici les guillemets americains droits sur la citation principale (incorrect) et les guillemets sur la citation nichée (incorrect).hello, iCab users, there is a lang="en" attribute on the nested q element
.
The p element on the following paragraph does contain a lang="nn" attribute.
We speak English, and this quote has a lang="en" attribute on the q element, and our French friends say
-- Observe the culry quotes on the main quote (correct; English) and the curly (American) quotes on the nested (French) quote (incorrect).boujour, utilisateurs d'iCab, il y a un attribut lang="fr" sur l'élément niché q
.
Nous ditons français, et cette citation a un attribut lang="fr" sur l'élément q, et nos amis disent
-- voici les guillemets normaux sur la citation principale (correct) et les guillemets sur la citation nichée (incorrect).hello, iCab users, there is a lang="en" attribute on the nested q element
.
This latter section, I believe, proves that iCab only honors the lang="nn" attribute from the "parent" element, not the element itself.