mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
70541 - xbl content attribute setting, r=blake, sr=hyatt
This commit is contained in:
parent
38794d139f
commit
212d80d3be
@ -718,7 +718,7 @@ nsXBLBinding::GenerateAnonymousContent()
|
||||
nsCOMPtr<nsIAtom> prefix;
|
||||
|
||||
for (PRInt32 i = 0; i < length; ++i) {
|
||||
content->GetAttributeNameAt(0, namespaceID, *getter_AddRefs(name), *getter_AddRefs(prefix));
|
||||
content->GetAttributeNameAt(i, namespaceID, *getter_AddRefs(name), *getter_AddRefs(prefix));
|
||||
|
||||
if (name.get() != kIncludesAtom) {
|
||||
nsAutoString value;
|
||||
|
Loading…
Reference in New Issue
Block a user