[webkit-changes] cvs commit: LayoutTests/editing/deleting move-nodes-001-expected.checksum move-nodes-001-expected.png move-nodes-001-expected.txt move-nodes-001.html

David harrison at opensource.apple.com
Fri Nov 18 13:35:04 PST 2005


harrison    05/11/18 13:35:04

  Modified:    .        ChangeLog
  Added:       editing/deleting move-nodes-001-expected.checksum
                        move-nodes-001-expected.png
                        move-nodes-001-expected.txt move-nodes-001.html
  Log:
          Layout tests for <http://bugzilla.opendarwin.org/show_bug.cgi?id=5629>
  
          * editing/deleting/move-nodes-001-expected.checksum: Added.
          * editing/deleting/move-nodes-001-expected.png: Added.
          * editing/deleting/move-nodes-001-expected.txt: Added.
          * editing/deleting/move-nodes-001.html: Added.
  
  Revision  Changes    Path
  1.96      +9 -0      LayoutTests/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/LayoutTests/ChangeLog,v
  retrieving revision 1.95
  retrieving revision 1.96
  diff -u -r1.95 -r1.96
  --- ChangeLog	17 Nov 2005 18:45:14 -0000	1.95
  +++ ChangeLog	18 Nov 2005 21:35:02 -0000	1.96
  @@ -1,3 +1,12 @@
  +2005-11-15  David Harrison  <harrison at apple.com>
  +
  +        Layout tests for <http://bugzilla.opendarwin.org/show_bug.cgi?id=5629>
  +        
  +        * editing/deleting/move-nodes-001-expected.checksum: Added.
  +        * editing/deleting/move-nodes-001-expected.png: Added.
  +        * editing/deleting/move-nodes-001-expected.txt: Added.
  +        * editing/deleting/move-nodes-001.html: Added.
  +
   2005-11-17  Beth Dakin  <bdakin at apple.com>
   
           Layout test for <rdar://problem/3871165> text box in nested 
  
  
  
  1.1                  LayoutTests/editing/deleting/move-nodes-001-expected.checksum
  
  Index: move-nodes-001-expected.checksum
  ===================================================================
  a51a0a5fd05ad0a3e99904a1d8ed1112
  
  
  1.1                  LayoutTests/editing/deleting/move-nodes-001-expected.png
  
  	<<Binary file>>
  
  
  1.1                  LayoutTests/editing/deleting/move-nodes-001-expected.txt
  
  Index: move-nodes-001-expected.txt
  ===================================================================
  layer at (0,0) size 800x600
    RenderCanvas at (0,0) size 800x600
  layer at (0,0) size 800x148
    RenderBlock {HTML} at (0,0) size 800x148
      RenderBody {BODY} at (8,8) size 784x132
        RenderBlock {DIV} at (0,0) size 784x108 [border: (3px solid #FF0000)]
          RenderBlock (anonymous) at (3,3) size 778x18
            RenderText {TEXT} at (0,0) size 134x18
              text run at (0,0) width 134: "Destination container"
          RenderBlock {P} at (3,37) size 778x18
            RenderText {TEXT} at (0,0) size 23x18
              text run at (0,0) width 23: "one"
          RenderBlock {P} at (3,71) size 778x18
            RenderText {TEXT} at (0,0) size 24x18
              text run at (0,0) width 24: "two"
        RenderBlock {DIV} at (0,108) size 784x24 [border: (3px solid #0000FF)]
          RenderText {TEXT} at (3,3) size 106x18
            text run at (3,3) width 106: "Source container"
  
  
  
  1.1                  LayoutTests/editing/deleting/move-nodes-001.html
  
  Index: move-nodes-001.html
  ===================================================================
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  <html>
  <head>
  <title>Editing Test</title>
  <script type="text/javascript">
  function getContainer(containerID) {return document.getElementById(containerID);}
  
  
  window.onload = function() {
  
    var newcontainer = getContainer('identity-options-horiz');
    var oldcontainer = getContainer('identity-options');
  
    if (oldcontainer) {
      var paranodes = oldcontainer.getElementsByTagName("p");
  
      // move all the paragraph nodes to new container
      while (paranodes.length > 0) {
        newcontainer.appendChild(paranodes[0]);
      }  
    }
  }
  
  </script>
  </head>
  <body>
  
  <div style="border-style:solid; border-color:red" id="identity-options-horiz">Destination container</div>
  <div style="border-style:solid; border-color:blue" id="identity-options">
  Source container
  <p class="label">one</p>
  <p class="label">two</p>
  </div>
  
  </body>
  </html> 
  
  
  



More information about the webkit-changes mailing list