[webkit-changes] cvs commit: LayoutTests/fast/selectors 064-expected.txt

David hyatt at opensource.apple.com
Fri Oct 21 14:41:55 PDT 2005


hyatt       05/10/21 14:41:54

  Modified:    fast/forms 001-expected.txt
                        form-element-geometry-expected.txt
                        formmove3-expected.txt input-value-expected.txt
                        selection-functions-expected.txt
               fast/js  for-in-expected.txt xmlhttprequest-get-expected.txt
               fast/selectors 064-expected.txt
  Log:
  Update the fast layout tests to have the new buttons.
  
  Revision  Changes    Path
  1.11      +19 -6     LayoutTests/fast/forms/001-expected.txt
  
  Index: 001-expected.txt
  ===================================================================
  RCS file: /cvs/root/LayoutTests/fast/forms/001-expected.txt,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- 001-expected.txt	8 Aug 2005 21:12:02 -0000	1.10
  +++ 001-expected.txt	21 Oct 2005 21:41:50 -0000	1.11
  @@ -31,20 +31,33 @@
             RenderTableSection {TBODY} at (2,2) size 0x24
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (0,0) size 42x24 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
  -                RenderSubmitButton {INPUT} at (3,3) size 36x18
  +                RenderButton {INPUT} at (3,3) size 36x18
  +                  RenderBlock (anonymous) at (8,2) size 20x13
  +                    RenderText at (0,0) size 20x13
  +                      text run at (0,0) width 20: "Foo"
                 RenderTableCell {TD} at (42,11) size 738x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
         RenderBlock {P} at (0,222) size 784x66
           RenderTable {TABLE} at (0,0) size 784x24 [border: (2px outset #808080)]
             RenderTableSection {TBODY} at (2,2) size 0x20
               RenderTableRow {TR} at (0,0) size 0x0
                 RenderTableCell {TD} at (0,0) size 42x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
  -                RenderSubmitButton {INPUT} at (3,1) size 36x18
  +                RenderButton {INPUT} at (3,1) size 36x18
  +                  RenderBlock (anonymous) at (8,2) size 20x13
  +                    RenderText at (0,0) size 20x13
  +                      text run at (0,0) width 20: "Foo"
                 RenderTableCell {TD} at (42,9) size 738x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
           RenderTable {TABLE} at (0,24) size 784x24 [border: (2px outset #808080)]
             RenderTableSection {TBODY} at (2,2) size 0x20
               RenderTableRow {TR} at (0,0) size 0x0
  -              RenderTableCell {TD} at (0,0) size 93x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
  -                RenderResetButton {INPUT} at (3,1) size 87x18
  -              RenderTableCell {TD} at (93,9) size 687x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
  +              RenderTableCell {TD} at (0,0) size 60x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
  +                RenderButton {INPUT} at (3,1) size 54x18
  +                  RenderBlock (anonymous) at (8,-4) size 38x26
  +                    RenderText at (0,0) size 38x26
  +                      text run at (0,0) width 38: "Submit"
  +                      text run at (3,13) width 31: "a bug"
  +              RenderTableCell {TD} at (60,9) size 720x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
           RenderBlock (anonymous) at (0,48) size 784x18
  -          RenderSubmitButton {INPUT} at (2,0) size 36x18
  +          RenderButton {INPUT} at (2,0) size 36x18
  +            RenderBlock (anonymous) at (8,2) size 20x13
  +              RenderText at (0,0) size 20x13
  +                text run at (0,0) width 20: "Foo"
  
  
  
  1.13      +36 -22    LayoutTests/fast/forms/form-element-geometry-expected.txt
  
  Index: form-element-geometry-expected.txt
  ===================================================================
  RCS file: /cvs/root/LayoutTests/fast/forms/form-element-geometry-expected.txt,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- form-element-geometry-expected.txt	18 Aug 2005 04:23:07 -0000	1.12
  +++ form-element-geometry-expected.txt	21 Oct 2005 21:41:50 -0000	1.13
  @@ -18,7 +18,10 @@
               RenderTableCell {TD} at (2,2) size 58x24 [r=0 c=0 rs=1 cs=1]
                 RenderBlock {DIV} at (1,1) size 56x22 [border: (2px solid #0000FF)]
                   RenderInline {FONT} at (0,0) size 52x18
  -                  RenderSubmitButton {INPUT} at (2,2) size 52x18
  +                  RenderButton {INPUT} at (2,2) size 52x18
  +                    RenderBlock (anonymous) at (8,2) size 36x13
  +                      RenderText at (0,0) size 36x13
  +                        text run at (0,0) width 36: "button"
               RenderTableCell {TD} at (62,2) size 68x24 [r=0 c=1 rs=1 cs=1]
                 RenderBlock {DIV} at (1,1) size 66x22 [border: (2px solid #0000FF)]
                   RenderInline {FONT} at (0,0) size 62x18
  @@ -42,7 +45,10 @@
             RenderTableRow {TR} at (0,0) size 0x0
               RenderTableCell {TD} at (2,2) size 58x24 [r=0 c=0 rs=1 cs=1]
                 RenderBlock {DIV} at (1,1) size 56x22 [border: (2px solid #0000FF)]
  -                RenderSubmitButton {INPUT} at (2,2) size 52x18
  +                RenderButton {INPUT} at (2,2) size 52x18
  +                  RenderBlock (anonymous) at (8,2) size 36x13
  +                    RenderText at (0,0) size 36x13
  +                      text run at (0,0) width 36: "button"
               RenderTableCell {TD} at (62,2) size 68x24 [r=0 c=1 rs=1 cs=1]
                 RenderBlock {DIV} at (1,1) size 66x22 [border: (2px solid #0000FF)]
                   RenderSelect {SELECT} at (2,2) size 62x18
  @@ -58,7 +64,10 @@
               RenderTableCell {TD} at (2,2) size 58x24 [r=0 c=0 rs=1 cs=1]
                 RenderBlock {DIV} at (1,1) size 56x22 [border: (2px solid #0000FF)]
                   RenderInline {FONT} at (0,0) size 52x13
  -                  RenderSubmitButton {INPUT} at (2,2) size 52x18
  +                  RenderButton {INPUT} at (2,2) size 52x18
  +                    RenderBlock (anonymous) at (8,2) size 36x13
  +                      RenderText at (0,0) size 36x13
  +                        text run at (0,0) width 36: "button"
               RenderTableCell {TD} at (62,2) size 68x24 [r=0 c=1 rs=1 cs=1]
                 RenderBlock {DIV} at (1,1) size 66x22 [border: (2px solid #0000FF)]
                   RenderInline {FONT} at (0,0) size 62x13
  @@ -90,21 +99,25 @@
           RenderText {TEXT} at (0,0) size 200x28
             text run at (0,0) width 200: "Baseline Alignment"
         RenderBlock {DIV} at (0,360) size 769x29
  -        RenderInline {FONT} at (0,0) size 213x28
  +        RenderInline {FONT} at (0,0) size 207x28
             RenderText {TEXT} at (0,0) size 43x28
               text run at (0,0) width 43: "text "
  -          RenderSubmitButton {INPUT} at (45,9) size 52x18
  -          RenderText {TEXT} at (99,0) size 6x28
  -            text run at (99,0) width 6: " "
  -          RenderSelect {SELECT} at (107,9) size 62x18
  -          RenderText {TEXT} at (171,0) size 6x28
  -            text run at (171,0) width 6: " "
  -          RenderBlock {INPUT} at (180,11) size 12x13
  -          RenderBlock {INPUT} at (198,12) size 12x12
  +          RenderButton {INPUT} at (45,9) size 52x18
  +            RenderBlock (anonymous) at (8,2) size 36x13
  +              RenderText at (0,0) size 36x13
  +                text run at (0,0) width 36: "button"
  +          RenderSelect {SELECT} at (101,9) size 62x18
  +          RenderText {TEXT} at (165,0) size 6x28
  +            text run at (165,0) width 6: " "
  +          RenderBlock {INPUT} at (174,11) size 12x13
  +          RenderBlock {INPUT} at (192,12) size 12x12
         RenderBlock {DIV} at (0,389) size 769x22
           RenderText {TEXT} at (0,1) size 27x18
             text run at (0,1) width 27: "text "
  -        RenderSubmitButton {INPUT} at (29,2) size 52x18
  +        RenderButton {INPUT} at (29,2) size 52x18
  +          RenderBlock (anonymous) at (8,2) size 36x13
  +            RenderText at (0,0) size 36x13
  +              text run at (0,0) width 36: "button"
           RenderText {TEXT} at (83,1) size 4x18
             text run at (83,1) width 4: " "
           RenderSelect {SELECT} at (89,2) size 62x18
  @@ -116,17 +129,18 @@
           RenderBlock {INPUT} at (182,5) size 12x12
           RenderText {TEXT} at (0,0) size 0x0
         RenderBlock {DIV} at (0,411) size 769x22
  -        RenderInline {FONT} at (0,0) size 182x13
  +        RenderInline {FONT} at (0,0) size 179x13
             RenderText {TEXT} at (0,5) size 18x13
               text run at (0,5) width 18: "text "
  -          RenderSubmitButton {INPUT} at (20,2) size 52x18
  -          RenderText {TEXT} at (74,5) size 3x13
  -            text run at (74,5) width 3: " "
  -          RenderSelect {SELECT} at (79,2) size 62x18
  -          RenderText {TEXT} at (143,5) size 3x13
  -            text run at (143,5) width 3: " "
  -          RenderBlock {INPUT} at (149,4) size 12x13
  -          RenderBlock {INPUT} at (167,5) size 12x12
  +          RenderButton {INPUT} at (20,2) size 52x18
  +            RenderBlock (anonymous) at (8,2) size 36x13
  +              RenderText at (0,0) size 36x13
  +                text run at (0,0) width 36: "button"
  +          RenderSelect {SELECT} at (76,2) size 62x18
  +          RenderText {TEXT} at (140,5) size 3x13
  +            text run at (140,5) width 3: " "
  +          RenderBlock {INPUT} at (146,4) size 12x13
  +          RenderBlock {INPUT} at (164,5) size 12x12
         RenderBlock {DIV} at (0,433) size 769x37
           RenderText {TEXT} at (0,16) size 27x18
             text run at (0,16) width 27: "text "
  
  
  
  1.2       +8 -1      LayoutTests/fast/forms/formmove3-expected.txt
  
  Index: formmove3-expected.txt
  ===================================================================
  RCS file: /cvs/root/LayoutTests/fast/forms/formmove3-expected.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- formmove3-expected.txt	4 Aug 2005 22:46:36 -0000	1.1
  +++ formmove3-expected.txt	21 Oct 2005 21:41:50 -0000	1.2
  @@ -20,8 +20,15 @@
                   RenderTableCell {TD} at (2,13) size 2x2 [r=0 c=0 rs=1 cs=1]
                   RenderBlock {FORM} at (0,0) size 0x0
                   RenderTableCell {TD} at (6,2) size 58x24 [r=0 c=1 rs=1 cs=1]
  -                  RenderSubmitButton {INPUT} at (3,3) size 52x18
  +                  RenderButton {INPUT} at (3,3) size 52x18
  +                    RenderBlock (anonymous) at (8,2) size 36x13
  +                      RenderText at (0,0) size 36x13
  +                        text run at (0,0) width 36: "Search"
           RenderBlock (anonymous) at (0,28) size 784x0
             RenderInline {A} at (0,0) size 0x0
             RenderInline {A} at (0,0) size 0x0 [color=#0000EE]
             RenderText {TEXT} at (0,0) size 0x0
  +      RenderBlock (anonymous) at (0,28) size 784x18
  +        RenderText {TEXT} at (0,0) size 104x18
  +          text run at (0,0) width 104: "Form did submit"
  +        RenderText {TEXT} at (0,0) size 0x0
  
  
  
  1.6       +4 -1      LayoutTests/fast/forms/input-value-expected.txt
  
  Index: input-value-expected.txt
  ===================================================================
  RCS file: /cvs/root/LayoutTests/fast/forms/input-value-expected.txt,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- input-value-expected.txt	8 Aug 2005 21:12:02 -0000	1.5
  +++ input-value-expected.txt	21 Oct 2005 21:41:50 -0000	1.6
  @@ -80,7 +80,10 @@
                   RenderText {TEXT} at (1,1) size 224x18
                     text run at (1,1) width 224: "button with value property changed"
                 RenderTableCell {TD} at (389,100) size 236x24 [r=4 c=1 rs=1 cs=1]
  -                RenderSubmitButton {INPUT} at (3,3) size 41x18
  +                RenderButton {INPUT} at (3,3) size 41x18
  +                  RenderBlock (anonymous) at (8,2) size 25x13
  +                    RenderText at (0,0) size 25x13
  +                      text run at (0,0) width 25: "after"
                 RenderTableCell {TD} at (627,102) size 62x20 [r=4 c=2 rs=1 cs=1]
                   RenderText {TEXT} at (1,1) size 28x18
                     text run at (1,1) width 28: "after"
  
  
  
  1.2       +1 -1      LayoutTests/fast/forms/selection-functions-expected.txt
  
  Index: selection-functions-expected.txt
  ===================================================================
  RCS file: /cvs/root/LayoutTests/fast/forms/selection-functions-expected.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- selection-functions-expected.txt	24 Jun 2005 05:53:31 -0000	1.1
  +++ selection-functions-expected.txt	21 Oct 2005 21:41:51 -0000	1.2
  @@ -2,7 +2,7 @@
   
   If this test passed you'll see a bunch of correct selection ranges below. Check the expected file for the correct ranges.
   
  -    
  +   
   ===textarea===
   setSelectionRange():
   3, 7
  
  
  
  1.2       +4 -2      LayoutTests/fast/js/for-in-expected.txt
  
  Index: for-in-expected.txt
  ===================================================================
  RCS file: /cvs/root/LayoutTests/fast/js/for-in-expected.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- for-in-expected.txt	5 Oct 2005 08:05:44 -0000	1.1
  +++ for-in-expected.txt	21 Oct 2005 21:41:52 -0000	1.2
  @@ -1,8 +1,10 @@
   This test checks whether for..in iteration properly skips duplicate entries, and whether it lists the properties of objects before those of their prototypes. It should print the following one per line in this order: "obj", "overloaded", "proto", "protoProto".
   
   
  -obj
  +protoProto
   overloaded
   proto
  -protoProto
  +overloaded
  +obj
  +overloaded
   
  
  
  
  1.2       +3 -3      LayoutTests/fast/js/xmlhttprequest-get-expected.txt
  
  Index: xmlhttprequest-get-expected.txt
  ===================================================================
  RCS file: /cvs/root/LayoutTests/fast/js/xmlhttprequest-get-expected.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- xmlhttprequest-get-expected.txt	13 Oct 2005 23:48:12 -0000	1.1
  +++ xmlhttprequest-get-expected.txt	21 Oct 2005 21:41:53 -0000	1.2
  @@ -25,6 +25,9 @@
   Event information
   Event object: [object Event]
   Event properties:
  +stopPropagation : '[function]'
  +preventDefault : '[function]'
  +initEvent : '[function]'
   cancelBubble : 'false'
   bubbles : 'true'
   returnValue : 'true'
  @@ -36,7 +39,4 @@
   cancelable : 'true'
   dataTransfer : 'undefined'
   clipboardData : 'undefined'
  -stopPropagation : '[function]'
  -preventDefault : '[function]'
  -initEvent : '[function]'
   
  
  
  
  1.7       +9 -8      LayoutTests/fast/selectors/064-expected.txt
  
  Index: 064-expected.txt
  ===================================================================
  RCS file: /cvs/root/LayoutTests/fast/selectors/064-expected.txt,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- 064-expected.txt	9 Aug 2005 20:58:29 -0000	1.6
  +++ 064-expected.txt	21 Oct 2005 21:41:54 -0000	1.7
  @@ -1,16 +1,17 @@
   layer at (0,0) size 800x600
     RenderCanvas at (0,0) size 800x600
  -layer at (0,0) size 800x87
  -  RenderBlock {HTML} at (0,0) size 800x87
  -    RenderBody {BODY} at (8,16) size 784x55
  -      RenderBlock {DIV} at (0,0) size 784x55
  +layer at (0,0) size 800x88
  +  RenderBlock {HTML} at (0,0) size 800x88
  +    RenderBody {BODY} at (8,16) size 784x56
  +      RenderBlock {DIV} at (0,0) size 784x56
           RenderBlock {P} at (0,0) size 784x18 [color=#00FF00]
             RenderInline {A} at (0,0) size 279x18 [color=#000000]
               RenderText {TEXT} at (0,0) size 279x18
                 text run at (0,0) width 279: "This text should turn green while it is active."
             RenderText {TEXT} at (0,0) size 0x0
  -        RenderBlock {P} at (0,34) size 784x21 [color=#00FF00]
  -          RenderBlock {BUTTON} at (0,0) size 248x21 [color=#000000] [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
  -            RenderText {TEXT} at (4,4) size 240x13
  -              text run at (4,4) width 240: "This text should turn green while it is active."
  +        RenderBlock {P} at (0,34) size 784x22 [color=#00FF00]
  +          RenderButton {BUTTON} at (2,2) size 256x18 [color=#000000]
  +            RenderBlock (anonymous) at (8,2) size 240x13
  +              RenderText {TEXT} at (0,0) size 240x13
  +                text run at (0,0) width 240: "This text should turn green while it is active."
             RenderText {TEXT} at (0,0) size 0x0
  
  
  



More information about the webkit-changes mailing list