[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

enrica at apple.com enrica at apple.com
Thu Apr 8 00:39:16 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 0e77832e7acea4ee9e68d898f9c195d3c3923768
Author: enrica at apple.com <enrica at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Dec 17 00:15:52 2009 +0000

    Revised version of the test for:
    <rdar://problem/5565465
    https://bugs.webkit.org/show_bug.cgi?id=32622
    
    Reviewed by Adele Peterson.
    
    * editing/selection/empty-cell-right-click-expected.txt:
    * editing/selection/empty-cell-right-click.html:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52226 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 244654b..747e384 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,14 @@
+2009-12-16  Enrica Casucci  <enrica at apple.com>
+
+        Reviewed by Adele Peterson.
+
+        Revised version of the test for:
+        <rdar://problem/5565465
+        https://bugs.webkit.org/show_bug.cgi?id=32622
+
+        * editing/selection/empty-cell-right-click-expected.txt:
+        * editing/selection/empty-cell-right-click.html:
+
 2009-12-16  Csaba Osztrogonác  <ossy at webkit.org>
 
         Rubber-stamped by Simon Hausmann.
diff --git a/LayoutTests/editing/selection/empty-cell-right-click-expected.txt b/LayoutTests/editing/selection/empty-cell-right-click-expected.txt
index 46434a4..e0c1ba4 100644
--- a/LayoutTests/editing/selection/empty-cell-right-click-expected.txt
+++ b/LayoutTests/editing/selection/empty-cell-right-click-expected.txt
@@ -1,20 +1,2 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 0 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 0 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document toDOMRange:range from 0 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 0 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 0 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document toDOMRange:range from 0 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 0 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {DIV} at (0,0) size 784x27
-        RenderTable {TABLE} at (0,0) size 164x27 [border: (1px outset #808080)]
-          RenderTableSection {TBODY} at (1,1) size 162x25
-            RenderTableRow {TR} at (0,0) size 162x25
-              RenderTableCell {TD} at (0,10) size 54x4 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
-              RenderTableCell {TD} at (54,10) size 54x4 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
-              RenderTableCell {TD} at (108,10) size 54x4 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
-caret: position 0 of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 1 {TABLE} of child 1 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+Before: selection type is Caret
+After: selection type is Caret
diff --git a/LayoutTests/editing/selection/empty-cell-right-click.html b/LayoutTests/editing/selection/empty-cell-right-click.html
index 1af741c..5906151 100644
--- a/LayoutTests/editing/selection/empty-cell-right-click.html
+++ b/LayoutTests/editing/selection/empty-cell-right-click.html
@@ -6,17 +6,31 @@
 <div contentEditable="true">
 <table border="1" cellspacing="0"><tr><td id="first" width="50" height="25pt"></td><td width="50" height="25pt"></td><td width="50" height="25pt"></td></tr></table>
 </div>
+<ul id="console"></ul>
 </body>
 <script>
-if (window.layoutTestController) {   
-    window.layoutTestController.dumpEditingCallbacks();
+if (window.layoutTestController) {
+    layoutTestController.dumpAsText();
     var elem = document.getElementById("first");
     x = elem.offsetLeft + elem.offsetWidth / 2;
     y = elem.offsetTop + elem.offsetHeight / 2;
     eventSender.mouseMoveTo(x, y);
     eventSender.mouseDown();
     eventSender.mouseUp();
+
+    log("Before: selection type is " + window.getSelection().type);
+    
     eventSender.contextClick();
+    
+    log("After: selection type is " + window.getSelection().type);
 }
+
+function log(str) {
+    var li = document.createElement("li");
+    li.appendChild(document.createTextNode(str));
+    var console = document.getElementById("console");
+    console.appendChild(li);
+}
+
 </script>
 </html>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list