Skip to content

Commit d420b91

Browse files
committed
Bug #: 5404
Submitted by: eseidel Reviewed by: mjs & darin Test case updates for XML serialization fixes. http://bugzilla.opendarwin.org/show_bug.cgi?id=5404 * fast/dom/dom-parse-serialize-display-expected.txt: * fast/innerHTML/004-expected.txt: Added. * fast/innerHTML/004.xhtml: Added. * fast/innerHTML/005-expected.txt: Added. * fast/innerHTML/005.html: Added. Canonical link: https://commits.webkit.org/9301@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 92ec241 commit d420b91

6 files changed

Lines changed: 106 additions & 1 deletion

File tree

LayoutTests/ChangeLog

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
2005-10-26 Eric Seidel <eseidel@apple.com>
2+
3+
Reviewed by mjs & darin.
4+
5+
Test case updates for XML serialization fixes.
6+
http://bugzilla.opendarwin.org/show_bug.cgi?id=5404
7+
8+
* fast/dom/dom-parse-serialize-display-expected.txt:
9+
* fast/innerHTML/004-expected.txt: Added.
10+
* fast/innerHTML/004.xhtml: Added.
11+
* fast/innerHTML/005-expected.txt: Added.
12+
* fast/innerHTML/005.html: Added.
13+
114
2005-10-26 Anders Carlsson <andersca@mac.com>
215

316
Reviewed by Maciej.

LayoutTests/fast/dom/dom-parse-serialize-display-expected.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ layer at (0,0) size 800x600
4444
RenderText {TEXT} at (0,0) size 0x0
4545
RenderBlock {PRE} at (27,32) size 756x60
4646
RenderText {TEXT} at (0,0) size 536x60
47-
text run at (0,0) width 456: "<?xml-stylesheet href=\"display.css\" type=\"text/css\"><doc>"
47+
text run at (0,0) width 464: "<?xml-stylesheet href=\"display.css\" type=\"text/css\"?><doc>"
4848
text run at (0,15) width 536: " <foo xmlns=\"foobar\">One</foo> <x:bar xmlns:x=\"barfoo\">Two</x:bar>"
4949
text run at (0,30) width 184: " <d id=\"id3\">Three</d>"
5050
text run at (0,45) width 48: "</doc>"
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Content:
2+
3+
<head>
4+
<meta name="description" content="This tests singular elements too" />
5+
<title>xhtml innerHTML test</title>
6+
</head>
7+
<body>
8+
<span>Content:</span>
9+
<pre id="content">placeholder</pre>
10+
<div></div>
11+
<span></span>
12+
<b>test</b>
13+
<br />
14+
<div></div>
15+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="200">
16+
<?xml-stylesheet type="text/xsl" href=""?>
17+
<circle cx="150" cy="100" r="50" xlink:title="test"/>
18+
</svg>
19+
<script>
20+
if (window.layoutTestController)
21+
layoutTestController.dumpAsText();
22+
document.getElementById("content").firstChild.nodeValue = document.documentElement.innerHTML;
23+
</script>
24+
</body>
25+
test
26+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE html PUBLIC
3+
"-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
4+
"http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd">
5+
<html xmlns="http://www.w3.org/1999/xhtml">
6+
<head>
7+
<meta name="description" content="This tests singular elements too" />
8+
<title>xhtml innerHTML test</title>
9+
</head>
10+
<body>
11+
<span>Content:</span>
12+
<pre id="content">placeholder</pre>
13+
<div></div>
14+
<span></span>
15+
<b>test</b>
16+
<br />
17+
<div></div>
18+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="200">
19+
<?xml-stylesheet type="text/xsl" href=""?>
20+
<circle cx="150" cy="100" r="50" xlink:title="test"/>
21+
</svg>
22+
<script>
23+
if (window.layoutTestController)
24+
layoutTestController.dumpAsText();
25+
document.getElementById("content").firstChild.nodeValue = document.documentElement.innerHTML;
26+
</script>
27+
</body>
28+
</html>
29+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Content:
2+
<HEAD>
3+
<META name="description" content="This tests html output">
4+
<TITLE>html innerHTML test</TITLE>
5+
</HEAD><BODY>
6+
<SPAN>Content:</SPAN>
7+
<PRE id="content">placeholder</PRE><DIV></DIV>
8+
<SPAN></SPAN>
9+
<B>test</B>
10+
<BR>
11+
<SCRIPT>
12+
if (window.layoutTestController)
13+
layoutTestController.dumpAsText();
14+
document.getElementById("content").firstChild.nodeValue = document.documentElement.innerHTML;
15+
</SCRIPT></BODY>
16+
test
17+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2+
<html>
3+
<head>
4+
<meta name="description" content="This tests html output" />
5+
<title>html innerHTML test</title>
6+
</head>
7+
<body>
8+
<span>Content:</span>
9+
<pre id="content">placeholder</pre>
10+
<div></div>
11+
<span></span>
12+
<b>test</b>
13+
<br>
14+
<script>
15+
if (window.layoutTestController)
16+
layoutTestController.dumpAsText();
17+
document.getElementById("content").firstChild.nodeValue = document.documentElement.innerHTML;
18+
</script>
19+
</body>
20+
</html>

0 commit comments

Comments
 (0)