[webkit-changes] cvs commit:
WebCore/layout-tests/fast/dom/HTMLDocument/title get.html set.html
Geoffrey
ggaren at opensource.apple.com
Wed Jun 29 16:01:17 PDT 2005
ggaren 05/06/29 16:01:17
Modified: . ChangeLog
Added: layout-tests/fast/dom/HTMLDocument/title get.html set.html
Log:
DOM compatibility tests for HTMLDocument::title
Reviewed by justing.
Test cases added:
* layout-tests/fast/dom/HTMLDocument/title/get.html: Added.
* layout-tests/fast/dom/HTMLDocument/title/set.html: Added.
Revision Changes Path
1.4332 +10 -0 WebCore/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebCore/ChangeLog,v
retrieving revision 1.4331
retrieving revision 1.4332
diff -u -r1.4331 -r1.4332
--- ChangeLog 29 Jun 2005 21:04:26 -0000 1.4331
+++ ChangeLog 29 Jun 2005 23:01:13 -0000 1.4332
@@ -1,3 +1,13 @@
+2005-06-29 Geoffrey Garen <ggaren at apple.com>
+
+ DOM compatibility tests for HTMLDocument::title
+
+ Reviewed by justing.
+
+ Test cases added:
+ * layout-tests/fast/dom/HTMLDocument/title/get.html: Added.
+ * layout-tests/fast/dom/HTMLDocument/title/set.html: Added.
+
2005-06-28 Maciej Stachowiak <mjs at apple.com>
Reviewed by Darin.
1.1 WebCore/layout-tests/fast/dom/HTMLDocument/title/get.html
Index: get.html
===================================================================
<html>
<head>
<title>test</title>
<script>
function print(message) {
var paragraph = document.createElement("p");
paragraph.appendChild(document.createTextNode(message));
document.getElementById("console").appendChild(paragraph);
}
function test() {
if (document.title == "test") {
print("passed");
} else {
print("failed");
}
}
</script>
</head>
<body onload="test()">
<p>Tests: getting HTMLDocument::title</p>
<p>Condition(s): </p>
<p>Success message: passed</p>
<p>Failure message: failed</p>
<hr>
<div id='console'/>
</body>
</html>
1.1 WebCore/layout-tests/fast/dom/HTMLDocument/title/set.html
Index: set.html
===================================================================
<html>
<head>
<script>
function print(message) {
var paragraph = document.createElement("p");
paragraph.appendChild(document.createTextNode(message));
document.getElementById("console").appendChild(paragraph);
}
function test() {
document.title = "test";
if (document.title == "test") {
print("passed");
} else {
print("failed");
}
}
</script>
</head>
<body onload="test()">
<p>Tests: setting HTMLDocument::title</p>
<p>Condition(s): </p>
<p>Success message: passed</p>
<p>Failure message: failed</p>
<hr>
<div id='console'/>
</body>
</html>
More information about the webkit-changes
mailing list