Changeset 69939 in webkit
- Timestamp:
- Oct 17, 2010 9:02:16 PM (14 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r69937 r69939 1 2010-10-17 Antonio Gomes <agomes@rim.com> 2 3 Reviewed by Simon Fraser. 4 5 Enrich /fast/dom/nodesFromRect-basic.html test 6 https://bugs.webkit.org/show_bug.cgi?id=47766 7 8 The patch makes fast/dom/nodesFromRect-basic.html test more precise: 9 instead of calling nodesFromRect always with equal vertical (up and down) and 10 horizontal (right and left) padding values, it are now tests it by passing 11 different padding values on the various directions. 12 13 It is now possible due to the work on bug 46336: Make Document::nodesFromRect more flexible. 14 15 * fast/dom/nodesFromRect-basic-expected.txt: 16 * fast/dom/nodesFromRect-basic.html: 17 1 18 2010-10-17 Julien Chaffraix <jchaffraix@codeaurora.org> 2 19 -
trunk/LayoutTests/fast/dom/nodesFromRect-basic-expected.txt
r68475 r69939 3 3 TEST COMPLETE 4 4 PASS All correct nodes found for rect [53,71], [0,0,0,0] 5 PASS All correct nodes found for rect [53,71], [10,0,0,0] 6 PASS All correct nodes found for rect [53,71], [0,10,0,0] 7 PASS All correct nodes found for rect [53,71], [0,0,10,0] 8 PASS All correct nodes found for rect [53,71], [0,0,0,10] 5 9 PASS All correct nodes found for rect [53,71], [0,10,0,10] 6 10 PASS All correct nodes found for rect [53,71], [10,0,10,0] 7 11 PASS All correct nodes found for rect [53,71], [10,10,10,10] 12 PASS All correct nodes found for rect [152,105], [10,0,0,0] 13 PASS All correct nodes found for rect [152,105], [0,10,0,0] 14 PASS All correct nodes found for rect [152,105], [0,0,10,0] 15 PASS All correct nodes found for rect [152,105], [0,0,0,10] 8 16 PASS All correct nodes found for rect [152,105], [10,0,10,0] 9 17 PASS All correct nodes found for rect [152,105], [0,10,0,10] … … 12 20 PASS All correct nodes found for rect [153,193], [0,20,0,20] 13 21 PASS All correct nodes found for rect [153,193], [20,0,20,0] 22 PASS All correct nodes found for rect [77,240], [0,0,0,0] 23 PASS All correct nodes found for rect [77,240], [1,0,0,0] 24 PASS All correct nodes found for rect [77,240], [0,0,1,0] 25 PASS All correct nodes found for rect [77,240], [1,0,1,0] 14 26 PASS All correct nodes found for rect [144,183], [0,0,0,0] 15 27 PASS All correct nodes found for rect [144,183], [1,0,1,0] 16 28 PASS All correct nodes found for rect [144,183], [0,1,0,1] 29 PASS All correct nodes found for rect [144,183], [0,0,1,0] 30 PASS All correct nodes found for rect [144,183], [0,0,0,1] 31 PASS All correct nodes found for rect [144,183], [0,0,1,1] 17 32 PASS All correct nodes found for rect [144,183], [1,1,1,1] 18 33 PASS All correct nodes found for rect [77,240], [0,0,0,0] 19 PASS All correct nodes found for rect [77,240], [0,10,0,10] 20 PASS All correct nodes found for rect [77,240], [10,0,10,0] 21 PASS All correct nodes found for rect [77,240], [10,10,10,10] 34 PASS All correct nodes found for rect [77,240], [0,1,0,1] 35 PASS All correct nodes found for rect [77,240], [1,0,0,0] 36 PASS All correct nodes found for rect [77,240], [0,0,1,0] 37 PASS All correct nodes found for rect [77,240], [1,0,1,0] 38 PASS All correct nodes found for rect [77,240], [1,1,1,1] 22 39 PASS All correct nodes found for rect [39,212], [0,0,0,0] 40 PASS All correct nodes found for rect [39,212], [10,0,0,0] 41 PASS All correct nodes found for rect [39,212], [0,0,10,0] 42 PASS All correct nodes found for rect [39,212], [10,1,30,0] 43 PASS All correct nodes found for rect [39,212], [10,5,30,0] 44 PASS All correct nodes found for rect [39,212], [10,15,30,0] 23 45 PASS All correct nodes found for rect [39,212], [10,0,10,0] 24 46 PASS All correct nodes found for rect [39,212], [0,10,0,10] -
trunk/LayoutTests/fast/dom/nodesFromRect-basic.html
r68475 r69939 24 24 25 25 check(53, 71, 0, 0, 0, 0, [e.body]); 26 check(53, 71, 10, 0, 0, 0, [e.h1, e.body]); 27 check(53, 71, 0, 10, 0, 0, [e.p3, e.body]); 28 check(53, 71, 0, 0, 10, 0, [e.d1, e.body]); 29 check(53, 71, 0, 0, 0, 10, [e.body]); 26 30 check(53, 71, 0, 10, 0, 10, [e.p3, e.body]); 27 31 check(53, 71, 10, 0, 10, 0, [e.d1, e.h1, e.body]); 28 32 check(53, 71, 10, 10, 10, 10, [e.p3, e.d1, e.h1, e.body]); 29 33 34 check(152, 105, 10, 0, 0, 0, [e.p3, e.body]); 35 check(152, 105, 0, 10, 0, 0, [e.p4, e.body]); 36 check(152, 105, 0, 0, 10, 0, [e.body]); 37 check(152, 105, 0, 0, 0, 10, [e.d1, e.body]); 30 38 check(152, 105, 10, 0, 10, 0, [e.p3, e.body]); 31 39 check(152, 105, 0, 10, 0, 10, [e.p4, e.d1, e.body]); … … 39 47 check(153,193,20, 0, 20, 0, [e.p5, e.body]); 40 48 49 check(77, 240, 0, 0, 0, 0, [e.p2]); 50 check(77, 240, 1, 0, 0, 0, [e.p5, e.p2]); 51 check(77, 240, 0, 0, 1, 0, [e.span, e.p2]); 52 check(77, 240, 1, 0, 1, 0, [e.p5, e.span, e.p2]); 53 41 54 // Precise pixel checks: 42 55 check(144, 183, 0, 0, 0, 0, [e.body]); 43 56 check(144, 183, 1, 0, 1, 0, [e.p5, e.body]); 44 57 check(144, 183, 0, 1, 0, 1, [e.d2, e.body]); 58 check(144, 183, 0, 0, 1, 0, [e.p5, e.body]); 59 check(144, 183, 0, 0, 0, 1, [e.d2, e.body]); 60 check(144, 183, 0, 0, 1, 1, [e.p5, e.d2, e.body]); 45 61 check(144, 183, 1, 1, 1, 1, [e.p5, e.d2, e.body]); 46 62 check(77, 240, 0, 0, 0, 0, [e.p2]); 47 check(77, 240, 0, 10, 0, 10, [e.p2]); 48 check(77, 240, 10, 0, 10, 0, [e.p5, e.span, e.p2]); 49 check(77, 240, 10, 10, 10, 10, [e.p5, e.span, e.p2]); 63 check(77, 240, 0, 1, 0, 1, [e.p2]); 64 check(77, 240, 1, 0, 0, 0, [e.p5, e.p2]); 65 check(77, 240, 0, 0, 1, 0, [e.span, e.p2]); 66 check(77, 240, 1, 0, 1, 0, [e.p5, e.span, e.p2]); 67 check(77, 240, 1, 1, 1, 1, [e.p5, e.span, e.p2]); 50 68 51 69 // Expanding area checks: 52 70 check(39, 212, 0, 0, 0, 0, [e.body]); 71 check(39, 212, 10, 0, 0, 0, [e.d2, e.body]); 72 check(39, 212, 0, 0, 10, 0, [e.p2, e.body]); 73 check(39, 212, 10, 1, 30, 0, [e.d2, e.p2, e.body]); 74 check(39, 212, 10, 5, 30, 0, [e.span, e.d2, e.p2, e.body]); 75 check(39, 212, 10, 15, 30, 0, [e.p5, e.span, e.d2, e.p2, e.body]); 53 76 check(39, 212, 10, 0, 10, 0, [e.d2, e.p2, e.body]); 54 77 check(39, 212, 0, 10, 0, 10, [e.p5, e.body]);
Note: See TracChangeset
for help on using the changeset viewer.