зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1320000 - Part 2: Make XBLChildrenElement::ParseAttribute delegate to its superclass. r=mrbkap
MozReview-Commit-ID: 8qXryZXKi4m
This commit is contained in:
Родитель
5a2bc39008
Коммит
91631cac25
|
@ -54,7 +54,8 @@ XBLChildrenElement::ParseAttribute(int32_t aNamespaceID,
|
|||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
return nsXMLElement::ParseAttribute(aNamespaceID, aAttribute,
|
||||
aValue, aResult);
|
||||
}
|
||||
|
||||
} // namespace dom
|
||||
|
|
|
@ -50,6 +50,6 @@
|
|||
== multipleappendwitheditable.xhtml multipleappendwitheditable-ref.xhtml
|
||||
|
||||
== xbl-children-1.xhtml xbl-children-1-ref.xhtml
|
||||
fails == xbl-children-2.xhtml about:blank
|
||||
== xbl-children-2.xhtml about:blank
|
||||
== xbl-children-3.xhtml xbl-children-3-ref.html
|
||||
== xbl-children-4.xhtml xbl-children-4-ref.html
|
||||
== xbl-children-4.xhtml about:blank
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
<html>
|
||||
<body>
|
||||
<div>
|
||||
<span>PASS</span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -20,7 +20,7 @@
|
|||
/* Now, append a frame to our children element, causing the pending restyle to descend into it. */
|
||||
var children = document.getElementsByTagName("xbl:children")[0];
|
||||
var span = document.createElementNS("http://www.w3.org/1999/xhtml", "span");
|
||||
span.appendChild(document.createTextNode("PASS"));
|
||||
span.appendChild(document.createTextNode("FAIL"));
|
||||
children.appendChild(span);
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче