зеркало из https://github.com/mozilla/gecko-dev.git
Attribute axis should not include namespace declarations.
b=123357 r=peterv sr=jst
This commit is contained in:
Родитель
62e25755e2
Коммит
1c08ef6d4f
|
@ -92,7 +92,8 @@ ExprResult* LocationStep::evaluate(txIEvalContext* aContext)
|
||||||
if (atts) {
|
if (atts) {
|
||||||
for (PRUint32 i = 0; i < atts->getLength(); i++) {
|
for (PRUint32 i = 0; i < atts->getLength(); i++) {
|
||||||
Node* attr = atts->item(i);
|
Node* attr = atts->item(i);
|
||||||
if (mNodeTest->matches(attr, aContext))
|
if (attr->getNamespaceID() != kNameSpaceID_XMLNS &&
|
||||||
|
mNodeTest->matches(attr, aContext))
|
||||||
nodes->append(attr);
|
nodes->append(attr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче