[webkit-changes] cvs commit: LayoutTests/fast/innerHTML 004-expected.txt 004.xhtml 005-expected.txt 005.html

Eric eseidel at opensource.apple.com
Wed Oct 26 23:32:00 PDT 2005


eseidel     05/10/26 23:32:00

  Modified:    .        ChangeLog
               fast/dom dom-parse-serialize-display-expected.txt
  Added:       fast/innerHTML 004-expected.txt 004.xhtml 005-expected.txt
                        005.html
  Log:
  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.
  
  Revision  Changes    Path
  1.60      +13 -0     LayoutTests/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/LayoutTests/ChangeLog,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- ChangeLog	26 Oct 2005 20:45:05 -0000	1.59
  +++ ChangeLog	27 Oct 2005 06:31:58 -0000	1.60
  @@ -1,3 +1,16 @@
  +2005-10-26  Eric Seidel  <eseidel at apple.com>
  +
  +        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.
  +
   2005-10-26  Anders Carlsson  <andersca at mac.com>
   
           Reviewed by Maciej.
  
  
  
  1.3       +1 -1      LayoutTests/fast/dom/dom-parse-serialize-display-expected.txt
  
  Index: dom-parse-serialize-display-expected.txt
  ===================================================================
  RCS file: /cvs/root/LayoutTests/fast/dom/dom-parse-serialize-display-expected.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- dom-parse-serialize-display-expected.txt	19 Jul 2005 18:35:52 -0000	1.2
  +++ dom-parse-serialize-display-expected.txt	27 Oct 2005 06:31:59 -0000	1.3
  @@ -44,7 +44,7 @@
             RenderText {TEXT} at (0,0) size 0x0
           RenderBlock {PRE} at (27,32) size 756x60
             RenderText {TEXT} at (0,0) size 536x60
  -            text run at (0,0) width 456: "<?xml-stylesheet href=\"display.css\" type=\"text/css\"><doc>"
  +            text run at (0,0) width 464: "<?xml-stylesheet href=\"display.css\" type=\"text/css\"?><doc>"
               text run at (0,15) width 536: "  <foo xmlns=\"foobar\">One</foo> <x:bar xmlns:x=\"barfoo\">Two</x:bar>"
               text run at (0,30) width 184: "  <d id=\"id3\">Three</d>"
               text run at (0,45) width 48: "</doc>"
  
  
  
  1.1                  LayoutTests/fast/innerHTML/004-expected.txt
  
  Index: 004-expected.txt
  ===================================================================
  Content:
  
  <head>
  <meta name="description" content="This tests singular elements too" />
  <title>xhtml innerHTML test</title>
  </head>
  <body>
  <span>Content:</span>
  <pre id="content">placeholder</pre>
  <div></div>
  <span></span>
  <b>test</b>
  <br />
  <div></div>
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="200">
    <?xml-stylesheet type="text/xsl" href=""?>
    <circle cx="150" cy="100" r="50" xlink:title="test"/>
  </svg>
  <script>
  if (window.layoutTestController)
  	layoutTestController.dumpAsText();
  document.getElementById("content").firstChild.nodeValue = document.documentElement.innerHTML;
  </script>
  </body>
  test 
  
  
  
  
  1.1                  LayoutTests/fast/innerHTML/004.xhtml
  
  Index: 004.xhtml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE html PUBLIC
      "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
      "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
  <head>
  <meta name="description" content="This tests singular elements too" />
  <title>xhtml innerHTML test</title>
  </head>
  <body>
  <span>Content:</span>
  <pre id="content">placeholder</pre>
  <div></div>
  <span></span>
  <b>test</b>
  <br />
  <div></div>
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="200">
    <?xml-stylesheet type="text/xsl" href=""?>
    <circle cx="150" cy="100" r="50" xlink:title="test"/>
  </svg>
  <script>
  if (window.layoutTestController)
  	layoutTestController.dumpAsText();
  document.getElementById("content").firstChild.nodeValue = document.documentElement.innerHTML;
  </script>
  </body>
  </html>
  
  
  
  
  1.1                  LayoutTests/fast/innerHTML/005-expected.txt
  
  Index: 005-expected.txt
  ===================================================================
  Content:
  <HEAD>
  <META name="description" content="This tests html output">
  <TITLE>html innerHTML test</TITLE>
  </HEAD><BODY>
  <SPAN>Content:</SPAN>
  <PRE id="content">placeholder</PRE><DIV></DIV>
  <SPAN></SPAN>
  <B>test</B>
  <BR>
  <SCRIPT>
  if (window.layoutTestController)
  	layoutTestController.dumpAsText();
  document.getElementById("content").firstChild.nodeValue = document.documentElement.innerHTML;
  </SCRIPT></BODY>
  test 
  
  
  
  
  1.1                  LayoutTests/fast/innerHTML/005.html
  
  Index: 005.html
  ===================================================================
  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <html>
  <head>
  <meta name="description" content="This tests html output" />
  <title>html innerHTML test</title>
  </head>
  <body>
  <span>Content:</span>
  <pre id="content">placeholder</pre>
  <div></div>
  <span></span>
  <b>test</b>
  <br>
  <script>
  if (window.layoutTestController)
  	layoutTestController.dumpAsText();
  document.getElementById("content").firstChild.nodeValue = document.documentElement.innerHTML;
  </script>
  </body>
  </html>
  
  
  



More information about the webkit-changes mailing list