corinthia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmke...@apache.org
Subject [1/3] incubator-corinthia git commit: Tables: Rename remove row/column functions
Date Thu, 05 Mar 2015 11:13:52 GMT
Repository: incubator-corinthia
Updated Branches:
  refs/heads/master 9fae5b277 -> d824e2bf9


http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/d824e2bf/Editor/tests/tables/removeAdjacentRow06inside-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/tables/removeAdjacentRow06inside-expected.html b/Editor/tests/tables/removeAdjacentRow06inside-expected.html
new file mode 100644
index 0000000..3341499
--- /dev/null
+++ b/Editor/tests/tables/removeAdjacentRow06inside-expected.html
@@ -0,0 +1,41 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table style="width: 100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p>0,0</p></td>
+          <td><p>0,1</p></td>
+          <td><p>0,2</p></td>
+          <td><p>0,3</p></td>
+        </tr>
+        <tr>
+          <td><p>1,0</p></td>
+          <td><p>1,1</p></td>
+          <td><p>1,2</p></td>
+          <td><p>1,3</p></td>
+        </tr>
+        <tr>
+          <td><p>2,0</p></td>
+          <td><p>2,1</p></td>
+          <td><p>2,2</p></td>
+          <td><p>2,3</p></td>
+        </tr>
+        <tr>
+          <td><p>3,0</p></td>
+          <td><p>[3,1</p></td>
+          <td><p>3,2]</p></td>
+          <td><p>3,3</p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/d824e2bf/Editor/tests/tables/removeAdjacentRow06inside-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/tables/removeAdjacentRow06inside-input.html b/Editor/tests/tables/removeAdjacentRow06inside-input.html
new file mode 100644
index 0000000..08ac7bc
--- /dev/null
+++ b/Editor/tests/tables/removeAdjacentRow06inside-input.html
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Tables_removeAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td><p>0,0</p></td>
+      <td><p>0,1</p></td>
+      <td><p>0,2</p></td>
+      <td><p>0,3</p></td>
+    </tr>
+    <tr>
+      <td><p>1,0</p></td>
+      <td><p>1,1</p></td>
+      <td><p>1,2</p></td>
+      <td><p>1,3</p></td>
+    </tr>
+    <tr>
+      <td><p>2,0</p></td>
+      <td><p>2,1</p></td>
+      <td><p>2,2</p></td>
+      <td><p>2,3</p></td>
+    </tr>
+    <tr>
+      <td><p>3,0</p></td>
+      <td><p>[3,1</p></td>
+      <td><p>3,2</p></td>
+      <td><p>3,3</p></td>
+    </tr>
+    <tr>
+      <td><p>4,0</p></td>
+      <td><p>4,1</p></td>
+      <td><p>4,2]</p></td>
+      <td><p>4,3</p></td>
+    </tr>
+  </table>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/d824e2bf/Editor/tests/tables/removeAdjacentRow07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/tables/removeAdjacentRow07-expected.html b/Editor/tests/tables/removeAdjacentRow07-expected.html
new file mode 100644
index 0000000..4c6a766
--- /dev/null
+++ b/Editor/tests/tables/removeAdjacentRow07-expected.html
@@ -0,0 +1,23 @@
+<html>
+  <head>
+    <link href="../generic.css" rel="stylesheet"/>
+  </head>
+  <body>
+    <table style="width: 100%">
+      <colgroup>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+        <col width="25%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p>0,0</p></td>
+          <td><p>[0,1</p></td>
+          <td><p>0,2]</p></td>
+          <td><p>0,3</p></td>
+        </tr>
+      </tbody>
+    </table>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/d824e2bf/Editor/tests/tables/removeAdjacentRow07-input.html
----------------------------------------------------------------------
diff --git a/Editor/tests/tables/removeAdjacentRow07-input.html b/Editor/tests/tables/removeAdjacentRow07-input.html
new file mode 100644
index 0000000..6d81993
--- /dev/null
+++ b/Editor/tests/tables/removeAdjacentRow07-input.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="../generic.css" rel="stylesheet"/>
+<script>
+function performTest()
+{
+    Tables_removeAdjacentRow();
+    showSelection();
+}
+</script>
+</head>
+<body>
+  <table style="width: 100%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <col width="25%">
+    <tr>
+      <td><p>0,0</p></td>
+      <td><p>[0,1</p></td>
+      <td><p>0,2]</p></td>
+      <td><p>0,3</p></td>
+    </tr>
+  </table>
+</body>
+</html>


Mime
View raw message