Changeset 91864 in webkit
- Timestamp:
- Jul 27, 2011, 12:26:08 PM (14 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
- 4 copied
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r91862 r91864 1 2011-07-27 Xiaomei Ji <xji@chromium.org> 2 3 editing/selection/move-by-word-visually* tests timing out 4 https://bugs.webkit.org/show_bug.cgi?id=65241 5 6 Split the 2 tests into 4 tests. But need to find a way to improve 7 performance eventually. 8 9 * editing/selection/move-by-word-visually-multi-line-expected.txt: Copied from LayoutTests/editing/selection/move-by-word-visually-others-expected.txt. 10 * editing/selection/move-by-word-visually-multi-line.html: Copied from LayoutTests/editing/selection/move-by-word-visually-others.html. 11 * editing/selection/move-by-word-visually-multi-space-expected.txt: Copied from LayoutTests/editing/selection/move-by-word-visually-others-expected.txt. 12 * editing/selection/move-by-word-visually-multi-space.html: Copied from LayoutTests/editing/selection/move-by-word-visually-others.html. 13 * editing/selection/move-by-word-visually-others-expected.txt: Removed. 14 * editing/selection/move-by-word-visually-others.html: Removed. 15 * editing/selection/move-by-word-visually-single-space-inline-element-expected.txt: Copied from LayoutTests/editing/selection/move-by-word-visually-single-space-sigle-line-expected.txt. 16 * editing/selection/move-by-word-visually-single-space-inline-element.html: Copied from LayoutTests/editing/selection/move-by-word-visually-single-space-sigle-line.html. 17 * editing/selection/move-by-word-visually-single-space-one-element-expected.txt: Copied from LayoutTests/editing/selection/move-by-word-visually-single-space-sigle-line-expected.txt. 18 * editing/selection/move-by-word-visually-single-space-one-element.html: Copied from LayoutTests/editing/selection/move-by-word-visually-single-space-sigle-line.html. 19 * editing/selection/move-by-word-visually-single-space-sigle-line-expected.txt: Removed. 20 * editing/selection/move-by-word-visually-single-space-sigle-line.html: Removed. 21 * platform/chromium/test_expectations.txt: 22 * platform/qt/Skipped: 23 1 24 2011-07-27 Ryosuke Niwa <rniwa@webkit.org> 2 25 -
trunk/LayoutTests/editing/selection/move-by-word-visually-multi-line-expected.txt
r91854 r91864 3 3 Test 1, LTR: 4 4 Move right by one word 5 "abc def hij opq"[0, 4, 8, 15]5 "abc def ghi jkl mn "[0, 4, 8, 12, 16], "opq rst uvw xyz"[0, 4, 8, 12] 6 6 Move left by one word 7 " abc def hij opq"[18, 15, 8, 4, 0]7 "opq rst uvw xyz"[15, 12, 8, 4, 0], "abc def ghi jkl mn "[16, 12, 8, 4, 0] 8 8 Test 2, LTR: 9 Move right by one word10 " abc def hij opq "[4, 8, 15, 22]11 Move left by one word12 " abc def hij opq "[28, 22, 15, 8, 4]13 Test 3, LTR:14 Move right by one word15 " abc ABW def "[4, 8, 15]16 Move left by one word17 " abc ABW def "[21, 15, 8, 4]18 Test 4, LTR:19 Move right by one word20 " abc def ABW DDU hij opq "[4, 8, 15, 21, 29, 36]21 Move left by one word22 " abc def ABW DDU hij opq "[42, 36, 29, 21, 15, 8, 4]23 Test 5, LTR:24 Move right by one word25 " abc def hij ABW DSU EJH opq rst uvw "[4, 8, 15, 22, 35, 28, 43, 50, 57]26 Move left by one word27 " abc def hij ABW DSU EJH opq rst uvw "[63, 57, 50, 43, 28, 35, 22, 15, 8, 4]28 Test 6, LTR:29 Move right by one word30 " ABW DSU HJH FUX "[4, 21, 14, 7]31 Move left by one word32 " ABW DSU HJH FUX "[28, 7, 14, 21, 4]33 Test 7, LTR:34 Move right by one word35 " ABW abc DSU "[4, 8, 15, 21] FAIL expected: [4, 8, 15]36 " ABW abc DSU "[15, 21] FAIL expected to stay in the same position37 " ABW abc DSU "[20, 21] FAIL expected to stay in the same position38 " ABW abc DSU "[19, 21] FAIL expected to stay in the same position39 Move left by one word40 " ABW abc DSU "[21, 15, 8, 4]41 Test 8, LTR:42 Move right by one word43 " ABW DSU abc def HJH FUX "[4, 7, 15, 22, 28, 33]44 Move left by one word45 " ABW DSU abc def HJH FUX "[40, 33, 28, 22, 15, 7, 4]46 Test 9, LTR:47 Move right by one word48 " ABW DSU HJH abc def jih FUX FUX YR[ "[4, 14, 7, 22, 29, 35, 41, 51, 46]49 Move left by one word50 " ABW DSU HJH abc def jih FUX FUX YR[ "[58, 46, 51, 41, 35, 29, 22, 7, 14, 4]51 Test 10, LTR:52 Move right by one word53 "ABW DSU EJH FUX"[0, 14, 7, 3]54 Move left by one word55 "ABW DSU EJH FUX"[18, 3, 7, 14, 0]56 Test 11, LTR:57 Move right by one word58 "ABW DSU EJH abc def hij"[0, 7, 3, 12, 19, 23]59 Move left by one word60 "ABW DSU EJH abc def hij"[26, 23, 19, 12, 3, 7, 0]61 Test 12, LTR:62 Move right by one word63 "abc def hij ABW DSU EJH opq rst uvw"[0, 4, 8, 12, 22, 18, 27, 34, 38]64 Move left by one word65 "abc def hij ABW DSU EJH opq rst uvw"[41, 38, 34, 27, 18, 22, 12, 8, 4, 0]66 Test 13, RTL:67 Move left by one word68 "abc def hij opq"[0, 14, 7, 3]69 Move right by one word70 "abc def hij opq"[18, 3, 7, 14, 0]71 Test 14, RTL:72 Move left by one word73 " abc def hij opq "[4, 21, 14, 7]74 Move right by one word75 " abc def hij opq "[28, 7, 14, 21, 4]76 Test 15, RTL:77 Move left by one word78 " abc ABW def "[4, 8, 15, 21] FAIL expected: [4, 8, 15]79 " abc ABW def "[15, 21] FAIL expected to stay in the same position80 " abc ABW def "[20, 21] FAIL expected to stay in the same position81 " abc ABW def "[19, 21] FAIL expected to stay in the same position82 Move right by one word83 " abc ABW def "[21, 15, 8, 4]84 Test 16, RTL:85 Move left by one word86 " abc def ABW DDU hij opq "[4, 7, 15, 22, 29, 35]87 Move right by one word88 " abc def ABW DDU hij opq "[42, 35, 29, 22, 15, 7, 4]89 Test 17, RTL:90 Move left by one word91 " abc def hij ABW DSU EJH opq rst uvw "[4, 14, 7, 22, 29, 36, 43, 56, 49]92 Move right by one word93 " abc def hij ABW DSU EJH opq rst uvw "[63, 49, 56, 43, 36, 29, 22, 7, 14, 4]94 Test 18, RTL:95 Move left by one word96 " ABW DSU HJH FUX "[4, 8, 15, 22]97 Move right by one word98 " ABW DSU HJH FUX "[28, 22, 15, 8, 4]99 Test 19, RTL:100 Move left by one word101 " ABW abc DSU "[4, 8, 15]102 Move right by one word103 " ABW abc DSU "[21, 15, 8, 4]104 Test 20, RTL:105 Move left by one word106 " ABW DSU abc def HJH FUX "[4, 8, 15, 21, 28, 34]107 Move right by one word108 " ABW DSU abc def HJH FUX "[40, 34, 28, 21, 15, 8, 4]109 Test 21, RTL:110 Move left by one word111 " ABW DSU HJH abc def jih FUX FUX YR[ "[4, 8, 15, 22, 34, 28, 41, 47, 52]112 Move right by one word113 " ABW DSU HJH abc def jih FUX FUX YR[ "[58, 52, 47, 41, 28, 34, 22, 15, 8, 4]114 Test 22, LTR:115 Move right by one word116 "abc def hij opq"[0, 4, 11, 15]117 Move left by one word118 "abc def hij opq"[18, 15, 11, 4, 0]119 Test 23, LTR:120 Move right by one word121 " abc def hij opq "[0, 4, 11, 18, 25]122 Move left by one word123 " abc def hij opq "[32, 25, 18, 11, 4, 0]124 Test 24, LTR:125 Move right by one word126 " abc ABW def "[0, 4, 11, 18]127 Move left by one word128 " abc ABW def "[25, 18, 11, 4, 0]129 Test 25, LTR:130 Move right by one word131 " abc def ABW DDU hij opq "[0, 4, 11, 18, 21, 32, 39]132 Move left by one word133 " abc def ABW DDU hij opq "[46, 39, 32, 21, 18, 11, 4, 0]134 Test 26, LTR:135 Move right by one word136 " abc def hij ABW DSU EJH opq rst uvw "[0, 4, 11, 18, 25, 35, 28, 46, 53, 60]137 Move left by one word138 " abc def hij ABW DSU EJH opq rst uvw "[67, 60, 53, 46, 28, 35, 25, 18, 11, 4, 0]139 Test 27, LTR:140 Move right by one word141 " ABW DSU HJH FUX "[0, 4, 21, 14, 7]142 Move left by one word143 " ABW DSU HJH FUX "[32, 7, 14, 21, 4, 0]144 Test 28, LTR:145 Move right by one word146 " ABW abc DSU "[0, 4, 11, 18]147 Move left by one word148 " ABW abc DSU "[26, 18, 11, 4, 0]149 Test 29, LTR:150 Move right by one word151 " ABW DSU abc def HJH FUX "[0, 4, 7, 18, 24, 30, 33]152 Move left by one word153 " ABW DSU abc def HJH FUX "[44, 33, 30, 24, 18, 7, 4, 0]154 Test 30, LTR:155 Move right by one word156 " ABW DSU HJH abc def jih FUX FUX YR[ "[0, 4, 14, 7, 25, 31, 37, 43, 51, 46]157 Move left by one word158 " ABW DSU HJH abc def jih FUX FUX YR[ "[63, 46, 51, 43, 37, 31, 25, 7, 14, 4, 0]159 Test 31, LTR:160 Move right by one word161 "ABW DSU EJH FUX"[0, 14, 7, 3]162 Move left by one word163 "ABW DSU EJH FUX"[18, 3, 7, 14, 0]164 Test 32, LTR:165 Move right by one word166 "ABW DSU EJH abc def hij"[0, 7, 3, 15, 19, 23]167 Move left by one word168 "ABW DSU EJH abc def hij"[26, 23, 19, 15, 3, 7, 0]169 Test 33, LTR:170 Move right by one word171 "abc def hij ABW DSU EJH opq rst uvw"[0, 4, 8, 15, 22, 18, 30, 34, 38]172 Move left by one word173 "abc def hij ABW DSU EJH opq rst uvw"[41, 38, 34, 30, 18, 22, 15, 8, 4, 0]174 Test 34, RTL:175 Move left by one word176 "abc def hij opq"[0, 14, 7, 3]177 Move right by one word178 "abc def hij opq"[18, 3, 7, 14, 0]179 Test 35, RTL:180 Move left by one word181 " abc def hij opq "[0, 4, 21, 14, 7]182 Move right by one word183 " abc def hij opq "[32, 7, 14, 21, 4, 0]184 Test 36, RTL:185 Move left by one word186 " abc ABW def "[0, 4, 11, 18]187 Move right by one word188 " abc ABW def "[25, 18, 11, 4, 0]189 Test 37, RTL:190 Move left by one word191 " abc def ABW DDU hij opq "[0, 4, 7, 18, 25, 32, 35]192 Move right by one word193 " abc def ABW DDU hij opq "[46, 35, 32, 25, 18, 7, 4, 0]194 Test 38, RTL:195 Move left by one word196 " abc def hij ABW DSU EJH opq rst uvw "[0, 4, 14, 7, 25, 32, 39, 46, 56, 49]197 Move right by one word198 " abc def hij ABW DSU EJH opq rst uvw "[67, 49, 56, 46, 39, 32, 25, 7, 14, 4, 0]199 Test 39, RTL:200 Move left by one word201 " ABW DSU HJH FUX "[0, 4, 11, 18, 25]202 Move right by one word203 " ABW DSU HJH FUX "[32, 25, 18, 11, 4, 0]204 Test 40, RTL:205 Move left by one word206 " ABW abc DSU "[0, 4, 11, 18]207 Move right by one word208 " ABW abc DSU "[26, 18, 11, 4, 0]209 Test 41, RTL:210 Move left by one word211 " ABW DSU abc def HJH FUX "[0, 4, 11, 18, 21, 30, 37]212 Move right by one word213 " ABW DSU abc def HJH FUX "[44, 37, 30, 21, 18, 11, 4, 0]214 Test 42, RTL:215 Move left by one word216 " ABW DSU HJH abc def jih FUX FUX YR[ "[0, 4, 11, 18, 25, 34, 28, 43, 48, 55]217 Move right by one word218 " ABW DSU HJH abc def jih FUX FUX YR[ "[63, 55, 48, 43, 28, 34, 25, 18, 11, 4, 0]219 Test 43, LTR:220 Move right by one word221 "䤫䡱暘倎厘 疂崝烵 abc def"[0, 1, 2, 3, 4, 9, 10, 11, 17, 21]222 Move left by one word223 "䤫䡱暘倎厘 疂崝烵 abc def"[24, 21, 17, 11, 10, 9, 4, 3, 2, 1, 0]224 Test 44, LTR:225 9 Move right by one word 226 10 "abc def ghi jkl mn "[0, 4, 8, 12, 16], "opq rst uvw xyz"[0, 4, 8, 12] 227 11 Move left by one word 228 12 "opq rst uvw xyz"[15, 12, 8, 4, 0], "abc def ghi jkl mn "[16, 12, 8, 4, 0] 229 Test 45, LTR: 230 Move right by one word 231 "abc def ghi jkl mn "[0, 4, 8, 12, 16], "opq rst uvw xyz"[0, 4, 8, 12] 232 Move left by one word 233 "opq rst uvw xyz"[15, 12, 8, 4, 0], "abc def ghi jkl mn "[16, 12, 8, 4, 0] 234 Test 46, LTR: 13 Test 3, LTR: 235 14 Move right by one word 236 15 "AAA AAA AAA AAA "[0, 3, 8, 11], "AAA AAA AAA AAA"[0, 3, 8, 11] 237 16 Move left by one word 238 17 "AAA AAA AAA AAA"[15, 11, 8, 3, 0], "AAA AAA AAA AAA "[11, 8, 3, 0] 239 Test 4 7, LTR:18 Test 4, LTR: 240 19 Move right by one word 241 20 "AAA AAA AAA AAA "[0, 3, 8, 11], "AAA AAA AAA AAA"[0, 3, 8, 11] 242 21 Move left by one word 243 22 "AAA AAA AAA AAA"[15, 11, 8, 3, 0], "AAA AAA AAA AAA "[11, 8, 3, 0] 244 Test 48, LTR:23 Test 5, LTR: 245 24 Move right by one word 246 25 " abc def AAA AAA hij AAA AAA uvw xyz "[1, 5, 9, 12, 17, 21, 25, 29, 33], "AAA kj AAA mn opq AAA AAA"[0, 4, 7, 11, 14, 18, 22, 25] 247 26 Move left by one word 248 27 "AAA kj AAA mn opq AAA AAA"[25, 22, 18, 14, 11, 7, 4, 0], " abc def AAA AAA hij AAA AAA uvw xyz "[33, 29, 25, 21, 17, 12, 9, 5, 1] 249 Test 49, LTR:28 Test 6, LTR: 250 29 Move right by one word 251 30 " abc def AAA AAA hij AAA AAA uvw xyz "[1, 5, 9, 12, 17, 21, 25, 29, 33], "AAA kj AAA mn opq AAA AAA"[0, 4, 7, 11, 14, 18, 22, 25] 252 31 Move left by one word 253 32 "AAA kj AAA mn opq AAA AAA"[25, 22, 18, 14, 11, 7, 4, 0], " abc def AAA AAA hij AAA AAA uvw xyz "[33, 29, 25, 21, 17, 12, 9, 5, 1] 254 Test 50, RTL:33 Test 7, RTL: 255 34 Move left by one word 256 35 "abc def ghi jkl mn "[0, 3, 8, 11, 16], "opq rst uvw xyz"[0, 3, 8, 11] 257 36 Move right by one word 258 37 "opq rst uvw xyz"[15, 11, 8, 3, 0], "abc def ghi jkl mn "[16, 11, 8, 3, 0] 259 Test 51, RTL:38 Test 8, RTL: 260 39 Move left by one word 261 40 "abc def ghi jkl mn "[0, 3, 8, 11, 16, 18], "opq rst uvw xyz"[0, 3, 8, 11] 262 41 Move right by one word 263 42 "opq rst uvw xyz"[15, 11, 8, 3, 0], "abc def ghi jkl mn "[18, 16, 11, 8, 3, 0] 264 Test 52, RTL:43 Test 9, RTL: 265 44 Move left by one word 266 45 "AAA AAA AAA AAA "[0, 4, 8, 12], "AAA AAA AAA AAA"[0, 4, 8, 12] 267 46 Move right by one word 268 47 "AAA AAA AAA AAA"[15, 12, 8, 4, 0], "AAA AAA AAA AAA "[12, 8, 4, 0] 269 Test 53, RTL:48 Test 10, RTL: 270 49 Move left by one word 271 50 "AAA AAA AAA AAA "[0, 4, 8, 12], "AAA AAA AAA AAA"[0, 4, 8, 12] 272 51 Move right by one word 273 52 "AAA AAA AAA AAA"[15, 12, 8, 4, 0], "AAA AAA AAA AAA "[12, 8, 4, 0] 274 Test 54, RTL:53 Test 11, RTL: 275 54 Move left by one word 276 55 " abc def AAA AAA hij AAA AAA uvw xyz "[1, 4, 9, 13, 17, 21, 25, 29, 33], "AAA kj AAA mn opq AAA AAA"[0, 4, 7, 11, 14, 18, 22] 277 56 Move right by one word 278 57 "AAA kj AAA mn opq AAA AAA"[25, 22, 18, 14, 11, 7, 4, 0], " abc def AAA AAA hij AAA AAA uvw xyz "[33, 29, 25, 21, 17, 13, 9, 4, 1] 279 Test 55, RTL:58 Test 12, RTL: 280 59 Move left by one word 281 60 " abc def AAA AAA hij AAA AAA uvw xyz "[1, 4, 9, 13, 17, 21, 25, 29, 33, 36], "AAA kj AAA mn opq AAA AAA"[0, 4, 7, 11, 14, 18, 22] 282 61 Move right by one word 283 62 "AAA kj AAA mn opq AAA AAA"[25, 22, 18, 14, 11, 7, 4, 0], " abc def AAA AAA hij AAA AAA uvw xyz "[36, 33, 29, 25, 21, 17, 13, 9, 4, 1] 284 Test 56, LTR:63 Test 13, LTR: 285 64 Move right by one word 286 65 "abc def "[0, 4] 287 66 Move left by one word 288 67 " hij opq"[8, 5, 1] 289 Test 57, LTR:68 Test 14, LTR: 290 69 Move right by one word 291 70 <DIV>[0] 292 71 Move left by one word 293 72 <DIV>[0] 294 Test 58, LTR:73 Test 15, LTR: 295 74 Move right by one word 296 75 "\n00"[3] -
trunk/LayoutTests/editing/selection/move-by-word-visually-multi-line.html
r91854 r91864 35 35 where child_node_index is optional, default is the first child of the anchor node. 36 36 --> 37 38 <!-- test multispaces -->39 <div dir=ltr class="test_move_by_word" title="0 4 8 15|18 15 8 4 0" contenteditable>abc def hij opq</div>40 <div dir=ltr class="test_move_by_word" title="4 8 15 22|28 22 15 8 4" contenteditable> abc def hij opq </div>41 <div dir=ltr class="test_move_by_word" title="4 8 15|21 15 8 4" contenteditable> abc אבצ def </div>42 <div dir=ltr class="test_move_by_word" title="4 8 15 21 29 36|42 36 29 21 15 8 4" contenteditable> abc def אבצ דדפ hij opq </div>43 <div dir=ltr class="test_move_by_word" title="4 8 15 22 35 28 43 50 57|63 57 50 43 28 35 22 15 8 4" contenteditable> abc def hij אבצ דעפ היח opq rst uvw </div>44 <div dir=ltr class="test_move_by_word" title="4 21 14 7|28 7 14 21 4" contenteditable> אבצ דעפ חיח ופק </div>45 <div dir=ltr class="test_move_by_word" title="4 8 15|21 15 8 4" contenteditable> אבצ abc דעפ </div>46 <div dir=ltr class="test_move_by_word" title="4 7 15 22 28 33|40 33 28 22 15 7 4" contenteditable> אבצ דעפ abc def חיח ופק </div>47 <div dir=ltr class="test_move_by_word" title="4 14 7 22 29 35 41 51 46|58 46 51 41 35 29 22 7 14 4" contenteditable> אבצ דעפ חיח abc def jih ופק ופק רסת </div>48 49 <div dir=ltr class="test_move_by_word" title="0 14 7 3|18 3 7 14 0" contenteditable>אבצ דעפ היח ופק</div>50 <div dir=ltr class="test_move_by_word" title="0 7 3 12 19 23|26 23 19 12 3 7 0" contenteditable>אבצ דעפ היח abc def hij</div>51 <div dir=ltr class="test_move_by_word" title="0 4 8 12 22 18 27 34 38|41 38 34 27 18 22 12 8 4 0" contenteditable>abc def hij אבצ דעפ היח opq rst uvw</div>52 53 <div dir=rtl class="test_move_by_word" title="18 3 7 14 0|0 14 7 3" contenteditable>abc def hij opq</div>54 <div dir=rtl class="test_move_by_word" title="28 7 14 21 4|4 21 14 7" contenteditable> abc def hij opq </div>55 <div dir=rtl class="test_move_by_word" title="21 15 8 4|4 8 15" contenteditable> abc אבצ def </div>56 <div dir=rtl class="test_move_by_word" title="42 35 29 22 15 7 4|4 7 15 22 29 35" contenteditable> abc def אבצ דדפ hij opq </div>57 <div dir=rtl class="test_move_by_word" title="63 49 56 43 36 29 22 7 14 4|4 14 7 22 29 36 43 56 49" contenteditable> abc def hij אבצ דעפ היח opq rst uvw </div>58 <div dir=rtl class="test_move_by_word" title="28 22 15 8 4|4 8 15 22" contenteditable> אבצ דעפ חיח ופק </div>59 <div dir=rtl class="test_move_by_word" title="21 15 8 4|4 8 15" contenteditable> אבצ abc דעפ </div>60 <div dir=rtl class="test_move_by_word" title="40 34 28 21 15 8 4|4 8 15 21 28 34" contenteditable> אבצ דעפ abc def חיח ופק </div>61 <div dir=rtl class="test_move_by_word" title="58 52 47 41 28 34 22 15 8 4|4 8 15 22 34 28 41 47 52" contenteditable> אבצ דעפ חיח abc def jih ופק ופק רסת </div>62 63 <!-- multispaces while preserving spaces -->64 <div style="white-space:pre" dir=ltr class="test_move_by_word" title="0 4 11 15|18 15 11 4 0" contenteditable>abc def hij opq</div>65 <div style="white-space:pre" dir=ltr class="test_move_by_word" title="0 4 11 18 25|32 25 18 11 4 0" contenteditable> abc def hij opq </div>66 <div style="white-space:pre" dir=ltr class="test_move_by_word" title="0 4 11 18|25 18 11 4 0" contenteditable> abc אבצ def </div>67 <div style="white-space:pre" dir=ltr class="test_move_by_word" title="0 4 11 18 21 32 39|46 39 32 21 18 11 4 0" contenteditable> abc def אבצ דדפ hij opq </div>68 <div style="white-space:pre" dir=ltr class="test_move_by_word" title="0 4 11 18 25 35 28 46 53 60|67 60 53 46 28 35 25 18 11 4 0" contenteditable> abc def hij אבצ דעפ היח opq rst uvw </div>69 <div style="white-space:pre" dir=ltr class="test_move_by_word" title="0 4 21 14 7|32 7 14 21 4 0" contenteditable> אבצ דעפ חיח ופק </div>70 <div style="white-space:pre" dir=ltr class="test_move_by_word" title="0 4 11 18|26 18 11 4 0" contenteditable> אבצ abc דעפ </div>71 <div style="white-space:pre" dir=ltr class="test_move_by_word" title="0 4 7 18 24 30 33|44 33 30 24 18 7 4 0" contenteditable> אבצ דעפ abc def חיח ופק </div>72 <div style="white-space:pre" dir=ltr class="test_move_by_word" title="0 4 14 7 25 31 37 43 51 46|63 46 51 43 37 31 25 7 14 4 0" contenteditable> אבצ דעפ חיח abc def jih ופק ופק רסת </div>73 74 <div style="white-space:pre" dir=ltr class="test_move_by_word" title="0 14 7 3|18 3 7 14 0" contenteditable>אבצ דעפ היח ופק</div>75 <div style="white-space:pre" dir=ltr class="test_move_by_word" title="0 7 3 15 19 23|26 23 19 15 3 7 0" contenteditable>אבצ דעפ היח abc def hij</div>76 <div style="white-space:pre" dir=ltr class="test_move_by_word" title="0 4 8 15 22 18 30 34 38|41 38 34 30 18 22 15 8 4 0" contenteditable>abc def hij אבצ דעפ היח opq rst uvw</div>77 78 <div style="white-space:pre" dir=rtl class="test_move_by_word" title="18 3 7 14 0|0 14 7 3" contenteditable>abc def hij opq</div>79 <div style="white-space:pre" dir=rtl class="test_move_by_word" title="32 7 14 21 4 0|0 4 21 14 7" contenteditable> abc def hij opq </div>80 <div style="white-space:pre" dir=rtl class="test_move_by_word" title="25 18 11 4 0|0 4 11 18" contenteditable> abc אבצ def </div>81 <div style="white-space:pre" dir=rtl class="test_move_by_word" title="46 35 32 25 18 7 4 0|0 4 7 18 25 32 35" contenteditable> abc def אבצ דדפ hij opq </div>82 <div style="white-space:pre" dir=rtl class="test_move_by_word" title="67 49 56 46 39 32 25 7 14 4 0|0 4 14 7 25 32 39 46 56 49" contenteditable> abc def hij אבצ דעפ היח opq rst uvw </div>83 <div style="white-space:pre" dir=rtl class="test_move_by_word" title="32 25 18 11 4 0|0 4 11 18 25" contenteditable> אבצ דעפ חיח ופק </div>84 <div style="white-space:pre" dir=rtl class="test_move_by_word" title="26 18 11 4 0|0 4 11 18" contenteditable> אבצ abc דעפ </div>85 <div style="white-space:pre" dir=rtl class="test_move_by_word" title="44 37 30 21 18 11 4 0|0 4 11 18 21 30 37" contenteditable> אבצ דעפ abc def חיח ופק </div>86 <div style="white-space:pre" dir=rtl class="test_move_by_word" title="63 55 48 43 28 34 25 18 11 4 0|0 4 11 18 25 34 28 43 48 55" contenteditable> אבצ דעפ חיח abc def jih ופק ופק רסת </div>87 88 <!-- test words not separated by spaces -->89 <div style="white-space:pre" contenteditable dir=ltr class="test_move_by_word" title="0 1 2 3 4 9 10 11 17 21|24 21 17 11 10 9 4 3 2 1 0">人一氧喝大 笑抬的 abc def</div>90 37 91 38 <!-- test multi-line --> -
trunk/LayoutTests/editing/selection/move-by-word-visually-multi-space-expected.txt
r91854 r91864 222 222 Move left by one word 223 223 "䤫䡱暘倎厘 疂崝烵 abc def"[24, 21, 17, 11, 10, 9, 4, 3, 2, 1, 0] 224 Test 44, LTR:225 Move right by one word226 "abc def ghi jkl mn "[0, 4, 8, 12, 16], "opq rst uvw xyz"[0, 4, 8, 12]227 Move left by one word228 "opq rst uvw xyz"[15, 12, 8, 4, 0], "abc def ghi jkl mn "[16, 12, 8, 4, 0]229 Test 45, LTR:230 Move right by one word231 "abc def ghi jkl mn "[0, 4, 8, 12, 16], "opq rst uvw xyz"[0, 4, 8, 12]232 Move left by one word233 "opq rst uvw xyz"[15, 12, 8, 4, 0], "abc def ghi jkl mn "[16, 12, 8, 4, 0]234 Test 46, LTR:235 Move right by one word236 "AAA AAA AAA AAA "[0, 3, 8, 11], "AAA AAA AAA AAA"[0, 3, 8, 11]237 Move left by one word238 "AAA AAA AAA AAA"[15, 11, 8, 3, 0], "AAA AAA AAA AAA "[11, 8, 3, 0]239 Test 47, LTR:240 Move right by one word241 "AAA AAA AAA AAA "[0, 3, 8, 11], "AAA AAA AAA AAA"[0, 3, 8, 11]242 Move left by one word243 "AAA AAA AAA AAA"[15, 11, 8, 3, 0], "AAA AAA AAA AAA "[11, 8, 3, 0]244 Test 48, LTR:245 Move right by one word246 " abc def AAA AAA hij AAA AAA uvw xyz "[1, 5, 9, 12, 17, 21, 25, 29, 33], "AAA kj AAA mn opq AAA AAA"[0, 4, 7, 11, 14, 18, 22, 25]247 Move left by one word248 "AAA kj AAA mn opq AAA AAA"[25, 22, 18, 14, 11, 7, 4, 0], " abc def AAA AAA hij AAA AAA uvw xyz "[33, 29, 25, 21, 17, 12, 9, 5, 1]249 Test 49, LTR:250 Move right by one word251 " abc def AAA AAA hij AAA AAA uvw xyz "[1, 5, 9, 12, 17, 21, 25, 29, 33], "AAA kj AAA mn opq AAA AAA"[0, 4, 7, 11, 14, 18, 22, 25]252 Move left by one word253 "AAA kj AAA mn opq AAA AAA"[25, 22, 18, 14, 11, 7, 4, 0], " abc def AAA AAA hij AAA AAA uvw xyz "[33, 29, 25, 21, 17, 12, 9, 5, 1]254 Test 50, RTL:255 Move left by one word256 "abc def ghi jkl mn "[0, 3, 8, 11, 16], "opq rst uvw xyz"[0, 3, 8, 11]257 Move right by one word258 "opq rst uvw xyz"[15, 11, 8, 3, 0], "abc def ghi jkl mn "[16, 11, 8, 3, 0]259 Test 51, RTL:260 Move left by one word261 "abc def ghi jkl mn "[0, 3, 8, 11, 16, 18], "opq rst uvw xyz"[0, 3, 8, 11]262 Move right by one word263 "opq rst uvw xyz"[15, 11, 8, 3, 0], "abc def ghi jkl mn "[18, 16, 11, 8, 3, 0]264 Test 52, RTL:265 Move left by one word266 "AAA AAA AAA AAA "[0, 4, 8, 12], "AAA AAA AAA AAA"[0, 4, 8, 12]267 Move right by one word268 "AAA AAA AAA AAA"[15, 12, 8, 4, 0], "AAA AAA AAA AAA "[12, 8, 4, 0]269 Test 53, RTL:270 Move left by one word271 "AAA AAA AAA AAA "[0, 4, 8, 12], "AAA AAA AAA AAA"[0, 4, 8, 12]272 Move right by one word273 "AAA AAA AAA AAA"[15, 12, 8, 4, 0], "AAA AAA AAA AAA "[12, 8, 4, 0]274 Test 54, RTL:275 Move left by one word276 " abc def AAA AAA hij AAA AAA uvw xyz "[1, 4, 9, 13, 17, 21, 25, 29, 33], "AAA kj AAA mn opq AAA AAA"[0, 4, 7, 11, 14, 18, 22]277 Move right by one word278 "AAA kj AAA mn opq AAA AAA"[25, 22, 18, 14, 11, 7, 4, 0], " abc def AAA AAA hij AAA AAA uvw xyz "[33, 29, 25, 21, 17, 13, 9, 4, 1]279 Test 55, RTL:280 Move left by one word281 " abc def AAA AAA hij AAA AAA uvw xyz "[1, 4, 9, 13, 17, 21, 25, 29, 33, 36], "AAA kj AAA mn opq AAA AAA"[0, 4, 7, 11, 14, 18, 22]282 Move right by one word283 "AAA kj AAA mn opq AAA AAA"[25, 22, 18, 14, 11, 7, 4, 0], " abc def AAA AAA hij AAA AAA uvw xyz "[36, 33, 29, 25, 21, 17, 13, 9, 4, 1]284 Test 56, LTR:285 Move right by one word286 "abc def "[0, 4]287 Move left by one word288 " hij opq"[8, 5, 1]289 Test 57, LTR:290 Move right by one word291 <DIV>[0]292 Move left by one word293 <DIV>[0]294 Test 58, LTR:295 Move right by one word296 "\n00"[3]297 Move left by one word298 "\n00"[3, 1]299 224 -
trunk/LayoutTests/editing/selection/move-by-word-visually-multi-space.html
r91854 r91864 89 89 <div style="white-space:pre" contenteditable dir=ltr class="test_move_by_word" title="0 1 2 3 4 9 10 11 17 21|24 21 17 11 10 9 4 3 2 1 0">人一氧喝大 笑抬的 abc def</div> 90 90 91 <!-- test multi-line -->92 <div><span class="fix_width" id="span_size">אאא אאא</span></div>93 <div contenteditable dir=ltr id="ml_1" class="test_move_by_word fix_width" title="[ml_1, 0][ml_1, 4][ml_1, 8][ml_1, 12][ml_1, 16][ml_1, 0, 5][ml_1, 4, 5][ml_1, 8, 5][ml_1, 12, 5]|[ml_1, 15, 5][ml_1, 12, 5][ml_1, 8, 5][ml_1, 4, 5][ml_1, 0, 5][ml_1, 16][ml_1, 12][ml_1, 8][ml_1, 4][ml_1, 0]">abc def ghi jkl mn <br/><br/><br/>opq rst uvw xyz</div>94 95 <div contenteditable dir=ltr id="ml_2" class="test_move_by_word fix_width" title="[ml_2, 0][ml_2, 4][ml_2, 8][ml_2, 12][ml_2, 16][ml_2, 0, 5][ml_2, 4, 5][ml_2, 8, 5][ml_2, 12, 5]|[ml_2, 15, 5][ml_2, 12, 5][ml_2, 8, 5][ml_2, 4, 5][ml_2, 0, 5][ml_2, 16][ml_2, 12][ml_2, 8][ml_2, 4][ml_2, 0]">abc def ghi jkl mn <div><br/></div><div><br/></div><div><br/></div>opq rst uvw xyz</div>96 97 <div contenteditable dir=ltr id="ml_3" class="test_move_by_word fix_width" title="[ml_3, 0][ml_3, 3][ml_3, 8][ml_3, 11]][ml_3, 0, 5][ml_3, 3, 5][ml_3, 8, 5][ml_3, 11, 5]|[ml_3, 15, 5][ml_3, 11, 5][ml_3, 8, 5][ml_3, 3, 5][ml_3, 0, 5][ml_3, 11][ml_3, 8][ml_3, 3][ml_3, 0]">אאא אאא אאא אאא <br/><br/><br/>אאא אאא אאא אאא</div>98 99 <div contenteditable dir=ltr id="ml_4" class="test_move_by_word fix_width" title="[ml_4, 0][ml_4, 3][ml_4, 8][ml_4, 11][ml_4, 0, 5][ml_4, 3, 5][ml_4, 8, 5][ml_4, 11, 5]|[ml_4, 15, 5][ml_4, 11, 5][ml_4, 8, 5][ml_4, 3, 5][ml_4, 0, 5][ml_4, 11][ml_4, 8][ml_4, 3][ml_4, 0]">אאא אאא אאא אאא <div><br/></div><div><br/></div><div><br/></div>אאא אאא אאא אאא</div>100 101 <div contenteditable dir=ltr id="ml_5" class="test_move_by_word fix_width" title="[ml_5, 1][ml_5, 5][ml_5, 9][ml_5, 12][ml_5, 17][ml_5, 21][ml_5, 25][ml_5, 29][ml_5, 33][ml_5, 0, 5][ml_5, 4, 5][ml_5, 7, 5][ml_5, 11, 5][ml_5, 14, 5][ml_5, 18, 5][ml_5, 22, 5][ml_5, 25, 5]|[ml_5, 25, 5][ml_5, 22, 5][ml_5, 18, 5][ml_5, 14, 5][ml_5, 11, 5][ml_5, 7, 5][ml_5, 4, 5][ml_5, 0, 5][ml_5, 33][ml_5, 29][ml_5, 25][ml_5, 21][ml_5, 17][ml_5, 12][ml_5, 9][ml_5, 5][ml_5, 1]"> abc def אאא אאא hij אאא אאא uvw xyz <br/><br/><br/>אאא kj אאא mn opq אאא אאא</div>102 103 <div contenteditable dir=ltr id="ml_6" class="test_move_by_word fix_width" title="[ml_6, 1][ml_6, 5][ml_6, 9][ml_6, 12][ml_6, 17][ml_6, 21][ml_6, 25][ml_6, 29][ml_6, 33][ml_6, 0, 5][ml_6, 4, 5][ml_6, 7, 5][ml_6, 11, 5][ml_6, 14, 5][ml_6, 18, 5][ml_6, 22, 5][ml_6, 25, 5]|[ml_6, 25, 5][ml_6, 22, 5][ml_6, 18, 5][ml_6, 14, 5][ml_6, 11, 5][ml_6, 7, 5][ml_6, 4, 5][ml_6, 0, 5][ml_6, 33][ml_6, 29][ml_6, 25][ml_6, 21][ml_6, 17][ml_6, 12][ml_6, 9][ml_6, 5][ml_6, 1]"> abc def אאא אאא hij אאא אאא uvw xyz <div><br/></div><div><br/></div><div><br/></div>אאא kj אאא mn opq אאא אאא</div>104 105 106 <div contenteditable dir=rtl id="ml_7" class="test_move_by_word fix_width" title="[ml_7, 15, 5][ml_7, 11, 5][ml_7, 8, 5][ml_7, 3, 5][ml_7, 0, 5][ml_7, 16][ml_7, 11][ml_7, 8][ml_7, 3][ml_7, 0]|[ml_7, 0][ml_7, 3][ml_7, 8][ml_7, 11][ml_7, 16][ml_7, 0, 5][ml_7, 3, 5][ml_7, 8, 5][ml_7, 11, 5]">abc def ghi jkl mn <br/><br/><br/>opq rst uvw xyz</div>107 108 <div contenteditable dir=rtl id="ml_8" class="test_move_by_word fix_width" title="[ml_8, 15, 5][ml_8, 11, 5][ml_8, 8, 5][ml_8, 3, 5][ml_8, 0, 5][ml_8, 18][ml_8, 16][ml_8, 11][ml_8, 8][ml_8, 3][ml_8, 0]|[ml_8, 0][ml_8, 3][ml_8, 8][ml_8, 11][ml_8, 16][ml_8, 18][ml_8, 0, 5][ml_8, 3, 5][ml_8, 8, 5][ml_8, 11, 5]">abc def ghi jkl mn <div><br/></div><div><br/></div><div><br/></div>opq rst uvw xyz</div>109 110 <div contenteditable dir=rtl id="ml_9" class="test_move_by_word fix_width" title="[ml_9, 15, 5][ml_9, 12, 5][ml_9, 8, 5][ml_9, 4, 5][ml_9, 0, 5][ml_9, 12][ml_9, 8][ml_9, 4][ml_9, 0]|[ml_9, 0][ml_9, 4][ml_9, 8][ml_9, 12][ml_9, 0, 5][ml_9, 4, 5][ml_9, 8, 5][ml_9, 12, 5]">אאא אאא אאא אאא <br/><br/><br/>אאא אאא אאא אאא</div>111 112 <div contenteditable dir=rtl id="ml_10" class="test_move_by_word fix_width" title="[ml_10, 15, 5][ml_10, 12, 5][ml_10, 8, 5][ml_10, 4, 5][ml_10, 0, 5][ml_10, 12][ml_10, 8][ml_10, 4][ml_10, 0]|[ml_10, 0][ml_10, 4][ml_10, 8][ml_10, 12][ml_10, 0, 5][ml_10, 4, 5][ml_10, 8, 5][ml_10, 12, 5]">אאא אאא אאא אאא <div><br/></div><div><br/></div><div><br/></div>אאא אאא אאא אאא</div>113 114 <div contenteditable dir=rtl id="ml_11" class="test_move_by_word fix_width" title="115 [ml_11, 25, 5][ml_11, 22, 5][ml_11, 18, 5][ml_11, 14, 5][ml_11, 11, 5][ml_11, 7, 5][ml_11, 4, 5][ml_11, 0, 5][ml_11, 33][ml_11, 29][ml_11, 25][ml_11, 21][ml_11, 17][ml_11, 13][ml_11, 9][ml_11, 4][ml_11, 1]|[ml_11, 1][ml_11, 4][ml_11, 9][ml_11, 13][ml_11, 17][ml_11, 21][ml_11, 25][ml_11, 29][ml_11, 33][ml_11, 0, 5][ml_11, 4, 5][ml_11, 7, 5][ml_11, 11, 5][ml_11, 14, 5][ml_11, 18, 5][ml_11, 22, 5]116 "> abc def אאא אאא hij אאא אאא uvw xyz <br/><br/><br/>אאא kj אאא mn opq אאא אאא</div>117 118 <div contenteditable dir=rtl id="ml_12" class="test_move_by_word fix_width" title="119 [ml_12, 25, 5][ml_12, 22, 5][ml_12, 18, 5][ml_12, 14, 5][ml_12, 11, 5][ml_12, 7, 5][ml_12, 4, 5][ml_12, 0, 5][ml_12, 36][ml_12, 33][ml_12, 29][ml_12, 25][ml_12, 21][ml_12, 17][ml_12, 13][ml_12, 9][ml_12, 4][ml_12, 1]|[ml_12, 1][ml_12, 4][ml_12, 9][ml_12, 13][ml_12, 17][ml_12, 21][ml_12, 25][ml_12, 29][ml_12, 33][ml_12, 36][ml_12, 0, 5][ml_12, 4, 5][ml_12, 7, 5][ml_12, 11, 5][ml_12, 14, 5][ml_12, 18, 5][ml_12, 22, 5]120 "> abc def אאא אאא hij אאא אאא uvw xyz <div><br/></div><div><br/></div><div><br/></div>אאא kj אאא mn opq אאא אאא</div>121 122 <!-- mixed editability -->123 <div dir=ltr class="test_move_by_word" title="0 4|8 5 1">abc def <span contenteditable> inside span </span> hij opq</div>124 125 <div class="test_move_by_word" contenteditable dir=ltr title="0|0"></div>126 127 <div contenteditable>128 00<base dir=ltr class="test_move_by_word" title="3|3 1">129 </div>130 131 91 </div> 132 92 <pre id="console"></pre> -
trunk/LayoutTests/editing/selection/move-by-word-visually-single-space-inline-element-expected.txt
r91854 r91864 3 3 Test 1, LTR: 4 4 Move right by one word 5 "abc def hij opq rst"[0, 4, 8, 12, 16]6 Move left by one word7 "abc def hij opq rst"[19, 16, 12, 8, 4, 0]8 Test 2, RTL:9 Move left by one word10 "abc def hij opq rst"[0, 15, 11, 7, 3]11 Move right by one word12 "abc def hij opq rst"[19, 3, 7, 11, 15, 0]13 Test 3, LTR:14 Move right by one word15 "ZZZ QQQ BBB CCC XXX"[0, 15, 11, 7, 3]16 Move left by one word17 "ZZZ QQQ BBB CCC XXX"[19, 3, 7, 11, 15, 0]18 Test 4, RTL:19 Move left by one word20 "ZZZ QQQ BBB CCC XXX"[0, 4, 8, 12, 16]21 Move right by one word22 "ZZZ QQQ BBB CCC XXX"[19, 16, 12, 8, 4, 0]23 Test 5, LTR:24 Move right by one word25 "abc def hij AAA BBB WWW opr uvw xyz"[0, 4, 8, 12, 19, 15, 24, 28, 32]26 Move left by one word27 "abc def hij AAA BBB WWW opr uvw xyz"[35, 32, 28, 24, 15, 19, 12, 8, 4, 0]28 Test 6, RTL:29 Move left by one word30 "abc def hij AAA BBB WWW opr uvw xyz"[0, 7, 3, 12, 16, 20, 24, 31, 27]31 Move right by one word32 "abc def hij AAA BBB WWW opr uvw xyz"[35, 27, 31, 24, 20, 16, 12, 3, 7, 0]33 Test 7, LTR:34 Move right by one word35 "abc def ZQB RIG uvw xyz"[0, 4, 8, 11, 16, 20]36 Move left by one word37 "abc def ZQB RIG uvw xyz"[23, 20, 16, 11, 8, 4, 0]38 Test 8, RTL:39 Move left by one word40 "abc def ZQB RIG uvw xyz"[0, 3, 8, 12, 16, 19]41 Move right by one word42 "abc def ZQB RIG uvw xyz"[23, 19, 16, 12, 8, 3, 0]43 Test 9, LTR:44 Move right by one word45 "aaa AAA bbb"[0, 4, 8]46 Move left by one word47 "aaa AAA bbb"[11, 8, 4, 0]48 Test 10, RTL:49 Move left by one word50 "aaa AAA bbb"[0, 4, 8, 11]51 Move right by one word52 "aaa AAA bbb"[11, 8, 4, 0]53 Test 11, LTR:54 Move right by one word55 "AAA BBB WWW aaa bbb ccc DDD SSS UUU"[0, 7, 3, 12, 16, 20, 24, 31, 27]56 Move left by one word57 "AAA BBB WWW aaa bbb ccc DDD SSS UUU"[35, 27, 31, 24, 20, 16, 12, 3, 7, 0]58 Test 12, RTL:59 Move left by one word60 "AAA BBB WWW aaa bbb ccc DDD SSS UUU"[0, 4, 8, 12, 19, 15, 24, 28, 32]61 Move right by one word62 "AAA BBB WWW aaa bbb ccc DDD SSS UUU"[35, 32, 28, 24, 15, 19, 12, 8, 4, 0]63 Test 13, LTR:64 Move right by one word65 "AAA BBB aaa bbb WWW DDD"[0, 3, 8, 12, 16, 19]66 Move left by one word67 "AAA BBB aaa bbb WWW DDD"[23, 19, 16, 12, 8, 3, 0]68 Test 14, RTL:69 Move left by one word70 "AAA BBB aaa bbb WWW DDD"[0, 4, 8, 11, 16, 20]71 Move right by one word72 "AAA BBB aaa bbb WWW DDD"[23, 20, 16, 11, 8, 4, 0]73 Test 15, LTR:74 Move right by one word75 "ZQB abc RIG"[0, 4, 8, 11]76 Move left by one word77 "ZQB abc RIG"[11, 8, 4, 0]78 Test 16, RTL:79 Move left by one word80 "ZQB abc RIG"[0, 4, 8]81 Move right by one word82 "ZQB abc RIG"[11, 8, 4, 0]83 Test 17, LTR:84 Move right by one word85 5 "AAA "[0, 3] 86 6 Move left by one word 87 7 "BB"[2], "AAA "[3, 0] 88 Test 18, RTL:8 Test 2, RTL: 89 9 Move left by one word 90 10 "AAA "[0, 4] 91 11 Move right by one word 92 12 "BB"[2], "AAA "[4, 0] 93 Test 19, LTR:13 Test 3, LTR: 94 14 Move right by one word 95 15 "abc def "[0, 4, 8], "hij opq"[4], " rst uvw"[1, 5] 96 16 Move left by one word 97 17 " rst uvw"[8, 5, 1], "hij opq"[4], "abc def "[8, 4, 0] 98 Test 20, RTL:18 Test 4, RTL: 99 19 Move left by one word 100 20 "abc def "[0], " rst uvw"[4], "hij opq"[3], "abc def "[7, 3] FAIL expected: ["abc def "[ 0, ]" rst uvw"[ 4, ]"hij opq"[ 7, 3, ]"abc def "[ 7, 3] … … 109 29 "hij opq"[5], " rst uvw"[4] FAIL expected "hij opq"[ 7] 110 30 "hij opq"[6], " rst uvw"[4] FAIL expected "hij opq"[ 7] 111 Test 21, RTL:31 Test 5, RTL: 112 32 Move left by one word 113 33 "abc def "[0], " rst uvw"[4], "hij opq"[3], "abc def "[7, 3] FAIL expected: ["abc def "[ 0, ]" rst uvw"[ 4, ]"hij opq"[ 7, 3, ]"abc def "[ 7, 3] … … 122 42 "hij opq"[5], " rst uvw"[4] FAIL expected "hij opq"[ 7] 123 43 "hij opq"[6], " rst uvw"[4] FAIL expected "hij opq"[ 7] 124 Test 22, LTR:44 Test 6, LTR: 125 45 Move right by one word 126 46 "abc def "[0, 4, 8], "hij opq"[4], " rst uvw"[1, 5] 127 47 Move left by one word 128 48 " rst uvw"[8, 5, 1], "hij opq"[4], "abc def "[8, 4, 0] 129 Test 23, RTL:49 Test 7, RTL: 130 50 Move left by one word 131 51 "ABD DSU "[0, 4, 8], "EJH FUX"[4], "FFZ LIG"[4] 132 52 Move right by one word 133 53 "FFZ LIG"[7, 4], "EJH FUX"[4], "ABD DSU "[8, 4, 0] 134 Test 24, LTR:54 Test 8, LTR: 135 55 Move right by one word 136 56 "ABD DSU "[0], "FFZ LIG"[3], "EJH FUX"[3], "ABD DSU "[7, 3] 137 57 Move left by one word 138 58 "FFZ LIG"[7], "ABD DSU "[3, 7], "EJH FUX"[3], "FFZ LIG"[3], "ABD DSU "[0] 139 Test 25, RTL:59 Test 9, RTL: 140 60 Move left by one word 141 61 "ABD DSU "[0, 4, 8], "EJH FUX"[4], "FFZ LIG"[4] 142 62 Move right by one word 143 63 "FFZ LIG"[7, 4], "EJH FUX"[4], "ABD DSU "[8, 4, 0] 144 Test 26, LTR:64 Test 10, LTR: 145 65 Move right by one word 146 66 "ABD DSU "[0], "FFZ LIG"[3], "EJH FUX"[3], "ABD DSU "[7, 3] 147 67 Move left by one word 148 68 "FFZ LIG"[7], "ABD DSU "[3, 7], "EJH FUX"[3], "FFZ LIG"[3], "ABD DSU "[0] 149 Test 27, RTL:69 Test 11, RTL: 150 70 Move left by one word 151 71 "ABD DSU "[0, 4, 8], "abc def"[3], "FFZ LIG"[4] 152 72 Move right by one word 153 73 "FFZ LIG"[7, 4], "abc def"[3], "ABD DSU "[8, 4, 0] 154 Test 28, LTR:74 Test 12, LTR: 155 75 Move right by one word 156 76 "ABD DSU "[0], "FFZ LIG"[3], "ABD DSU "[8], "abc def"[4], "ABD DSU "[7, 3] … … 161 81 "FFZ LIG"[5, 5] FAIL expected "ABD DSU "[ 0] 162 82 "FFZ LIG"[6, 6] FAIL expected "ABD DSU "[ 0] 163 Test 29, RTL:83 Test 13, RTL: 164 84 Move left by one word 165 85 "ABD DSU "[0, 4, 8], "abc def"[3], "FFZ LIG"[4] 166 86 Move right by one word 167 87 "FFZ LIG"[7, 4], "abc def"[3], "ABD DSU "[8, 4, 0] 168 Test 30, LTR:88 Test 14, LTR: 169 89 Move right by one word 170 90 "ABD DSU "[0, 3, 8], "abc def"[4], "FFZ LIG"[3] 171 91 Move left by one word 172 92 "FFZ LIG"[7, 3], "abc def"[4], "ABD DSU "[8, 3, 0] 173 Test 31, RTL:93 Test 15, RTL: 174 94 Move left by one word 175 95 "ABD opq DSU "[0, 4, 8, 12], "abc AAA def"[8, 4, 3], "FFZ rst LIG"[4, 8] FAIL expected: ["ABD opq DSU "[ 0, 4, 8, 12, ]"abc AAA def"[ 4, 3, ]"FFZ rst LIG"[ 4, 8] … … 180 100 "FFZ rst LIG"[11, 8, 4], "abc AAA def"[3, 4, 8], "ABD opq DSU "[12, 8, 4, 0] FAIL expected: ["FFZ rst LIG"[ 11, 8, 4, ]"abc AAA def"[ 3, 4, ]"ABD opq DSU "[ 12, 8, 4, 0] 181 101 "abc AAA def"[4, 8] FAIL expected "ABD opq DSU "[ 12] 182 Test 32, LTR:102 Test 16, LTR: 183 103 Move right by one word 184 104 "ABD opq DSU "[0, 4], "abc AAA def"[8, 4], "ABD opq DSU "[12, 11], "FFZ rst LIG"[4, 8, 11] FAIL expected: ["ABD opq DSU "[ 0, 4, 8, ]"abc AAA def"[ 8, 7, ]"ABD opq DSU "[ 12, 11, ]"FFZ rst LIG"[ 4, 8, 11] … … 199 119 "FFZ rst LIG"[1], "ABD opq DSU "[4] FAIL expected "ABD opq DSU "[ 8] 200 120 "FFZ rst LIG"[2], "ABD opq DSU "[4] FAIL expected "ABD opq DSU "[ 8] 201 Test 33, RTL:121 Test 17, RTL: 202 122 Move left by one word 203 123 "ABD opq DSU "[0, 4, 8, 12], "abc AAA def"[4, 8], "FFZ rst LIG"[4, 8] 204 124 Move right by one word 205 125 "FFZ rst LIG"[11, 8, 4], "abc AAA def"[8, 4], "ABD opq DSU "[12, 8, 4, 0] 206 Test 34, LTR:126 Test 18, LTR: 207 127 Move right by one word 208 128 "ABD opq DSU "[0, 4, 8, 12], "abc AAA def"[4, 8], "FFZ rst LIG"[4, 8, 11] 209 129 Move left by one word 210 130 "FFZ rst LIG"[11, 8, 4], "abc AAA def"[8, 4], "ABD opq DSU "[12, 8, 4, 0] 211 Test 35, LTR:131 Test 19, LTR: 212 132 Move right by one word 213 133 "aaa "[0, 4], "bbb AAA "[4, 7] 214 134 Move left by one word 215 135 "FFZ"[3], "bbb AAA "[7, 4], "aaa "[4, 0] 216 Test 36, RTL:136 Test 20, RTL: 217 137 Move left by one word 218 138 "ABD opq rst DSU "[0, 4, 7, 12, 16], "abc uvw AAA def lmn"[12, 8, 7, 3], "ABW hij xyz FXX"[4, 7, 12] FAIL expected: ["ABD opq rst DSU "[ 0, 4, 7, 12, 16, ]"abc uvw AAA def lmn"[ 15, 8, 7, 3, ]"ABW hij xyz FXX"[ 4, 7, 12] -
trunk/LayoutTests/editing/selection/move-by-word-visually-single-space-inline-element.html
r91854 r91864 35 35 where child_node_index is optional, default is the first child of the anchor node. 36 36 --> 37 <!-- pure English -->38 <div dir=ltr class="test_move_by_word" title="0 4 8 12 16|19 16 12 8 4 0" contenteditable>abc def hij opq rst</div>39 <div dir=rtl class="test_move_by_word" title="19 3 7 11 15 0|0 15 11 7 3" contenteditable>abc def hij opq rst</div>40 41 <!-- pure Hebrew -->42 <div dir=ltr class="test_move_by_word" title="0 15 11 7 3|19 3 7 11 15 0" contenteditable>ששש נננ בבב גגג קקק</div>43 <div dir=rtl class="test_move_by_word" title="19 16 12 8 4 0|0 4 8 12 16" contenteditable>ששש נננ בבב גגג קקק</div>44 45 <!-- bidi text -->46 <!-- English Hebrew English -->47 <div dir=ltr class="test_move_by_word" title="0 4 8 12 19 15 24 28 32|35 32 28 24 15 19 12 8 4 0" contenteditable>abc def hij אאא בבב צצצ opr uvw xyz</div>48 <div dir=rtl class="test_move_by_word" title="35 27 31 24 20 16 12 3 7 0|0 7 3 12 16 20 24 31 27" contenteditable>abc def hij אאא בבב צצצ opr uvw xyz</div>49 50 <div dir=ltr class="test_move_by_word" title="0 4 8 11 16 20|23 20 16 11 8 4 0" contenteditable>abc def שנב סטז uvw xyz</div>51 <div dir=rtl class="test_move_by_word" title="23 19 16 12 8 3 0|0 3 8 12 16 19" contenteditable>abc def שנב סטז uvw xyz</div>52 53 <div dir=ltr class="test_move_by_word" title="0 4 8|11 8 4 0" contenteditable>aaa אאא bbb</div>54 <div dir=rtl class="test_move_by_word" title="11 8 4 0|0 4 8 11" contenteditable>aaa אאא bbb</div>55 56 <!-- Hebrew English Hebrew -->57 <div dir=ltr class="test_move_by_word" title="0 7 3 12 16 20 24 31 27|35 27 31 24 20 16 12 3 7 0" contenteditable>אאא בבב צצצ aaa bbb ccc דדד עעע פפפ</div>58 <div dir=rtl class="test_move_by_word" title="35 32 28 24 15 19 12 8 4 0|0 4 8 12 19 15 24 28 32" contenteditable>אאא בבב צצצ aaa bbb ccc דדד עעע פפפ</div>59 60 <div dir=ltr class="test_move_by_word" title="0 3 8 12 16 19|23 19 16 12 8 3 0" contenteditable>אאא בבב aaa bbb צצצ דדד</div>61 <div dir=rtl class="test_move_by_word" title="23 20 16 11 8 4 0|0 4 8 11 16 20" contenteditable>אאא בבב aaa bbb צצצ דדד</div>62 63 <div dir=ltr class="test_move_by_word" title="0 4 8 11|11 8 4 0" contenteditable>שנב abc סטז</div>64 <div dir=rtl class="test_move_by_word" title="11 8 4 0|0 4 8" contenteditable>שנב abc סטז</div>65 66 37 <!-- Inline element --> 67 38 <div dir=ltr id="d_1" class="test_move_by_word" title="[d_1, 0][d_1, 3]|[s_1, 2][d_1, 3][d_1,0]" contenteditable>אאא <span id="s_1">בב</span></div> -
trunk/LayoutTests/editing/selection/move-by-word-visually-single-space-one-element-expected.txt
r91854 r91864 81 81 Move right by one word 82 82 "ZQB abc RIG"[11, 8, 4, 0] 83 Test 17, LTR:84 Move right by one word85 "AAA "[0, 3]86 Move left by one word87 "BB"[2], "AAA "[3, 0]88 Test 18, RTL:89 Move left by one word90 "AAA "[0, 4]91 Move right by one word92 "BB"[2], "AAA "[4, 0]93 Test 19, LTR:94 Move right by one word95 "abc def "[0, 4, 8], "hij opq"[4], " rst uvw"[1, 5]96 Move left by one word97 " rst uvw"[8, 5, 1], "hij opq"[4], "abc def "[8, 4, 0]98 Test 20, RTL:99 Move left by one word100 "abc def "[0], " rst uvw"[4], "hij opq"[3], "abc def "[7, 3] FAIL expected: ["abc def "[ 0, ]" rst uvw"[ 4, ]"hij opq"[ 7, 3, ]"abc def "[ 7, 3]101 " rst uvw"[4], "hij opq"[3] FAIL expected "hij opq"[ 7]102 " rst uvw"[3], "hij opq"[3] FAIL expected "hij opq"[ 7]103 " rst uvw"[2], "hij opq"[3] FAIL expected "hij opq"[ 7]104 " rst uvw"[1], "hij opq"[3] FAIL expected "hij opq"[ 7]105 Move right by one word106 " rst uvw"[8], "abc def "[3, 7], "hij opq"[3], " rst uvw"[4], "abc def "[0] FAIL expected: [" rst uvw"[ 8, ]"abc def "[ 3, 7, ]"hij opq"[ 3, 7, ]" rst uvw"[ 4, ]"abc def "[ 0]107 "hij opq"[3], " rst uvw"[4] FAIL expected "hij opq"[ 7]108 "hij opq"[4], " rst uvw"[4] FAIL expected "hij opq"[ 7]109 "hij opq"[5], " rst uvw"[4] FAIL expected "hij opq"[ 7]110 "hij opq"[6], " rst uvw"[4] FAIL expected "hij opq"[ 7]111 Test 21, RTL:112 Move left by one word113 "abc def "[0], " rst uvw"[4], "hij opq"[3], "abc def "[7, 3] FAIL expected: ["abc def "[ 0, ]" rst uvw"[ 4, ]"hij opq"[ 7, 3, ]"abc def "[ 7, 3]114 " rst uvw"[4], "hij opq"[3] FAIL expected "hij opq"[ 7]115 " rst uvw"[3], "hij opq"[3] FAIL expected "hij opq"[ 7]116 " rst uvw"[2], "hij opq"[3] FAIL expected "hij opq"[ 7]117 " rst uvw"[1], "hij opq"[3] FAIL expected "hij opq"[ 7]118 Move right by one word119 " rst uvw"[8], "abc def "[3, 7], "hij opq"[3], " rst uvw"[4], "abc def "[0] FAIL expected: [" rst uvw"[ 8, ]"abc def "[ 3, 7, ]"hij opq"[ 3, 7, ]" rst uvw"[ 4, ]"abc def "[ 0]120 "hij opq"[3], " rst uvw"[4] FAIL expected "hij opq"[ 7]121 "hij opq"[4], " rst uvw"[4] FAIL expected "hij opq"[ 7]122 "hij opq"[5], " rst uvw"[4] FAIL expected "hij opq"[ 7]123 "hij opq"[6], " rst uvw"[4] FAIL expected "hij opq"[ 7]124 Test 22, LTR:125 Move right by one word126 "abc def "[0, 4, 8], "hij opq"[4], " rst uvw"[1, 5]127 Move left by one word128 " rst uvw"[8, 5, 1], "hij opq"[4], "abc def "[8, 4, 0]129 Test 23, RTL:130 Move left by one word131 "ABD DSU "[0, 4, 8], "EJH FUX"[4], "FFZ LIG"[4]132 Move right by one word133 "FFZ LIG"[7, 4], "EJH FUX"[4], "ABD DSU "[8, 4, 0]134 Test 24, LTR:135 Move right by one word136 "ABD DSU "[0], "FFZ LIG"[3], "EJH FUX"[3], "ABD DSU "[7, 3]137 Move left by one word138 "FFZ LIG"[7], "ABD DSU "[3, 7], "EJH FUX"[3], "FFZ LIG"[3], "ABD DSU "[0]139 Test 25, RTL:140 Move left by one word141 "ABD DSU "[0, 4, 8], "EJH FUX"[4], "FFZ LIG"[4]142 Move right by one word143 "FFZ LIG"[7, 4], "EJH FUX"[4], "ABD DSU "[8, 4, 0]144 Test 26, LTR:145 Move right by one word146 "ABD DSU "[0], "FFZ LIG"[3], "EJH FUX"[3], "ABD DSU "[7, 3]147 Move left by one word148 "FFZ LIG"[7], "ABD DSU "[3, 7], "EJH FUX"[3], "FFZ LIG"[3], "ABD DSU "[0]149 Test 27, RTL:150 Move left by one word151 "ABD DSU "[0, 4, 8], "abc def"[3], "FFZ LIG"[4]152 Move right by one word153 "FFZ LIG"[7, 4], "abc def"[3], "ABD DSU "[8, 4, 0]154 Test 28, LTR:155 Move right by one word156 "ABD DSU "[0], "FFZ LIG"[3], "ABD DSU "[8], "abc def"[4], "ABD DSU "[7, 3]157 Move left by one word158 "FFZ LIG"[7], "ABD DSU "[3, 7], "abc def"[4], "ABD DSU "[8], "FFZ LIG"[3] FAIL expected: ["FFZ LIG"[ 7, ]"ABD DSU "[ 3, 7, ]"abc def"[ 4, ]"ABD DSU "[ 8, ]"FFZ LIG"[ 3, ]"ABD DSU "[ 0]159 "FFZ LIG"[3, 3] FAIL expected "ABD DSU "[ 0]160 "FFZ LIG"[4, 4] FAIL expected "ABD DSU "[ 0]161 "FFZ LIG"[5, 5] FAIL expected "ABD DSU "[ 0]162 "FFZ LIG"[6, 6] FAIL expected "ABD DSU "[ 0]163 Test 29, RTL:164 Move left by one word165 "ABD DSU "[0, 4, 8], "abc def"[3], "FFZ LIG"[4]166 Move right by one word167 "FFZ LIG"[7, 4], "abc def"[3], "ABD DSU "[8, 4, 0]168 Test 30, LTR:169 Move right by one word170 "ABD DSU "[0, 3, 8], "abc def"[4], "FFZ LIG"[3]171 Move left by one word172 "FFZ LIG"[7, 3], "abc def"[4], "ABD DSU "[8, 3, 0]173 Test 31, RTL:174 Move left by one word175 "ABD opq DSU "[0, 4, 8, 12], "abc AAA def"[8, 4, 3], "FFZ rst LIG"[4, 8] FAIL expected: ["ABD opq DSU "[ 0, 4, 8, 12, ]"abc AAA def"[ 4, 3, ]"FFZ rst LIG"[ 4, 8]176 "ABD opq DSU "[12], "abc AAA def"[8] FAIL expected "abc AAA def"[ 4]177 "abc AAA def"[10, 8] FAIL expected "abc AAA def"[ 4]178 "abc AAA def"[9, 8] FAIL expected "abc AAA def"[ 4]179 Move right by one word180 "FFZ rst LIG"[11, 8, 4], "abc AAA def"[3, 4, 8], "ABD opq DSU "[12, 8, 4, 0] FAIL expected: ["FFZ rst LIG"[ 11, 8, 4, ]"abc AAA def"[ 3, 4, ]"ABD opq DSU "[ 12, 8, 4, 0]181 "abc AAA def"[4, 8] FAIL expected "ABD opq DSU "[ 12]182 Test 32, LTR:183 Move right by one word184 "ABD opq DSU "[0, 4], "abc AAA def"[8, 4], "ABD opq DSU "[12, 11], "FFZ rst LIG"[4, 8, 11] FAIL expected: ["ABD opq DSU "[ 0, 4, 8, ]"abc AAA def"[ 8, 7, ]"ABD opq DSU "[ 12, 11, ]"FFZ rst LIG"[ 4, 8, 11]185 "ABD opq DSU "[4], "abc AAA def"[8] FAIL expected "ABD opq DSU "[ 8]186 "ABD opq DSU "[5], "abc AAA def"[8] FAIL expected "ABD opq DSU "[ 8]187 "ABD opq DSU "[6], "abc AAA def"[8] FAIL expected "ABD opq DSU "[ 8]188 "ABD opq DSU "[7], "abc AAA def"[8] FAIL expected "ABD opq DSU "[ 8]189 "abc AAA def"[8, 4] FAIL expected "abc AAA def"[ 7]190 "abc AAA def"[9, 4] FAIL expected "abc AAA def"[ 7]191 "abc AAA def"[10, 4] FAIL expected "abc AAA def"[ 7]192 "abc AAA def"[11, 4] FAIL expected "abc AAA def"[ 7]193 "abc AAA def"[7, 4] FAIL expected "ABD opq DSU "[ 12]194 "abc AAA def"[6, 4] FAIL expected "ABD opq DSU "[ 12]195 "abc AAA def"[5, 4] FAIL expected "ABD opq DSU "[ 12]196 Move left by one word197 "FFZ rst LIG"[11, 8, 4], "ABD opq DSU "[11, 12], "abc AAA def"[7, 8], "ABD opq DSU "[4, 0] FAIL expected: ["FFZ rst LIG"[ 11, 8, 4, ]"ABD opq DSU "[ 11, 12, ]"abc AAA def"[ 7, 8, ]"ABD opq DSU "[ 8, 4, 0]198 "abc AAA def"[8], "ABD opq DSU "[4] FAIL expected "ABD opq DSU "[ 8]199 "FFZ rst LIG"[1], "ABD opq DSU "[4] FAIL expected "ABD opq DSU "[ 8]200 "FFZ rst LIG"[2], "ABD opq DSU "[4] FAIL expected "ABD opq DSU "[ 8]201 Test 33, RTL:202 Move left by one word203 "ABD opq DSU "[0, 4, 8, 12], "abc AAA def"[4, 8], "FFZ rst LIG"[4, 8]204 Move right by one word205 "FFZ rst LIG"[11, 8, 4], "abc AAA def"[8, 4], "ABD opq DSU "[12, 8, 4, 0]206 Test 34, LTR:207 Move right by one word208 "ABD opq DSU "[0, 4, 8, 12], "abc AAA def"[4, 8], "FFZ rst LIG"[4, 8, 11]209 Move left by one word210 "FFZ rst LIG"[11, 8, 4], "abc AAA def"[8, 4], "ABD opq DSU "[12, 8, 4, 0]211 Test 35, LTR:212 Move right by one word213 "aaa "[0, 4], "bbb AAA "[4, 7]214 Move left by one word215 "FFZ"[3], "bbb AAA "[7, 4], "aaa "[4, 0]216 Test 36, RTL:217 Move left by one word218 "ABD opq rst DSU "[0, 4, 7, 12, 16], "abc uvw AAA def lmn"[12, 8, 7, 3], "ABW hij xyz FXX"[4, 7, 12] FAIL expected: ["ABD opq rst DSU "[ 0, 4, 7, 12, 16, ]"abc uvw AAA def lmn"[ 15, 8, 7, 3, ]"ABW hij xyz FXX"[ 4, 7, 12]219 "ABD opq rst DSU "[16], "abc uvw AAA def lmn"[12] FAIL expected "abc uvw AAA def lmn"[ 15]220 "abc uvw AAA def lmn"[18, 12] FAIL expected "abc uvw AAA def lmn"[ 15]221 "abc uvw AAA def lmn"[17, 12] FAIL expected "abc uvw AAA def lmn"[ 15]222 "abc uvw AAA def lmn"[16, 12] FAIL expected "abc uvw AAA def lmn"[ 15]223 "abc uvw AAA def lmn"[15, 12] FAIL expected "abc uvw AAA def lmn"[ 8]224 "abc uvw AAA def lmn"[14, 12] FAIL expected "abc uvw AAA def lmn"[ 8]225 "abc uvw AAA def lmn"[13, 12] FAIL expected "abc uvw AAA def lmn"[ 8]226 Move right by one word227 "ABW hij xyz FXX"[15, 12, 7, 4], "abc uvw AAA def lmn"[3, 7, 8, 15], "ABD opq rst DSU "[16, 12, 7, 4, 0]228 83 -
trunk/LayoutTests/editing/selection/move-by-word-visually-single-space-one-element.html
r91854 r91864 64 64 <div dir=rtl class="test_move_by_word" title="11 8 4 0|0 4 8" contenteditable>שנב abc סטז</div> 65 65 66 <!-- Inline element -->67 <div dir=ltr id="d_1" class="test_move_by_word" title="[d_1, 0][d_1, 3]|[s_1, 2][d_1, 3][d_1,0]" contenteditable>אאא <span id="s_1">בב</span></div>68 <div dir=rtl id="d_2" class="test_move_by_word" title="[s_2, 2][d_2, 4][d_2, 0]|[d_2, 0][d_2, 4]" contenteditable>אאא <span id="s_2">בב</span></div>69 70 <!-- pure English in inline element with same or different directionality from its parent -->71 <div dir=ltr id="d_3" class="test_move_by_word" title="[d_3, 0][d_3, 4][d_3, 8][s_3, 4][d_3, 1, 3][d_3, 5, 3]|[d_3, 8, 3][d_3, 5, 3][d_3, 1, 3][s_3, 4][d_3, 8][d_3, 4][d_3, 0]" contenteditable>abc def <span id="s_3">hij opq</span> rst uvw</div>72 73 <!-- FAILED -->74 <div dir=rtl id="d_4" class="test_move_by_word" title="[d_4, 8, 3][d_4, 3, 1][d_4, 7, 1][s_4, 3, 1][s_4, 7, 1][d_4, 4, 3][d_4, 0, 1]|[d_4, 0, 1][d_4, 4, 3][s_4, 7, 1][s_4, 3, 1][d_4, 7, 1][d_4, 3, 1]" contenteditable>abc def <span id="s_4">hij opq</span> rst uvw</div>75 76 <!-- FAILED. The render result is the same as d_4. -->77 <div id="d_5" dir=rtl class="test_move_by_word" title="[d_5, 8, 3][d_5, 3, 1][d_5, 7, 1][s_5, 3, 1][s_5, 7, 1][d_5, 4, 3][d_5, 0, 1]|[d_5, 0, 1][d_5, 4, 3][s_5, 7, 1][s_5, 3, 1][d_5, 7, 1][d_5, 3, 1]"contenteditable>abc def <span dir=ltr id="s_5">hij opq</span> rst uvw</div>78 79 <div id="d_6" dir=ltr class="test_move_by_word" title="[d_6, 0, 1][d_6, 4, 1][d_6, 8, 1][s_6, 4, 1][d_6, 1, 3][d_6, 5, 3]|[d_6, 8, 3][d_6, 5, 3][d_6, 1, 3][s_6, 4, 1][d_6, 8, 1][d_6, 4, 1][d_6, 0, 1]" contenteditable>abc def <span dir=rtl id="s_6">hij opq</span> rst uvw</div>80 81 <!-- pure Hebrew in inline element with same or different directionality from its parent -->82 83 <div id="d_7" dir=rtl class="test_move_by_word" title="[d_7, 7, 3][d_7, 4, 3][s_7, 4, 1][d_7, 8, 1][d_7, 4, 1][d_7, 0, 1]|[d_7, 0, 1][d_7, 4, 1][d_7, 8, 1][s_7, 4, 1][d_7, 4, 3]" contenteditable>אבד דעפ <span dir=ltr id="s_7">היח ופק</span>ווש כטז</div>84 85 <div id="d_8" dir=ltr class="test_move_by_word" title="[d_8, 0, 1][d_8, 3, 3][s_8, 3, 1][d_8, 7, 1][d_8, 3, 1]|[d_8, 7, 3][d_8, 3, 1][d_8, 7, 1][s_8, 3, 1][d_8, 3, 3][d_8, 0, 1]" contenteditable>אבד דעפ <span dir=rtl id="s_8">היח ופק</span>ווש כטז</div>86 87 <div id="d_9" dir=rtl class="test_move_by_word" title="[d_9, 7, 3][d_9, 4, 3][s_9, 4, 1][d_9, 8, 1][d_9, 4, 1][d_9, 0, 1]|[d_9, 0, 1][d_9, 4, 1][d_9, 8, 1][s_9, 4, 1][d_9, 4, 3]" contenteditable>אבד דעפ <span id="s_9">היח ופק</span>ווש כטז</div>88 89 <div id="d_10" dir=ltr class="test_move_by_word" title="[d_10, 0, 1][d_10, 3, 3][s_10, 3, 1][d_10, 7, 1][d_10, 3, 1]|[d_10, 7, 3][d_10, 3, 1][d_10, 7, 1][s_10, 3, 1][d_10, 3, 3][d_10, 0, 1]" contenteditable>אבד דעפ <span id="s_10">היח ופק</span>ווש כטז</div>90 91 <!-- bidi in inline element with same or different directionality from its parent -->92 <div id="d_11" dir=rtl class="test_move_by_word" title="[d_11, 7, 3][d_11, 4, 3][s_11, 3, 1][d_11, 8, 1][d_11, 4, 1][d_11, 0, 1]|[d_11, 0, 1][d_11, 4, 1][d_11, 8, 1][s_11, 3, 1][d_11, 4, 3]" contenteditable>אבד דעפ <span dir=ltr id="s_11">abc def</span>ווש כטז</div>93 94 <!-- FAIL -->95 <div id="d_12" dir=ltr class="test_move_by_word" title="[d_12, 0, 1][d_12, 3, 3][d_12, 8, 1][s_12, 4, 1][d_12, 7, 1][d_12, 3, 1]|[d_12, 7, 3][d_12, 3, 1][d_12, 7, 1][s_12, 4, 1][d_12, 8, 1][d_12, 3, 3][d_12, 0]" contenteditable>אבד דעפ <span dir=rtl id="s_12">abc def</span>ווש כטז</div>96 97 <div id="d_13" dir=rtl class="test_move_by_word" title="[d_13, 7, 3][d_13, 4, 3][s_13, 3, 1][d_13, 8, 1][d_13, 4, 1][d_13, 0, 1]|[d_13, 0, 1][d_13, 4, 1][d_13, 8, 1][s_13, 3, 1][d_13, 4, 3]" contenteditable>אבד דעפ <span id="s_13">abc def</span>ווש כטז</div>98 99 <div id="d_14" dir=ltr class="test_move_by_word" title="[d_14, 0, 1][d_14, 3, 1][d_14, 8, 1][s_14, 4, 1][d_14, 3, 3]|[d_14, 7, 3][d_14, 3, 3][s_14, 4, 1][d_14, 8, 1][d_14, 3, 1][d_14, 0, 1]" contenteditable>אבד דעפ <span id="s_14">abc def</span>ווש כטז</div>100 101 <!-- FAILED -->102 <div id="d_15" dir=rtl class="test_move_by_word" title="[d_15, 11, 3][d_15, 8, 3][d_15, 4, 3][s_15, 3, 1][s_15, 4, 1][d_15, 12, 1][d_15, 8, 1][d_15, 4, 1][d_15, 0, 1]|[d_15, 0, 1][d_15, 4, 1][d_15, 8, 1][d_15, 12, 1][s_15, 4, 1][s_15, 3, 1][d_15, 4, 3][d_15, 8, 3]" contenteditable>אבד opq דעפ <span dir=ltr id="s_15">abc אאא def</span>ווש rst כטז</div>103 104 <!-- FAILED, and wrong printing result -->105 <div id="d_16" dir=ltr class="test_move_by_word" title="[d_16, 0, 1][d_16, 4, 1][d_16, 8, 1][s_16, 8, 1][s_16, 7, 1][d_16, 12, 1][d_16, 11, 1][d_16, 4, 3][d_16, 8, 3][d_16, 11, 3]|[d_16, 11, 3][d_16, 8, 3][d_16, 4, 3][d_16, 11, 1][d_16, 12, 1][s_16, 7, 1][s_16, 8, 1][d_16, 8, 1][d_16, 4, 1][d_16, 0, 1]" contenteditable>אבד opq דעפ <span dir=rtl id="s_16">abc אאא def</span>ווש rst כטז</div>106 107 <!-- FAILED -->108 <div id="d_17" dir=rtl class="test_move_by_word" title="[d_17, 11, 3][d_17, 8, 3][d_17, 4, 3][s_17, 8, 1][s_17, 4, 1][d_17, 12, 1][d_17, 8, 1][d_17, 4, 1][d_17, 0, 1]|[d_17, 0, 1][d_17, 4, 1][d_17, 8, 1][d_17, 12, 1][s_17, 4, 1][s_17, 8, 1][d_17, 4, 3][d_17, 8, 3]" contenteditable>אבד opq דעפ <span id="s_17">abc אאא def</span>ווש rst כטז</div>109 110 <div id="d_18" dir=ltr class="test_move_by_word" title="[d_18, 0, 1][d_18, 4, 1][d_18, 8, 1][d_18, 12, 1][s_18, 4, 1][s_18, 8, 1][d_18, 4, 3][d_18, 8, 3][d_18, 11, 3]|[d_18, 11, 3][d_18, 8, 3][d_18, 4, 3][s_18, 8, 1][s_18, 4, 1][d_18, 12, 1][d_18, 8, 1][d_18, 4, 1][d_18, 0, 1]" contenteditable>אבד opq דעפ <span id="s_18">abc אאא def</span>ווש rst כטז</div>111 112 <div id="d_19" dir=ltr class="test_move_by_word" title="[d_19, 0, 1][d_19, 4, 1][s_19, 4, 1][s_19, 7, 1]|[d_19, 3, 3][s_19, 7, 1][s_19, 4, 1][d_19, 4, 1][d_19, 0, 1]" contenteditable>aaa <span id="s_19">bbb אאא </span>ווש</div>113 114 <div id="d_20" dir=rtl class="test_move_by_word" title="[d_20, 15, 3][d_20, 12, 3][d_20, 7, 3][d_20, 4, 3][s_20, 3, 1][s_20, 7, 1][s_20, 8, 1][s_20, 15, 1][d_20, 16, 1][d_20, 12, 1][d_20, 7, 1][d_20, 4, 1][d_20, 0, 1]|[d_20, 0, 1][d_20, 4, 1][d_20, 7, 1][d_20, 12, 1][d_20, 16, 1][s_20, 15, 1][s_20, 8, 1][s_20, 7, 1][s_20, 3, 1][d_20, 4, 3][d_20, 7, 3][d_20, 12, 3]" contenteditable>אבד opq rst דעפ <span dir=ltr id="s_20">abc uvw אאא def lmn</span>אבצ hij xyz וקק</div>115 116 66 </div> 117 67 <pre id="console"></pre> -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r91859 r91864 3892 3892 BUGWK65219 WIN : webaudio/test-basic.html = PASS CRASH 3893 3893 3894 BUGWK65241 DEBUG : editing/selection/move-by-word-visually-others.html = TIMEOUT PASS3895 BUGWK65241 DEBUG : editing/selection/move-by-word-visually-single-space-sigle-line.html = TIMEOUT PASS -
trunk/LayoutTests/platform/qt/Skipped
r91853 r91864 2383 2383 2384 2384 # https://bugs.webkit.org/show_bug.cgi?id=59265 2385 editing/selection/move-by-word-visually-others.html 2386 editing/selection/move-by-word-visually-single-space-sigle-line.html 2385 editing/selection/move-by-word-visually-multi-line.html 2386 editing/selection/move-by-word-visually-multi-space.html 2387 editing/selection/move-by-word-visually-null-box.html 2388 editing/selection/move-by-word-visually-single-space-inline-element.html 2389 editing/selection/move-by-word-visually-single-space-one-element.html 2387 2390 2388 2391 # [Qt] New tests introduced in r84742 fail
Note:
See TracChangeset
for help on using the changeset viewer.