Changeset 180178 in webkit
- Timestamp:
- Feb 16, 2015 3:11:23 PM (9 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r180176 r180178 1 2015-02-16 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Update fast/dom/{Element,Range}/getClientRects.html after r177774 4 https://bugs.webkit.org/show_bug.cgi?id=141665 5 6 Reviewed by Alexey Proskuryakov. 7 8 Line breaking is different due to different text metrics. 9 10 * fast/dom/Element/getClientRects-expected.txt: 11 * fast/dom/Element/getClientRects.html: 12 * fast/dom/Range/getClientRects-expected.txt: 13 * fast/dom/Range/getClientRects.html: 14 * platform/mac/TestExpectations: 15 1 16 2015-02-13 Myles C. Maxfield <mmaxfield@apple.com> 2 17 -
trunk/LayoutTests/fast/dom/Element/getClientRects-expected.txt
r48806 r180178 18 18 19 19 Client bounding rects for #7 20 PASS testRects.length is 1 020 PASS testRects.length is 11 21 21 22 22 Client bounding rects for #8 … … 24 24 25 25 Client bounding rects for #9 26 FAIL testRects.length should be 2. Was 1. 26 PASS testRects.length is 1 27 27 28 28 Client bounding rects for #10 -
trunk/LayoutTests/fast/dom/Element/getClientRects.html
r155265 r180178 129 129 1, 130 130 1, 131 1 0,131 11, 132 132 1, 133 2,133 1, 134 134 1, 135 135 1, -
trunk/LayoutTests/fast/dom/Range/getClientRects-expected.txt
r152871 r180178 7 7 PASS rects[1].left is 8 8 8 PASS rects[1].top is 19 9 PASS rects[1].width is 3 969 PASS rects[1].width is 387 10 10 PASS rects[1].height is 18 11 11 PASS rects[2].left is 8 12 12 PASS rects[2].top is 59 13 PASS rects[2].width is 3 9813 PASS rects[2].width is 360 14 14 PASS rects[2].height is 18 15 15 PASS rects[3].left is 8 16 16 PASS rects[3].top is 99 17 PASS rects[3].width is 3 6017 PASS rects[3].width is 382 18 18 PASS rects[3].height is 18 19 19 PASS rects[4].left is 8 20 20 PASS rects[4].top is 139 21 PASS rects[4].width is 3 0621 PASS rects[4].width is 369 22 22 PASS rects[4].height is 18 23 23 Test 2 … … 25 25 PASS rects[0].left is 8 26 26 PASS rects[0].top is 215 27 PASS rects[0].width is 3 9627 PASS rects[0].width is 387 28 28 PASS rects[0].height is 18 29 29 PASS rects[1].left is 8 30 30 PASS rects[1].top is 255 31 PASS rects[1].width is 3 9831 PASS rects[1].width is 360 32 32 PASS rects[1].height is 18 33 33 PASS rects[2].left is 8 34 34 PASS rects[2].top is 295 35 PASS rects[2].width is 3 6035 PASS rects[2].width is 382 36 36 PASS rects[2].height is 18 37 37 PASS rects[3].left is 8 38 38 PASS rects[3].top is 335 39 PASS rects[3].width is 3 0639 PASS rects[3].width is 369 40 40 PASS rects[3].height is 18 41 41 Test 3 42 42 PASS rects.length is 4 43 PASS rects[0].left is 8 043 PASS rects[0].left is 81 44 44 PASS rects[0].top is 411 45 PASS rects[0].width is 3 2445 PASS rects[0].width is 314 46 46 PASS rects[0].height is 18 47 47 PASS rects[1].left is 8 48 48 PASS rects[1].top is 451 49 PASS rects[1].width is 3 9849 PASS rects[1].width is 360 50 50 PASS rects[1].height is 18 51 51 PASS rects[2].left is 8 52 52 PASS rects[2].top is 491 53 PASS rects[2].width is 3 6053 PASS rects[2].width is 382 54 54 PASS rects[2].height is 18 55 55 PASS rects[3].left is 8 56 56 PASS rects[3].top is 531 57 PASS rects[3].width is 8857 PASS rects[3].width is 147 58 58 PASS rects[3].height is 18 59 59 Test 4 … … 65 65 PASS rects[1].left is 8 66 66 PASS rects[1].top is 607 67 PASS rects[1].width is 3 9667 PASS rects[1].width is 387 68 68 PASS rects[1].height is 18 69 69 PASS rects[2].left is 8 70 70 PASS rects[2].top is 725 71 PASS rects[2].width is 2 4272 PASS rects[2].height is 18 73 PASS rects[3].left is 3 2671 PASS rects[2].width is 269 72 PASS rects[2].height is 18 73 PASS rects[3].left is 352 74 74 PASS rects[3].top is 725 75 PASS rects[3].width is 4 475 PASS rects[3].width is 46 76 76 PASS rects[3].height is 18 77 77 PASS rects[4].left is 8 78 78 PASS rects[4].top is 765 79 PASS rects[4].width is 34 179 PASS rects[4].width is 349 80 80 PASS rects[4].height is 18 81 81 PASS rects[5].left is 8 82 82 PASS rects[5].top is 805 83 PASS rects[5].width is 3 6683 PASS rects[5].width is 376 84 84 PASS rects[5].height is 18 85 85 PASS rects[6].left is 8 86 86 PASS rects[6].top is 845 87 PASS rects[6].width is 6 787 PASS rects[6].width is 68 88 88 PASS rects[6].height is 18 89 89 Test 5 90 90 PASS rects.length is 5 91 PASS rects[0].left is 8 091 PASS rects[0].left is 81 92 92 PASS rects[0].top is 921 93 PASS rects[0].width is 3 2493 PASS rects[0].width is 314 94 94 PASS rects[0].height is 18 95 95 PASS rects[1].left is 8 96 96 PASS rects[1].top is 1039 97 PASS rects[1].width is 2 4298 PASS rects[1].height is 18 99 PASS rects[2].left is 2 5097 PASS rects[1].width is 269 98 PASS rects[1].height is 18 99 PASS rects[2].left is 276 100 100 PASS rects[2].top is 950 101 PASS rects[2].width is 7 6101 PASS rects[2].width is 77 102 102 PASS rects[2].height is 103 103 PASS rects[3].left is 3 26103 PASS rects[3].left is 352 104 104 PASS rects[3].top is 1039 105 PASS rects[3].width is 4 4105 PASS rects[3].width is 46 106 106 PASS rects[3].height is 18 107 107 PASS rects[4].left is 8 108 108 PASS rects[4].top is 1079 109 PASS rects[4].width is 2 84109 PASS rects[4].width is 291 110 110 PASS rects[4].height is 18 111 111 Test 6 112 PASS rects.length is 7112 PASS rects.length is 8 113 113 PASS rects[0].left is 8 114 114 PASS rects[0].top is 1224 115 115 PASS rects[0].width is 400 116 PASS rects[0].height is 2 00116 PASS rects[0].height is 240 117 117 PASS rects[1].left is 8 118 118 PASS rects[1].top is 1235 119 PASS rects[1].width is 3 96119 PASS rects[1].width is 387 120 120 PASS rects[1].height is 18 121 121 PASS rects[2].left is 8 122 122 PASS rects[2].top is 1275 123 PASS rects[2].width is 57124 PASS rects[2].height is 18 125 PASS rects[3].left is 105126 PASS rects[3].top is 1 275127 PASS rects[3].width is 44128 PASS rects[3].height is 18 129 PASS rects[4].left is 8123 PASS rects[2].width is 16 124 PASS rects[2].height is 18 125 PASS rects[3].left is 8 126 PASS rects[3].top is 1315 127 PASS rects[3].width is 59 128 PASS rects[3].height is 18 129 PASS rects[4].left is 106 130 130 PASS rects[4].top is 1315 131 PASS rects[4].width is 387131 PASS rects[4].width is 46 132 132 PASS rects[4].height is 18 133 133 PASS rects[5].left is 8 … … 137 137 PASS rects[6].left is 8 138 138 PASS rects[6].top is 1395 139 PASS rects[6].width is 171139 PASS rects[6].width is 360 140 140 PASS rects[6].height is 18 141 PASS rects[7].left is 8 142 PASS rects[7].top is 1435 143 PASS rects[7].width is 222 144 PASS rects[7].height is 18 141 145 Test 7 142 PASS rects.length is 7143 PASS rects[0].left is 8 144 PASS rects[0].top is 1 471145 PASS rects[0].width is 3 96146 PASS rects[0].height is 18 147 PASS rects[1].left is 8 148 PASS rects[1].top is 15 00149 PASS rects[1].width is 400150 PASS rects[1].height is 40151 PASS rects[2].left is 8 152 PASS rects[2].top is 15 11153 PASS rects[2].width is 57154 PASS rects[2].height is 18155 PASS rects[3].left is 105156 PASS rects[3].top is 15 11157 PASS rects[3].width is 44158 PASS rects[3].height is 18 159 PASS rects[4].left is 8160 PASS rects[4].top is 15 51161 PASS rects[4].width is 387146 PASS rects.length is 8 147 PASS rects[0].left is 8 148 PASS rects[0].top is 1511 149 PASS rects[0].width is 387 150 PASS rects[0].height is 18 151 PASS rects[1].left is 8 152 PASS rects[1].top is 1551 153 PASS rects[1].width is 16 154 PASS rects[1].height is 18 155 PASS rects[2].left is 8 156 PASS rects[2].top is 1580 157 PASS rects[2].width is 400 158 PASS rects[2].height is 40 159 PASS rects[3].left is 8 160 PASS rects[3].top is 1591 161 PASS rects[3].width is 59 162 PASS rects[3].height is 18 163 PASS rects[4].left is 106 164 PASS rects[4].top is 1591 165 PASS rects[4].width is 46 162 166 PASS rects[4].height is 18 163 167 PASS rects[5].left is 8 164 PASS rects[5].top is 1 591168 PASS rects[5].top is 1631 165 169 PASS rects[5].width is 397 166 170 PASS rects[5].height is 18 167 171 PASS rects[6].left is 8 168 PASS rects[6].top is 16 31169 PASS rects[6].width is 171172 PASS rects[6].top is 1671 173 PASS rects[6].width is 360 170 174 PASS rects[6].height is 18 175 PASS rects[7].left is 8 176 PASS rects[7].top is 1711 177 PASS rects[7].width is 222 178 PASS rects[7].height is 18 171 179 Test 8 172 180 PASS rects.length is 4 173 181 PASS rects[0].left is 168 174 PASS rects[0].top is 1 678175 PASS rects[0].width is 26 9176 PASS rects[0].height is 3 16182 PASS rects[0].top is 1758 183 PASS rects[0].width is 263 184 PASS rects[0].height is 309 177 185 PASS rects[1].left is 137 178 PASS rects[1].top is 17 04179 PASS rects[1].width is 2 71180 PASS rects[1].height is 317186 PASS rects[1].top is 1784 187 PASS rects[1].width is 247 188 PASS rects[1].height is 288 181 189 PASS rects[2].left is 107 182 PASS rects[2].top is 1 729183 PASS rects[2].width is 2 46184 PASS rects[2].height is 289190 PASS rects[2].top is 1809 191 PASS rects[2].width is 260 192 PASS rects[2].height is 305 185 193 PASS rects[3].left is 76 186 PASS rects[3].top is 1 755187 PASS rects[3].width is 2 12188 PASS rects[3].height is 2 47194 PASS rects[3].top is 1835 195 PASS rects[3].width is 252 196 PASS rects[3].height is 295 189 197 Test 9 190 FAIL rects.length should be 1. Was 0. 191 FAIL rects[0].left should be 8. Threw exception TypeError: undefined is not an object (evaluating 'rects[0].left') 192 FAIL rects[0].top should be 1903. Threw exception TypeError: undefined is not an object (evaluating 'rects[0].top') 193 FAIL rects[0].width should be 0. Threw exception TypeError: undefined is not an object (evaluating 'rects[0].width') 194 FAIL rects[0].height should be 18. Threw exception TypeError: undefined is not an object (evaluating 'rects[0].height') 198 PASS rects.length is 0 195 199 Test 9b 196 200 PASS rects.length is 1 197 201 PASS rects[0].left is 8 198 PASS rects[0].top is 19 03202 PASS rects[0].top is 1983 199 203 PASS rects[0].width is 0 200 204 PASS rects[0].height is 18 201 205 Test 10 202 PASS rects.length is 4206 PASS rects.length is 5 203 207 PASS rects[0].left is 19 204 PASS rects[0].top is 2 088208 PASS rects[0].top is 2168 205 209 PASS rects[0].width is 18 206 PASS rects[0].height is 3 93210 PASS rects[0].height is 375 207 211 PASS rects[1].left is 59 208 PASS rects[1].top is 2 088212 PASS rects[1].top is 2168 209 213 PASS rects[1].width is 18 210 PASS rects[1].height is 3 77214 PASS rects[1].height is 368 211 215 PASS rects[2].left is 99 212 PASS rects[2].top is 2 088216 PASS rects[2].top is 2168 213 217 PASS rects[2].width is 18 214 PASS rects[2].height is 3 72218 PASS rects[2].height is 349 215 219 PASS rects[3].left is 139 216 PASS rects[3].top is 2 088220 PASS rects[3].top is 2168 217 221 PASS rects[3].width is 18 218 PASS rects[3].height is 360 222 PASS rects[3].height is 376 223 PASS rects[4].left is 179 224 PASS rects[4].top is 2168 225 PASS rects[4].width is 18 226 PASS rects[4].height is 68 219 227 Test 11 220 228 PASS rects.length is 2 221 229 PASS rects[0].left is 8 222 PASS rects[0].top is 2 524230 PASS rects[0].top is 2604 223 231 PASS rects[0].width is 400 224 232 PASS rects[0].height is 40 225 233 PASS rects[1].left is 8 226 PASS rects[1].top is 2 535227 PASS rects[1].width is 1 77234 PASS rects[1].top is 2615 235 PASS rects[1].width is 182 228 236 PASS rects[1].height is 18 229 237 Test 12 230 238 PASS rects.length is 1 231 239 PASS rects[0].left is 8 232 PASS rects[0].top is 2 760240 PASS rects[0].top is 2840 233 241 PASS rects[0].width is 400 234 242 PASS rects[0].height is 160 … … 236 244 PASS rects.length is 4 237 245 PASS rects[0].left is 8 238 PASS rects[0].top is 2967239 PASS rects[0].width is 3 96240 PASS rects[0].height is 18 241 PASS rects[1].left is 8 242 PASS rects[1].top is 30 07243 PASS rects[1].width is 3 98244 PASS rects[1].height is 18 245 PASS rects[2].left is 8 246 PASS rects[2].top is 3 047247 PASS rects[2].width is 3 60248 PASS rects[2].height is 18 249 PASS rects[3].left is 8 250 PASS rects[3].top is 3 087251 PASS rects[3].width is 3 06246 PASS rects[0].top is 3047 247 PASS rects[0].width is 387 248 PASS rects[0].height is 18 249 PASS rects[1].left is 8 250 PASS rects[1].top is 3087 251 PASS rects[1].width is 360 252 PASS rects[1].height is 18 253 PASS rects[2].left is 8 254 PASS rects[2].top is 3127 255 PASS rects[2].width is 382 256 PASS rects[2].height is 18 257 PASS rects[3].left is 8 258 PASS rects[3].top is 3167 259 PASS rects[3].width is 369 252 260 PASS rects[3].height is 18 253 261 Test 14 -
trunk/LayoutTests/fast/dom/Range/getClientRects.html
r155265 r180178 139 139 shouldBe("rects[1].left", "8"); 140 140 shouldBe("rects[1].top", "19"); 141 shouldBe("rects[1].width", "3 96");141 shouldBe("rects[1].width", "387"); 142 142 shouldBe("rects[1].height", "18"); 143 143 shouldBe("rects[2].left", "8"); 144 144 shouldBe("rects[2].top", "59"); 145 shouldBe("rects[2].width", "3 98");145 shouldBe("rects[2].width", "360"); 146 146 shouldBe("rects[2].height", "18"); 147 147 shouldBe("rects[3].left", "8"); 148 148 shouldBe("rects[3].top", "99"); 149 shouldBe("rects[3].width", "3 60");149 shouldBe("rects[3].width", "382"); 150 150 shouldBe("rects[3].height", "18"); 151 151 shouldBe("rects[4].left", "8"); 152 152 shouldBe("rects[4].top", "139"); 153 shouldBe("rects[4].width", "3 06");153 shouldBe("rects[4].width", "369"); 154 154 shouldBe("rects[4].height", "18"); 155 155 … … 163 163 shouldBe("rects[0].left", "8"); 164 164 shouldBe("rects[0].top", "215"); 165 shouldBe("rects[0].width", "3 96");165 shouldBe("rects[0].width", "387"); 166 166 shouldBe("rects[0].height", "18"); 167 167 shouldBe("rects[1].left", "8"); 168 168 shouldBe("rects[1].top", "255"); 169 shouldBe("rects[1].width", "3 98");169 shouldBe("rects[1].width", "360"); 170 170 shouldBe("rects[1].height", "18"); 171 171 shouldBe("rects[2].left", "8"); 172 172 shouldBe("rects[2].top", "295"); 173 shouldBe("rects[2].width", "3 60");173 shouldBe("rects[2].width", "382"); 174 174 shouldBe("rects[2].height", "18"); 175 175 shouldBe("rects[3].left", "8"); 176 176 shouldBe("rects[3].top", "335"); 177 shouldBe("rects[3].width", "3 06");177 shouldBe("rects[3].width", "369"); 178 178 shouldBe("rects[3].height", "18"); 179 179 … … 186 186 rects = range3.getClientRects(); 187 187 shouldBe("rects.length", "4"); 188 shouldBe("rects[0].left", "8 0");188 shouldBe("rects[0].left", "81"); 189 189 shouldBe("rects[0].top", "411"); 190 shouldBe("rects[0].width", "3 24");190 shouldBe("rects[0].width", "314"); 191 191 shouldBe("rects[0].height", "18"); 192 192 shouldBe("rects[1].left", "8"); 193 193 shouldBe("rects[1].top", "451"); 194 shouldBe("rects[1].width", "3 98");194 shouldBe("rects[1].width", "360"); 195 195 shouldBe("rects[1].height", "18"); 196 196 shouldBe("rects[2].left", "8"); 197 197 shouldBe("rects[2].top", "491"); 198 shouldBe("rects[2].width", "3 60");198 shouldBe("rects[2].width", "382"); 199 199 shouldBe("rects[2].height", "18"); 200 200 shouldBe("rects[3].left", "8"); 201 201 shouldBe("rects[3].top", "531"); 202 shouldBe("rects[3].width", " 88");202 shouldBe("rects[3].width", "147"); 203 203 shouldBe("rects[3].height", "18"); 204 204 … … 216 216 shouldBe("rects[1].left", "8"); 217 217 shouldBe("rects[1].top", "607"); 218 shouldBe("rects[1].width", "3 96");218 shouldBe("rects[1].width", "387"); 219 219 shouldBe("rects[1].height", "18"); 220 220 shouldBe("rects[2].left", "8"); 221 221 shouldBe("rects[2].top", "725"); 222 shouldBe("rects[2].width", "2 42");223 shouldBe("rects[2].height", "18"); 224 shouldBe("rects[3].left", "3 26");222 shouldBe("rects[2].width", "269"); 223 shouldBe("rects[2].height", "18"); 224 shouldBe("rects[3].left", "352"); 225 225 shouldBe("rects[3].top", "725"); 226 shouldBe("rects[3].width", "4 4");226 shouldBe("rects[3].width", "46"); 227 227 shouldBe("rects[3].height", "18"); 228 228 shouldBe("rects[4].left", "8"); 229 229 shouldBe("rects[4].top", "765"); 230 shouldBe("rects[4].width", "34 1");230 shouldBe("rects[4].width", "349"); 231 231 shouldBe("rects[4].height", "18"); 232 232 shouldBe("rects[5].left", "8"); 233 233 shouldBe("rects[5].top", "805"); 234 shouldBe("rects[5].width", "3 66");234 shouldBe("rects[5].width", "376"); 235 235 shouldBe("rects[5].height", "18"); 236 236 shouldBe("rects[6].left", "8"); 237 237 shouldBe("rects[6].top", "845"); 238 shouldBe("rects[6].width", "6 7");238 shouldBe("rects[6].width", "68"); 239 239 shouldBe("rects[6].height", "18"); 240 240 … … 247 247 rects = range5.getClientRects(); 248 248 shouldBe("rects.length", "5"); 249 shouldBe("rects[0].left", "8 0");249 shouldBe("rects[0].left", "81"); 250 250 shouldBe("rects[0].top", "921"); 251 shouldBe("rects[0].width", "3 24");251 shouldBe("rects[0].width", "314"); 252 252 shouldBe("rects[0].height", "18"); 253 253 shouldBe("rects[1].left", "8"); 254 254 shouldBe("rects[1].top", "1039"); 255 shouldBe("rects[1].width", "2 42");256 shouldBe("rects[1].height", "18"); 257 shouldBe("rects[2].left", "2 50");255 shouldBe("rects[1].width", "269"); 256 shouldBe("rects[1].height", "18"); 257 shouldBe("rects[2].left", "276"); 258 258 shouldBe("rects[2].top", "950"); 259 shouldBe("rects[2].width", "7 6");259 shouldBe("rects[2].width", "77"); 260 260 shouldBe("rects[2].height", "103"); 261 shouldBe("rects[3].left", "3 26");261 shouldBe("rects[3].left", "352"); 262 262 shouldBe("rects[3].top", "1039"); 263 shouldBe("rects[3].width", "4 4");263 shouldBe("rects[3].width", "46"); 264 264 shouldBe("rects[3].height", "18"); 265 265 shouldBe("rects[4].left", "8"); 266 266 shouldBe("rects[4].top", "1079"); 267 shouldBe("rects[4].width", "2 84");267 shouldBe("rects[4].width", "291"); 268 268 shouldBe("rects[4].height", "18"); 269 269 … … 274 274 show(range6); 275 275 rects = range6.getClientRects(); 276 shouldBe("rects.length", " 7");276 shouldBe("rects.length", "8"); 277 277 shouldBe("rects[0].left", "8"); 278 278 shouldBe("rects[0].top", "1224"); 279 279 shouldBe("rects[0].width", "400"); 280 shouldBe("rects[0].height", "2 00");280 shouldBe("rects[0].height", "240"); 281 281 shouldBe("rects[1].left", "8"); 282 282 shouldBe("rects[1].top", "1235"); 283 shouldBe("rects[1].width", "3 96");283 shouldBe("rects[1].width", "387"); 284 284 shouldBe("rects[1].height", "18"); 285 285 shouldBe("rects[2].left", "8"); 286 286 shouldBe("rects[2].top", "1275"); 287 shouldBe("rects[2].width", " 57");288 shouldBe("rects[2].height", "18"); 289 shouldBe("rects[3].left", " 105");290 shouldBe("rects[3].top", "1 275");291 shouldBe("rects[3].width", " 44");292 shouldBe("rects[3].height", "18"); 293 shouldBe("rects[4].left", " 8");287 shouldBe("rects[2].width", "16"); 288 shouldBe("rects[2].height", "18"); 289 shouldBe("rects[3].left", "8"); 290 shouldBe("rects[3].top", "1315"); 291 shouldBe("rects[3].width", "59"); 292 shouldBe("rects[3].height", "18"); 293 shouldBe("rects[4].left", "106"); 294 294 shouldBe("rects[4].top", "1315"); 295 shouldBe("rects[4].width", " 387");295 shouldBe("rects[4].width", "46"); 296 296 shouldBe("rects[4].height", "18"); 297 297 shouldBe("rects[5].left", "8"); … … 301 301 shouldBe("rects[6].left", "8"); 302 302 shouldBe("rects[6].top", "1395"); 303 shouldBe("rects[6].width", " 171");303 shouldBe("rects[6].width", "360"); 304 304 shouldBe("rects[6].height", "18"); 305 shouldBe("rects[7].left", "8"); 306 shouldBe("rects[7].top", "1435"); 307 shouldBe("rects[7].width", "222"); 308 shouldBe("rects[7].height", "18"); 305 309 306 310 // Test 7 - Should include green but not blue box … … 310 314 show(range7); 311 315 rects = range7.getClientRects(); 312 shouldBe("rects.length", " 7");313 shouldBe("rects[0].left", "8"); 314 shouldBe("rects[0].top", "1 471");315 shouldBe("rects[0].width", "3 96");316 shouldBe("rects[0].height", "18"); 317 shouldBe("rects[1].left", "8"); 318 shouldBe("rects[1].top", "15 00");319 shouldBe("rects[1].width", " 400");320 shouldBe("rects[1].height", " 40");321 shouldBe("rects[2].left", "8"); 322 shouldBe("rects[2].top", "15 11");323 shouldBe("rects[2].width", " 57");324 shouldBe("rects[2].height", " 18");325 shouldBe("rects[3].left", " 105");326 shouldBe("rects[3].top", "15 11");327 shouldBe("rects[3].width", " 44");328 shouldBe("rects[3].height", "18"); 329 shouldBe("rects[4].left", " 8");330 shouldBe("rects[4].top", "15 51");331 shouldBe("rects[4].width", " 387");316 shouldBe("rects.length", "8"); 317 shouldBe("rects[0].left", "8"); 318 shouldBe("rects[0].top", "1511"); 319 shouldBe("rects[0].width", "387"); 320 shouldBe("rects[0].height", "18"); 321 shouldBe("rects[1].left", "8"); 322 shouldBe("rects[1].top", "1551"); 323 shouldBe("rects[1].width", "16"); 324 shouldBe("rects[1].height", "18"); 325 shouldBe("rects[2].left", "8"); 326 shouldBe("rects[2].top", "1580"); 327 shouldBe("rects[2].width", "400"); 328 shouldBe("rects[2].height", "40"); 329 shouldBe("rects[3].left", "8"); 330 shouldBe("rects[3].top", "1591"); 331 shouldBe("rects[3].width", "59"); 332 shouldBe("rects[3].height", "18"); 333 shouldBe("rects[4].left", "106"); 334 shouldBe("rects[4].top", "1591"); 335 shouldBe("rects[4].width", "46"); 332 336 shouldBe("rects[4].height", "18"); 333 337 shouldBe("rects[5].left", "8"); 334 shouldBe("rects[5].top", "1 591");338 shouldBe("rects[5].top", "1631"); 335 339 shouldBe("rects[5].width", "397"); 336 340 shouldBe("rects[5].height", "18"); 337 341 shouldBe("rects[6].left", "8"); 338 shouldBe("rects[6].top", "16 31");339 shouldBe("rects[6].width", " 171");342 shouldBe("rects[6].top", "1671"); 343 shouldBe("rects[6].width", "360"); 340 344 shouldBe("rects[6].height", "18"); 345 shouldBe("rects[7].left", "8"); 346 shouldBe("rects[7].top", "1711"); 347 shouldBe("rects[7].width", "222"); 348 shouldBe("rects[7].height", "18"); 341 349 342 350 // Test 8 … … 348 356 shouldBe("rects.length", "4"); 349 357 shouldBe("rects[0].left", "168"); 350 shouldBe("rects[0].top", "1 678");351 shouldBe("rects[0].width", "26 9");352 shouldBe("rects[0].height", "3 16");358 shouldBe("rects[0].top", "1758"); 359 shouldBe("rects[0].width", "263"); 360 shouldBe("rects[0].height", "309"); 353 361 shouldBe("rects[1].left", "137"); 354 shouldBe("rects[1].top", "17 04");355 shouldBe("rects[1].width", "2 71");356 shouldBe("rects[1].height", " 317");362 shouldBe("rects[1].top", "1784"); 363 shouldBe("rects[1].width", "247"); 364 shouldBe("rects[1].height", "288"); 357 365 shouldBe("rects[2].left", "107"); 358 shouldBe("rects[2].top", "1 729");359 shouldBe("rects[2].width", "2 46");360 shouldBe("rects[2].height", " 289");366 shouldBe("rects[2].top", "1809"); 367 shouldBe("rects[2].width", "260"); 368 shouldBe("rects[2].height", "305"); 361 369 shouldBe("rects[3].left", "76"); 362 shouldBe("rects[3].top", "1 755");363 shouldBe("rects[3].width", "2 12");364 shouldBe("rects[3].height", "2 47");370 shouldBe("rects[3].top", "1835"); 371 shouldBe("rects[3].width", "252"); 372 shouldBe("rects[3].height", "295"); 365 373 366 374 debug("Test 9"); … … 370 378 show(range9); 371 379 rects = range9.getClientRects(); 372 shouldBe("rects.length", "1"); 373 shouldBe("rects[0].left", "8"); 374 shouldBe("rects[0].top", "1903"); 375 shouldBe("rects[0].width", "0"); 376 shouldBe("rects[0].height", "18"); 380 shouldBe("rects.length", "0"); 377 381 378 382 debug("Test 9b"); … … 383 387 shouldBe("rects.length", "1"); 384 388 shouldBe("rects[0].left", "8"); 385 shouldBe("rects[0].top", "19 03");389 shouldBe("rects[0].top", "1983"); 386 390 shouldBe("rects[0].width", "0"); 387 391 shouldBe("rects[0].height", "18"); … … 393 397 show(range10); 394 398 rects = range10.getClientRects(); 395 shouldBe("rects.length", " 4");399 shouldBe("rects.length", "5"); 396 400 shouldBe("rects[0].left", "19"); 397 shouldBe("rects[0].top", "2 088");401 shouldBe("rects[0].top", "2168"); 398 402 shouldBe("rects[0].width", "18"); 399 shouldBe("rects[0].height", "3 93");403 shouldBe("rects[0].height", "375"); 400 404 shouldBe("rects[1].left", "59"); 401 shouldBe("rects[1].top", "2 088");405 shouldBe("rects[1].top", "2168"); 402 406 shouldBe("rects[1].width", "18"); 403 shouldBe("rects[1].height", "3 77");407 shouldBe("rects[1].height", "368"); 404 408 shouldBe("rects[2].left", "99"); 405 shouldBe("rects[2].top", "2 088");409 shouldBe("rects[2].top", "2168"); 406 410 shouldBe("rects[2].width", "18"); 407 shouldBe("rects[2].height", "3 72");411 shouldBe("rects[2].height", "349"); 408 412 shouldBe("rects[3].left", "139"); 409 shouldBe("rects[3].top", "2 088");413 shouldBe("rects[3].top", "2168"); 410 414 shouldBe("rects[3].width", "18"); 411 shouldBe("rects[3].height", "360"); 415 shouldBe("rects[3].height", "376"); 416 shouldBe("rects[4].left", "179"); 417 shouldBe("rects[4].top", "2168"); 418 shouldBe("rects[4].width", "18"); 419 shouldBe("rects[4].height", "68"); 412 420 413 421 // Test 11 … … 420 428 shouldBe("rects.length", "2"); 421 429 shouldBe("rects[0].left", "8"); 422 shouldBe("rects[0].top", "2 524");430 shouldBe("rects[0].top", "2604"); 423 431 shouldBe("rects[0].width", "400"); 424 432 shouldBe("rects[0].height", "40"); 425 433 shouldBe("rects[1].left", "8"); 426 shouldBe("rects[1].top", "2 535");427 shouldBe("rects[1].width", "1 77");434 shouldBe("rects[1].top", "2615"); 435 shouldBe("rects[1].width", "182"); 428 436 shouldBe("rects[1].height", "18"); 429 437 … … 437 445 shouldBe("rects.length", "1"); 438 446 shouldBe("rects[0].left", "8"); 439 shouldBe("rects[0].top", "2 760");447 shouldBe("rects[0].top", "2840"); 440 448 shouldBe("rects[0].width", "400"); 441 449 shouldBe("rects[0].height", "160"); … … 450 458 shouldBe("rects.length", "4"); 451 459 shouldBe("rects[0].left", "8"); 452 shouldBe("rects[0].top", " 2967");453 shouldBe("rects[0].width", "3 96");454 shouldBe("rects[0].height", "18"); 455 shouldBe("rects[1].left", "8"); 456 shouldBe("rects[1].top", "30 07");457 shouldBe("rects[1].width", "3 98");458 shouldBe("rects[1].height", "18"); 459 shouldBe("rects[2].left", "8"); 460 shouldBe("rects[2].top", "3 047");461 shouldBe("rects[2].width", "3 60");462 shouldBe("rects[2].height", "18"); 463 shouldBe("rects[3].left", "8"); 464 shouldBe("rects[3].top", "3 087");465 shouldBe("rects[3].width", "3 06");460 shouldBe("rects[0].top", "3047"); 461 shouldBe("rects[0].width", "387"); 462 shouldBe("rects[0].height", "18"); 463 shouldBe("rects[1].left", "8"); 464 shouldBe("rects[1].top", "3087"); 465 shouldBe("rects[1].width", "360"); 466 shouldBe("rects[1].height", "18"); 467 shouldBe("rects[2].left", "8"); 468 shouldBe("rects[2].top", "3127"); 469 shouldBe("rects[2].width", "382"); 470 shouldBe("rects[2].height", "18"); 471 shouldBe("rects[3].left", "8"); 472 shouldBe("rects[3].top", "3167"); 473 shouldBe("rects[3].width", "369"); 466 474 shouldBe("rects[3].height", "18"); 467 475 -
trunk/LayoutTests/platform/mac/TestExpectations
r180172 r180178 1267 1267 # The following tests' expected results don't look like render tree dumps 1268 1268 webkit.org/b/139968 editing/selection/fake-drag.html [ Failure ] 1269 webkit.org/b/139968 fast/dom/Element/getClientRects.html [ Failure ]1270 webkit.org/b/139968 fast/dom/Range/getClientRects.html [ Failure ]1271 1269 webkit.org/b/139968 fast/regions/cssom/get-regions-by-content-horiz-bt.html [ Failure ] 1272 1270 webkit.org/b/139968 fast/regions/cssom/get-regions-by-content-horiz-tb.html [ Failure ]
Note: See TracChangeset
for help on using the changeset viewer.