(item, name)
| 1956 | }; |
| 1957 | |
| 1958 | function getAttribute(item, name) { |
| 1959 | for (var i = 0; i < item.attributes.length; i++) { |
| 1960 | if (item.attributes[i].nodeName == name) |
| 1961 | return item.attributes[i].nodeValue; |
| 1962 | } |
| 1963 | return null; |
| 1964 | } |
| 1965 | |
| 1966 | StackItem.prototype.isHtmlIntegrationPoint = function() { |
| 1967 | if (this.namespaceURI === "http://www.w3.org/1998/Math/MathML") { |