[webkit-changes] cvs commit: LayoutTests/fast/text atsui-pointtooffset-calls-cg-expected.checksum atsui-pointtooffset-calls-cg-expected.png atsui-pointtooffset-calls-cg-expected.txt atsui-pointtooffset-calls-cg.html

Darin darin at opensource.apple.com
Wed Dec 7 23:42:13 PST 2005


darin       05/12/07 23:42:12

  Modified:    .        ChangeLog
  Added:       fast/text atsui-pointtooffset-calls-cg-expected.checksum
                        atsui-pointtooffset-calls-cg-expected.png
                        atsui-pointtooffset-calls-cg-expected.txt
                        atsui-pointtooffset-calls-cg.html
  Log:
          Landed by Darin.
  
          - added regression test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5878
            REGRESSION (WebTextRenderer.m r1.201): pointToOffset always takes the CG code path
  
          * fast/text/atsui-pointtooffset-calls-cg-expected.checksum: Added.
          * fast/text/atsui-pointtooffset-calls-cg-expected.png: Added.
          * fast/text/atsui-pointtooffset-calls-cg-expected.txt: Added.
          * fast/text/atsui-pointtooffset-calls-cg.html: Added.
  
  Revision  Changes    Path
  1.130     +12 -0     LayoutTests/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/LayoutTests/ChangeLog,v
  retrieving revision 1.129
  retrieving revision 1.130
  diff -u -r1.129 -r1.130
  --- ChangeLog	6 Dec 2005 06:29:20 -0000	1.129
  +++ ChangeLog	8 Dec 2005 07:42:11 -0000	1.130
  @@ -1,3 +1,15 @@
  +2005-12-07  Mitz Pettel  <opendarwin.org at mitzpettel.com>
  +
  +        Landed by Darin.
  +
  +        - added regression test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5878
  +          REGRESSION (WebTextRenderer.m r1.201): pointToOffset always takes the CG code path
  +
  +        * fast/text/atsui-pointtooffset-calls-cg-expected.checksum: Added.
  +        * fast/text/atsui-pointtooffset-calls-cg-expected.png: Added.
  +        * fast/text/atsui-pointtooffset-calls-cg-expected.txt: Added.
  +        * fast/text/atsui-pointtooffset-calls-cg.html: Added.
  +
   2005-12-05  Eric Seidel  <eseidel at apple.com>
   
           Rubber-stamped by mjs.
  
  
  
  1.1                  LayoutTests/fast/text/atsui-pointtooffset-calls-cg-expected.checksum
  
  Index: atsui-pointtooffset-calls-cg-expected.checksum
  ===================================================================
  ff059e7cb6c2de4a68d0087b3efb244a
  \ No newline at end of file
  
  
  
  1.1                  LayoutTests/fast/text/atsui-pointtooffset-calls-cg-expected.png
  
  	<<Binary file>>
  
  
  1.1                  LayoutTests/fast/text/atsui-pointtooffset-calls-cg-expected.txt
  
  Index: atsui-pointtooffset-calls-cg-expected.txt
  ===================================================================
  EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 13 of #text > BODY > HTML > #document to 13 of #text > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
  layer at (0,0) size 800x600
    RenderCanvas at (0,0) size 800x600
  layer at (0,0) size 800x600
    RenderBlock {HTML} at (0,0) size 800x600
      RenderBody {BODY} at (0,0) size 800x600
        RenderBlock (anonymous) at (0,0) size 800x18
          RenderText {TEXT} at (0,0) size 54x18
            text run at (0,0) width 54: "e\x{300}e\x{300}e\x{300}e\x{300}e\x{300}e\x{300}X"
        RenderBlock {HR} at (0,26) size 800x2 [border: (1px inset #000000)]
        RenderBlock (anonymous) at (0,36) size 800x36
          RenderText {TEXT} at (0,0) size 207x18
            text run at (0,0) width 207: "This tests for regressions against "
          RenderInline {I} at (0,0) size 779x36
            RenderText {TEXT} at (207,0) size 779x36
              text run at (207,0) width 572: "http://bugzilla.opendarwin.org/show_bug.cgi?id=5878 pointToOffset always takes the CG"
              text run at (0,18) width 62: "code path"
          RenderText {TEXT} at (62,18) size 632x18
            text run at (62,18) width 632: " by clicking the X and verifying that the correct caret position (13) is reported to the editing delegate."
          RenderText {TEXT} at (0,0) size 0x0
          RenderText {TEXT} at (0,0) size 0x0
  caret: position 13 of child 1 {TEXT} of child 1 {BODY} of child 0 {HTML} of document
  
  
  
  1.1                  LayoutTests/fast/text/atsui-pointtooffset-calls-cg.html
  
  Index: atsui-pointtooffset-calls-cg.html
  ===================================================================
  <html>
  <head>
  <title>pointToOffset always takes the CG code path</title>
  <script type="text/javascript">
  function step7()
  {
      eventSender.mouseUp();
      layoutTestController.notifyDone();
  }
  
  function step4()
  {
      eventSender.mouseDown();
      window.setTimeout(step7, 1);
  }
  
  function step3()
  {
      eventSender.mouseMoveTo(39, 10);
      window.setTimeout(step4, 1000);
  }
  
  step3();
  layoutTestController.waitUntilDone();
  </script>
  </head>
  <body style="margin: 0; padding: 0;"">
  <!-- The &#x0300;s force ATSUI rendering; when measured by
  the CG code path, they take up extra width -->
  e&#x0300;e&#x0300;e&#x0300;e&#x0300;e&#x0300;e&#x0300;X
  <hr>
  This tests for regressions against
  <i>http://bugzilla.opendarwin.org/show_bug.cgi?id=5878 pointToOffset
  always takes the CG code path</i> by clicking the X and verifying that the
  correct caret position (13) is reported to the editing delegate.
  </body>
  </html>
  
  
  



More information about the webkit-changes mailing list