[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

kocienda kocienda at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:53:10 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit cd002e64d7a990a8228421d5f64a27cb6b9871df
Author: kocienda <kocienda at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Jul 28 21:52:30 2004 +0000

            Reviewed by me
    
            Added some layout tests.
    
            * layout-tests/editing/selection/select-all-001-expected.txt: Added.
            * layout-tests/editing/selection/select-all-001.html: Added.
            * layout-tests/editing/selection/select-all-002-expected.txt: Added.
            * layout-tests/editing/selection/select-all-002.html: Added.
            * layout-tests/editing/selection/select-all-003-expected.txt: Added.
            * layout-tests/editing/selection/select-all-003.html: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@7147 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/editing/selection/select-all-001-expected.txt b/LayoutTests/editing/selection/select-all-001-expected.txt
new file mode 100644
index 0000000..4abada4
--- /dev/null
+++ b/LayoutTests/editing/selection/select-all-001-expected.txt
@@ -0,0 +1,28 @@
+layer at (0,0) size 820x900
+  RenderCanvas at (0,0) size 800x585
+layer at (0,0) size 820x900
+  RenderBlock {HTML} at (0,0) size 800x900
+    RenderBody {BODY} at (8,64) size 784x772
+      RenderBlock {DIV} at (64,0) size 748x772 [border: (50px solid #FF0000)]
+        RenderBlock {DIV} at (74,74) size 600x624
+          RenderText {TEXT} at (0,10) size 598x624
+            text run at (0,10) width 552: "Four score and seven years ago our fathers brought forth,"
+            text run at (0,58) width 583: "upon this continent, a new nation, conceived in Liberty, and"
+            text run at (0,106) width 571: "dedicated to the proposition that all men are created equal."
+            text run at (0,154) width 596: "Now we are engaged in a great civil war, testing whether that"
+            text run at (0,202) width 559: "nation, or any nation, so conceived, and so dedicated, can"
+            text run at (0,250) width 565: "long endure. We are met here on a great battlefield of that"
+            text run at (0,298) width 539: "war. We have come to dedicate a portion of it as a final"
+            text run at (0,346) width 551: "resting place for those who here gave their lives that that"
+            text run at (0,394) width 573: "nation might live. It is altogether fitting and proper that we"
+            text run at (0,442) width 559: "should do this. Four score and seven years ago our fathers"
+            text run at (0,490) width 598: "brought forth, upon this continent, a new nation, conceived in"
+            text run at (0,538) width 554: "Liberty, and dedicated to the proposition that all men are"
+            text run at (0,586) width 136: "created equal."
+selection is RANGE:
+start:      position 0 of child 1 {TEXT} of child 2 {DIV} of root {DIV}
+upstream:   position 0 of child 1 {TEXT} of child 2 {DIV} of root {DIV}
+downstream: position 0 of child 1 {TEXT} of child 2 {DIV} of root {DIV}
+end:        position 736 of child 1 {TEXT} of child 2 {DIV} of root {DIV}
+upstream:   position 736 of child 1 {TEXT} of child 2 {DIV} of root {DIV}
+downstream: position 737 of child 1 {TEXT} of child 2 {DIV} of root {DIV}
diff --git a/LayoutTests/editing/selection/select-all-001.html b/LayoutTests/editing/selection/select-all-001.html
new file mode 100644
index 0000000..10c8a3a
--- /dev/null
+++ b/LayoutTests/editing/selection/select-all-001.html
@@ -0,0 +1,48 @@
+<html> 
+<head>
+
+<style>
+.editing { 
+    border: solid red 50px;
+    font-size: 24px; 
+    line-height: 48px; 
+    padding: 24px; 
+    margin: 64px;
+    width: 600px; 
+}
+</style>
+<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
+
+<script>
+
+function editingTest() {
+    selectAllCommand();    
+}
+
+</script>
+
+<title>Editing Test</title> 
+</head> 
+<body>
+<div contenteditable id="root" class="editing">
+<div id="test">
+Four score and seven years ago our fathers brought forth, upon this
+continent, a new nation, conceived in Liberty, and dedicated to the
+proposition that all men are created equal. Now we are engaged in a
+great civil war, testing whether that nation, or any nation, so
+conceived, and so dedicated, can long endure. We are met here on a great
+battlefield of that war. We have come to dedicate a portion of it as a
+final resting place for those who here gave their lives that that nation
+might live. It is altogether fitting and proper that we should do this.
+Four score and seven years ago our fathers brought forth, upon this
+continent, a new nation, conceived in Liberty, and dedicated to the
+proposition that all men are created equal.
+</div>
+</div>
+
+<script>
+runEditingTest();
+</script>
+
+</body>
+</html>
diff --git a/LayoutTests/editing/selection/select-all-002-expected.txt b/LayoutTests/editing/selection/select-all-002-expected.txt
new file mode 100644
index 0000000..6807e3d
--- /dev/null
+++ b/LayoutTests/editing/selection/select-all-002-expected.txt
@@ -0,0 +1,34 @@
+layer at (0,0) size 820x900
+  RenderCanvas at (0,0) size 800x585
+layer at (0,0) size 820x900
+  RenderBlock {HTML} at (0,0) size 800x900
+    RenderBody {BODY} at (8,64) size 784x772
+      RenderBlock {DIV} at (64,0) size 748x772 [border: (50px solid #FF0000)]
+        RenderBlock {DIV} at (74,74) size 600x624
+          RenderText {TEXT} at (0,10) size 583x144
+            text run at (0,10) width 552: "Four score and seven years ago our fathers brought forth,"
+            text run at (0,58) width 583: "upon this continent, a new nation, conceived in Liberty, and"
+            text run at (0,106) width 399: "dedicated to the proposition that all men "
+          RenderBR {BR} at (0,0) size 0x0
+          RenderText {TEXT} at (0,154) size 584x144
+            text run at (0,154) width 576: "are created equal. Now we are engaged in a great civil war,"
+            text run at (0,202) width 584: "testing whether that nation, or any nation, so conceived, and"
+            text run at (0,250) width 569: "so dedicated, can long endure. We are met here on a great "
+          RenderBR {BR} at (0,0) size 0x0
+          RenderText {TEXT} at (0,298) size 600x192
+            text run at (0,298) width 600: "battlefield of that war. We have come to dedicate a portion of"
+            text run at (0,346) width 579: "it as a final resting place for those who here gave their lives"
+            text run at (0,394) width 582: "that that nation might live. It is altogether fitting and proper"
+            text run at (0,442) width 224: "that we should do this. "
+          RenderBR {BR} at (0,0) size 0x0
+          RenderText {TEXT} at (0,490) size 583x144
+            text run at (0,490) width 552: "Four score and seven years ago our fathers brought forth,"
+            text run at (0,538) width 583: "upon this continent, a new nation, conceived in Liberty, and"
+            text run at (0,586) width 571: "dedicated to the proposition that all men are created equal."
+selection is RANGE:
+start:      position 0 of child 1 {TEXT} of child 2 {DIV} of root {DIV}
+upstream:   position 0 of child 1 {TEXT} of child 2 {DIV} of root {DIV}
+downstream: position 0 of child 1 {TEXT} of child 2 {DIV} of root {DIV}
+end:        position 180 of child 7 {TEXT} of child 2 {DIV} of root {DIV}
+upstream:   position 180 of child 7 {TEXT} of child 2 {DIV} of root {DIV}
+downstream: position 181 of child 7 {TEXT} of child 2 {DIV} of root {DIV}
diff --git a/LayoutTests/editing/selection/select-all-002.html b/LayoutTests/editing/selection/select-all-002.html
new file mode 100644
index 0000000..2cfd83b
--- /dev/null
+++ b/LayoutTests/editing/selection/select-all-002.html
@@ -0,0 +1,52 @@
+<html> 
+<head>
+
+<style>
+.editing { 
+    border: solid red 50px;
+    font-size: 24px; 
+    line-height: 48px; 
+    padding: 24px; 
+    margin: 64px;
+    width: 600px; 
+}
+</style>
+<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
+
+<script>
+
+function editingTest() {
+    selectAllCommand();    
+}
+
+</script>
+
+<title>Editing Test</title> 
+</head> 
+<body>
+<div contenteditable id="root" class="editing">
+<div id="test">
+Four score and seven years ago our fathers brought forth, upon this
+continent, a new nation, conceived in Liberty, and dedicated to the
+proposition that all men 
+<br>
+are created equal. Now we are engaged in a
+great civil war, testing whether that nation, or any nation, so
+conceived, and so dedicated, can long endure. We are met here on a great
+<br>
+battlefield of that war. We have come to dedicate a portion of it as a
+final resting place for those who here gave their lives that that nation
+might live. It is altogether fitting and proper that we should do this.
+<br>
+Four score and seven years ago our fathers brought forth, upon this
+continent, a new nation, conceived in Liberty, and dedicated to the
+proposition that all men are created equal.
+</div>
+</div>
+
+<script>
+runEditingTest();
+</script>
+
+</body>
+</html>
diff --git a/LayoutTests/editing/selection/select-all-003-expected.txt b/LayoutTests/editing/selection/select-all-003-expected.txt
new file mode 100644
index 0000000..631cc3a
--- /dev/null
+++ b/LayoutTests/editing/selection/select-all-003-expected.txt
@@ -0,0 +1,35 @@
+layer at (0,0) size 812x1044
+  RenderCanvas at (0,0) size 800x585
+layer at (0,0) size 812x1044
+  RenderBlock {HTML} at (0,0) size 800x1044
+    RenderBody {BODY} at (64,64) size 748x916 [border: (50px solid #FF0000)]
+      RenderBlock (anonymous) at (74,74) size 600x768
+        RenderBR {BR} at (0,10) size 0x28
+        RenderText {TEXT} at (0,0) size 0x0
+        RenderBR {BR} at (0,58) size 0x28
+        RenderText {TEXT} at (0,106) size 598x624
+          text run at (0,106) width 552: "Four score and seven years ago our fathers brought forth,"
+          text run at (0,154) width 583: "upon this continent, a new nation, conceived in Liberty, and"
+          text run at (0,202) width 571: "dedicated to the proposition that all men are created equal."
+          text run at (0,250) width 596: "Now we are engaged in a great civil war, testing whether that"
+          text run at (0,298) width 559: "nation, or any nation, so conceived, and so dedicated, can"
+          text run at (0,346) width 565: "long endure. We are met here on a great battlefield of that"
+          text run at (0,394) width 539: "war. We have come to dedicate a portion of it as a final"
+          text run at (0,442) width 551: "resting place for those who here gave their lives that that"
+          text run at (0,490) width 573: "nation might live. It is altogether fitting and proper that we"
+          text run at (0,538) width 559: "should do this. Four score and seven years ago our fathers"
+          text run at (0,586) width 598: "brought forth, upon this continent, a new nation, conceived in"
+          text run at (0,634) width 554: "Liberty, and dedicated to the proposition that all men are"
+          text run at (0,682) width 142: "created equal. "
+        RenderBR {BR} at (0,0) size 0x0
+        RenderText {TEXT} at (0,0) size 0x0
+        RenderBR {BR} at (0,730) size 0x28
+        RenderText {TEXT} at (0,0) size 0x0
+      RenderBlock {DIV} at (74,842) size 600x0
+selection is RANGE:
+start:      position 0 of child 1 {BR} of root {BODY}
+upstream:   position 0 of child 1 {BR} of root {BODY}
+downstream: position 0 of child 1 {BR} of root {BODY}
+end:        position 0 of child 9 {DIV} of root {BODY}
+upstream:   position 0 of child 9 {DIV} of root {BODY}
+downstream: position 0 of child 9 {DIV} of root {BODY}
diff --git a/LayoutTests/editing/selection/select-all-003.html b/LayoutTests/editing/selection/select-all-003.html
new file mode 100644
index 0000000..24371c3
--- /dev/null
+++ b/LayoutTests/editing/selection/select-all-003.html
@@ -0,0 +1,49 @@
+<html> 
+<head>
+
+<style>
+.editing { 
+    border: solid red 50px;
+    font-size: 24px; 
+    line-height: 48px; 
+    padding: 24px; 
+    margin: 64px;
+    width: 600px; 
+}
+</style>
+<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
+
+<script>
+
+function editingTest() {
+    selectAllCommand();    
+}
+
+</script>
+
+<title>Editing Test</title> 
+</head> 
+<body contenteditable id="root" class="editing">
+<br>
+<br>
+Four score and seven years ago our fathers brought forth, upon this
+continent, a new nation, conceived in Liberty, and dedicated to the
+proposition that all men are created equal. Now we are engaged in a
+great civil war, testing whether that nation, or any nation, so
+conceived, and so dedicated, can long endure. We are met here on a great
+battlefield of that war. We have come to dedicate a portion of it as a
+final resting place for those who here gave their lives that that nation
+might live. It is altogether fitting and proper that we should do this.
+Four score and seven years ago our fathers brought forth, upon this
+continent, a new nation, conceived in Liberty, and dedicated to the
+proposition that all men are created equal.
+<br>
+<br>
+<div id="test"></div>
+
+<script>
+runEditingTest();
+</script>
+
+</body>
+</html>
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 5f80576..7715f63 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,16 @@
+2004-07-28  Ken Kocienda  <kocienda at apple.com>
+
+        Reviewed by me
+        
+        Added some layout tests.
+
+        * layout-tests/editing/selection/select-all-001-expected.txt: Added.
+        * layout-tests/editing/selection/select-all-001.html: Added.
+        * layout-tests/editing/selection/select-all-002-expected.txt: Added.
+        * layout-tests/editing/selection/select-all-002.html: Added.
+        * layout-tests/editing/selection/select-all-003-expected.txt: Added.
+        * layout-tests/editing/selection/select-all-003.html: Added.
+
 2004-07-28  Trey Matteson  <trey at apple.com>
 
 	Spellchecking, Part I.  Basic spellcheck is working.  Spelling panel is hooked up.

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list