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