<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[23915] trunk/LayoutTests</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/23915">23915</a></dd>
<dt>Author</dt> <dd>darin</dd>
<dt>Date</dt> <dd>2007-07-01 10:23:29 -0700 (Sun, 01 Jul 2007)</dd>
</dl>

<h3>Log Message</h3>
<pre>        Fixed a no-SVG test failure by moving a test that requires SVG into the svg directory.

        * fast/dom/svg-element-attribute-js-null-expected.txt: Removed.
        * fast/dom/svg-element-attribute-js-null.xhtml: Removed.
        * svg/dom/svg-element-attribute-js-null-expected.txt: Copied from fast/dom/svg-element-attribute-js-null-expected.txt.
        * svg/dom/svg-element-attribute-js-null.xhtml: Copied from fast/dom/svg-element-attribute-js-null.xhtml.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestssvgdomsvgelementattributejsnullexpectedtxt">trunk/LayoutTests/svg/dom/svg-element-attribute-js-null-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgdomsvgelementattributejsnullxhtml">trunk/LayoutTests/svg/dom/svg-element-attribute-js-null.xhtml</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsfastdomsvgelementattributejsnullexpectedtxt">trunk/LayoutTests/fast/dom/svg-element-attribute-js-null-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomsvgelementattributejsnullxhtml">trunk/LayoutTests/fast/dom/svg-element-attribute-js-null.xhtml</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (23914 => 23915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2007-07-01 17:05:56 UTC (rev 23914)
+++ trunk/LayoutTests/ChangeLog        2007-07-01 17:23:29 UTC (rev 23915)
</span><span class="lines">@@ -1,5 +1,14 @@
</span><span class="cx"> 2007-07-01  Darin Adler  &lt;darin@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Fixed a no-SVG test failure by moving a test that requires SVG into the svg directory.
+
+        * fast/dom/svg-element-attribute-js-null-expected.txt: Removed.
+        * fast/dom/svg-element-attribute-js-null.xhtml: Removed.
+        * svg/dom/svg-element-attribute-js-null-expected.txt: Copied from fast/dom/svg-element-attribute-js-null-expected.txt.
+        * svg/dom/svg-element-attribute-js-null.xhtml: Copied from fast/dom/svg-element-attribute-js-null.xhtml.
+
+2007-07-01  Darin Adler  &lt;darin@apple.com&gt;
+
</ins><span class="cx">         Added a missing file for the test for &lt;rdar://problem/5303567&gt; REGRESSION: XMLHttpRequest.responseXML 
</span><span class="cx"> 
</span><span class="cx">         * fast/loader/resources/plist.app: Added. Just some random XML file I found somewhere; seems to make
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomsvgelementattributejsnullexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/dom/svg-element-attribute-js-null-expected.txt (23914 => 23915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/svg-element-attribute-js-null-expected.txt        2007-07-01 17:05:56 UTC (rev 23914)
+++ trunk/LayoutTests/fast/dom/svg-element-attribute-js-null-expected.txt        2007-07-01 17:23:29 UTC (rev 23915)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-This test setting various attributes of a SVG elements to JavaScript null.
-
-TEST SUCCEEDED: The value was the empty string. [tested SVGElement.id]
-TEST SUCCEEDED: The value was the empty string. [tested SVGElement.xmlbase]
-
-TEST SUCCEEDED: The value was the string '0deg'. [tested SVGAngle.valueAsString]
-
-TEST SUCCEEDED: The value was the string '0'. [tested SVGLength.valueAsString]
-
-TEST SUCCEEDED: The value was the empty string. [tested SVGScriptElement.type]
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsfastdomsvgelementattributejsnullxhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/dom/svg-element-attribute-js-null.xhtml (23914 => 23915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/svg-element-attribute-js-null.xhtml        2007-07-01 17:05:56 UTC (rev 23914)
+++ trunk/LayoutTests/fast/dom/svg-element-attribute-js-null.xhtml        2007-07-01 17:23:29 UTC (rev 23915)
</span><span class="lines">@@ -1,100 +0,0 @@
</span><del>-&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
-&lt;head&gt;
-    &lt;style type=&quot;text/css&quot;&gt;
-        .pass { color: green; }
-        .fail { color: red; }
-    &lt;/style&gt;
-    &lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&gt;
-        function printOut(msg)
-        {
-            var console = document.getElementById(&quot;console&quot;);
-            var span = document.createElementNS('http://www.w3.org/1999/xhtml', 'span');
-            span.appendChild(document.createTextNode(msg));
-            span.appendChild(document.createElementNS('http://www.w3.org/1999/xhtml', 'br'));
-            console.appendChild(span);
-        }
-
-        function resultStringifier(result)
-        {
-            if (result === &quot;&quot;)
-                return &quot;the empty string&quot;;
-            else if (result === undefined)
-                return &quot;undefined&quot;;
-            else if (result === null)
-                return &quot;null&quot;;
-            return &quot;the string '&quot; + result + &quot;'&quot;;
-        }
-
-        function nullTestElementAttribute(elementType, element, attr, expected)
-        {
-            element[attr] = null;
-
-            var result;
-            if (element[attr] === expected)
-                result = &quot;TEST SUCCEEDED: The value was &quot; + resultStringifier(expected) + &quot;.&quot;;
-            else
-                result = &quot;TEST FAILED: The value should have been &quot; + resultStringifier(expected) + &quot; but was &quot; + resultStringifier(element[attr]) + &quot;.&quot;;
-
-            result += &quot; [tested &quot; + elementType + &quot;.&quot; + attr + &quot;]&quot;;
-            printOut(result);
-        }
-        
-        function runTests()
-        {
-            if (window.layoutTestController)
-                layoutTestController.dumpAsText();
-
-            var svgNS = 'http://www.w3.org/2000/svg';
-            var svg = document.createElementNS(svgNS, 'svg');
-
-            var listing = [
-                {
-                    type: 'SVGElement',
-                    elementToUse: svg,
-                    attributes: [
-                        {name: 'id', expectedNull: ''},
-                        {name: 'xmlbase', expectedNull: ''}
-                    ]
-                },
-                {
-                    type: 'SVGAngle',
-                    elementToUse: svg.createSVGAngle(),
-                    attributes: [
-                        {name: 'valueAsString', expectedNull: '0deg'}
-                    ]
-                },
-                {
-                    type: 'SVGLength',
-                    elementToUse: svg.createSVGLength(),
-                    attributes: [
-                        {name: 'valueAsString', expectedNull: '0'}
-                    ]
-                },
-                {
-                    type: 'SVGScriptElement',
-                    elementToUse: document.createElementNS(svgNS, 'script'),
-                    attributes: [
-                        {name: 'type', expectedNull: ''}
-                    ]
-                }
-            ];
-
-            for (element in listing) {
-                var type = listing[element].type;
-                var elementToUse = listing[element].elementToUse;
-                var attrs = listing[element].attributes;
-                for (attr in attrs) {
-                    nullTestElementAttribute(type, elementToUse, attrs[attr].name, attrs[attr].expectedNull);
-                }
-                printOut('');
-            }
-        }
-        
-    &lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTests();&quot;&gt;
-    &lt;p&gt;This test setting various attributes of a SVG elements to JavaScript null.&lt;/p&gt;
-    &lt;div id=&quot;console&quot;&gt;&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestssvgdomsvgelementattributejsnullexpectedtxtfromrev23913trunkLayoutTestsfastdomsvgelementattributejsnullexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/svg/dom/svg-element-attribute-js-null-expected.txt (from rev 23913, trunk/LayoutTests/fast/dom/svg-element-attribute-js-null-expected.txt) (0 => 23915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/dom/svg-element-attribute-js-null-expected.txt                                (rev 0)
+++ trunk/LayoutTests/svg/dom/svg-element-attribute-js-null-expected.txt        2007-07-01 17:23:29 UTC (rev 23915)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+This test setting various attributes of a SVG elements to JavaScript null.
+
+TEST SUCCEEDED: The value was the empty string. [tested SVGElement.id]
+TEST SUCCEEDED: The value was the empty string. [tested SVGElement.xmlbase]
+
+TEST SUCCEEDED: The value was the string '0deg'. [tested SVGAngle.valueAsString]
+
+TEST SUCCEEDED: The value was the string '0'. [tested SVGLength.valueAsString]
+
+TEST SUCCEEDED: The value was the empty string. [tested SVGScriptElement.type]
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestssvgdomsvgelementattributejsnullxhtmlfromrev23913trunkLayoutTestsfastdomsvgelementattributejsnullxhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/svg/dom/svg-element-attribute-js-null.xhtml (from rev 23913, trunk/LayoutTests/fast/dom/svg-element-attribute-js-null.xhtml) (0 => 23915)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/dom/svg-element-attribute-js-null.xhtml                                (rev 0)
+++ trunk/LayoutTests/svg/dom/svg-element-attribute-js-null.xhtml        2007-07-01 17:23:29 UTC (rev 23915)
</span><span class="lines">@@ -0,0 +1,100 @@
</span><ins>+&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
+&lt;head&gt;
+    &lt;style type=&quot;text/css&quot;&gt;
+        .pass { color: green; }
+        .fail { color: red; }
+    &lt;/style&gt;
+    &lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&gt;
+        function printOut(msg)
+        {
+            var console = document.getElementById(&quot;console&quot;);
+            var span = document.createElementNS('http://www.w3.org/1999/xhtml', 'span');
+            span.appendChild(document.createTextNode(msg));
+            span.appendChild(document.createElementNS('http://www.w3.org/1999/xhtml', 'br'));
+            console.appendChild(span);
+        }
+
+        function resultStringifier(result)
+        {
+            if (result === &quot;&quot;)
+                return &quot;the empty string&quot;;
+            else if (result === undefined)
+                return &quot;undefined&quot;;
+            else if (result === null)
+                return &quot;null&quot;;
+            return &quot;the string '&quot; + result + &quot;'&quot;;
+        }
+
+        function nullTestElementAttribute(elementType, element, attr, expected)
+        {
+            element[attr] = null;
+
+            var result;
+            if (element[attr] === expected)
+                result = &quot;TEST SUCCEEDED: The value was &quot; + resultStringifier(expected) + &quot;.&quot;;
+            else
+                result = &quot;TEST FAILED: The value should have been &quot; + resultStringifier(expected) + &quot; but was &quot; + resultStringifier(element[attr]) + &quot;.&quot;;
+
+            result += &quot; [tested &quot; + elementType + &quot;.&quot; + attr + &quot;]&quot;;
+            printOut(result);
+        }
+        
+        function runTests()
+        {
+            if (window.layoutTestController)
+                layoutTestController.dumpAsText();
+
+            var svgNS = 'http://www.w3.org/2000/svg';
+            var svg = document.createElementNS(svgNS, 'svg');
+
+            var listing = [
+                {
+                    type: 'SVGElement',
+                    elementToUse: svg,
+                    attributes: [
+                        {name: 'id', expectedNull: ''},
+                        {name: 'xmlbase', expectedNull: ''}
+                    ]
+                },
+                {
+                    type: 'SVGAngle',
+                    elementToUse: svg.createSVGAngle(),
+                    attributes: [
+                        {name: 'valueAsString', expectedNull: '0deg'}
+                    ]
+                },
+                {
+                    type: 'SVGLength',
+                    elementToUse: svg.createSVGLength(),
+                    attributes: [
+                        {name: 'valueAsString', expectedNull: '0'}
+                    ]
+                },
+                {
+                    type: 'SVGScriptElement',
+                    elementToUse: document.createElementNS(svgNS, 'script'),
+                    attributes: [
+                        {name: 'type', expectedNull: ''}
+                    ]
+                }
+            ];
+
+            for (element in listing) {
+                var type = listing[element].type;
+                var elementToUse = listing[element].elementToUse;
+                var attrs = listing[element].attributes;
+                for (attr in attrs) {
+                    nullTestElementAttribute(type, elementToUse, attrs[attr].name, attrs[attr].expectedNull);
+                }
+                printOut('');
+            }
+        }
+        
+    &lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTests();&quot;&gt;
+    &lt;p&gt;This test setting various attributes of a SVG elements to JavaScript null.&lt;/p&gt;
+    &lt;div id=&quot;console&quot;&gt;&lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre>
</div>
</div>

</body>
</html>