Changeset 20057 in webkit
- Timestamp:
- Mar 8, 2007 12:48:55 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r20055 r20057 1 2007-03-08 Alexey Proskuryakov <ap@webkit.org> 2 3 Added a test for attribute node string-value. 4 5 * fast/xpath/string-value-expected.txt: 6 * fast/xpath/string-value.html: 7 1 8 2007-03-08 Alexey Proskuryakov <ap@webkit.org> 2 9 -
trunk/LayoutTests/fast/xpath/string-value-expected.txt
r20055 r20057 6 6 PASS doc.evaluate('.', TEXT, null, XPathResult.STRING_TYPE, null).stringValue is '0 ' 7 7 PASS doc.evaluate('.', EMPTY, null, XPathResult.STRING_TYPE, null).stringValue is '' 8 PASS doc.evaluate('.', ATTR, null, XPathResult.STRING_TYPE, null).stringValue is '< >' 8 9 PASS successfullyParsed is true 9 10 -
trunk/LayoutTests/fast/xpath/string-value.html
r20055 r20057 42 42 shouldBe("doc.evaluate('.', TEXT, null, XPathResult.STRING_TYPE, null).stringValue", "'0 '"); 43 43 shouldBe("doc.evaluate('.', EMPTY, null, XPathResult.STRING_TYPE, null).stringValue", "''"); 44 shouldBe("doc.evaluate('.', ATTR, null, XPathResult.STRING_TYPE, null).stringValue", "'< >'"); 44 45 45 46 var successfullyParsed = true; -
trunk/WebCore/ChangeLog
r20056 r20057 1 2007-03-08 Alexey Proskuryakov <ap@webkit.org> 2 3 Build fix. 4 5 * xml/XPathUtil.cpp: 6 (WebCore::XPath::stringValue): 7 1 8 2007-03-08 David Hyatt <hyatt@apple.com> 2 9 -
trunk/WebCore/xml/XPathUtil.cpp
r20055 r20057 56 56 for (Node* n = node->firstChild(); n; n = n->traverseNextNode(node)) 57 57 if (n->isTextNode()) 58 str += n odeValue(n);58 str += n->nodeValue(); 59 59 60 60 return str;
Note: See TracChangeset
for help on using the changeset viewer.