[webkit-changes] cvs commit: LayoutTests/fast/dom
set-innerHTML-expected.txt set-innerHTML.xhtml
Anders
andersca at opensource.apple.com
Fri Jan 6 02:44:18 PST 2006
andersca 06/01/06 02:44:18
Modified: . ChangeLog
fast/dom set-innerHTML-expected.txt set-innerHTML.xhtml
Log:
2006-01-06 Anders Carlsson <andersca at mac.com>
Reviewed by Eric.
- update tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=5142
parseXMLDocumentFragment can't parse fragments correctly
* fast/dom/set-innerHTML-expected.txt:
* fast/dom/set-innerHTML.xhtml:
Update these with the attached test case.
Revision Changes Path
1.228 +12 -0 LayoutTests/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/LayoutTests/ChangeLog,v
retrieving revision 1.227
retrieving revision 1.228
diff -u -r1.227 -r1.228
--- ChangeLog 6 Jan 2006 09:16:36 -0000 1.227
+++ ChangeLog 6 Jan 2006 10:44:16 -0000 1.228
@@ -1,3 +1,14 @@
+2006-01-06 Anders Carlsson <andersca at mac.com>
+
+ Reviewed by Eric.
+
+ - update tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=5142
+ parseXMLDocumentFragment can't parse fragments correctly
+
+ * fast/dom/set-innerHTML-expected.txt:
+ * fast/dom/set-innerHTML.xhtml:
+ Update these with the attached test case.
+
2006-01-06 Alexander Kellett <lypanov at kde.org>
Reviewed by eseidel.
@@ -491,6 +502,7 @@
* css2.1/t1605-c545-txttrans-00-b-ag.html:
* css2.1/t1606-c562-white-sp-00-b-ag.html:
+>>>>>>> 1.227
2006-01-04 Darin Adler <darin at apple.com>
- added a missing test result
1.3 +2 -1 LayoutTests/fast/dom/set-innerHTML-expected.txt
Index: set-innerHTML-expected.txt
===================================================================
RCS file: /cvs/root/LayoutTests/fast/dom/set-innerHTML-expected.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- set-innerHTML-expected.txt 15 Sep 2005 05:16:58 -0000 1.2
+++ set-innerHTML-expected.txt 6 Jan 2006 10:44:17 -0000 1.3
@@ -1,6 +1,7 @@
-This tests that setting innerHTML on an xhtml document works. If this test is successful, the text below should say "Success", and "namespace is correct".
+This tests that setting innerHTML on an xhtml document works and respects namespaces and unknown namespace prefixes. If this test is successful, the text below should say "Success", and "namespace is correct" TWICE.
Success!
namespace is correct
+namespace is correct
1.3 +8 -3 LayoutTests/fast/dom/set-innerHTML.xhtml
Index: set-innerHTML.xhtml
===================================================================
RCS file: /cvs/root/LayoutTests/fast/dom/set-innerHTML.xhtml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- set-innerHTML.xhtml 27 Sep 2005 00:19:33 -0000 1.2
+++ set-innerHTML.xhtml 6 Jan 2006 10:44:17 -0000 1.3
@@ -1,4 +1,4 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foo="http://www.example.com/foo">
<script type="text/javascript">
<![CDATA[
function debug(str) {
@@ -12,17 +12,22 @@
layoutTestController.dumpAsText();
e = document.getElementById('test');
- e.innerHTML = '<b>Success!</b>';
+ e.innerHTML = '<b>Success!</b><foo:bar></foo:bar>';
if (e.firstChild.namespaceURI == 'http://www.w3.org/1999/xhtml')
debug('namespace is correct')
else
debug('namespace is incorrect (' + e.firstChild.namespaceURI + ')');
+
+ if (e.lastChild.namespaceURI == 'http://www.example.com/foo')
+ debug('namespace is correct')
+ else
+ debug('namespace is incorrect (' + e.lastChild.namespaceURI + ')');
}
]]>
</script>
<body onload="runTests();">
-<p>This tests that setting innerHTML on an xhtml document works. If this test is successful, the text below should say "Success", and "namespace is correct".</p>
+<p>This tests that setting innerHTML on an xhtml document works and respects namespaces and unknown namespace prefixes. If this test is successful, the text below should say "Success", and "namespace is correct" TWICE.</p>
<p id="test"/>
<ul id="console"/>
</body>
More information about the webkit-changes
mailing list