| 8 | | * Expected: style should be deactive; |
| 9 | | * Actual: style is active; |
| | 13 | * Expected: style status should be off; |
| | 14 | * Actual: style status is on; |
| | 15 | |
| | 16 | === Test Cases === |
| | 17 | Test cases created with : |
| | 18 | |
| | 19 | 1. Test select start partial in a bold style and end in non-style.[[BR]] |
| | 20 | * Original document:[[BR]] |
| | 21 | {{{ |
| | 22 | |
| | 23 | <p> level1<strong>le^vel2</strong>lev^el1</strong></p> |
| | 24 | |
| | 25 | }}} |
| | 26 | * Reference results |
| | 27 | * FCKEditor2.6.3 [[BR]] Bold style command status in ''on''. |
| | 28 | * TinyMCE3.2.1 [[BR]] Bold style command status in ''off'', element path is ''body -> p''. |
| | 29 | * Expected Result [[BR]] Bold style command status in ''off'', element path is ''body -> p''. |
| | 30 | 1. Test select start partial in a bold style, select through non-style texts and end in bold style.[[BR]] |
| | 31 | * Original document: [[BR]] |
| | 32 | {{{ |
| | 33 | |
| | 34 | <p> level1<strong>le^vel2</strong>level1<strong>le^vel2</strong></strong></p> |
| | 35 | |
| | 36 | }}} |
| | 37 | * Reference results |
| | 38 | * FCKEditor2.6.3 [[BR]] Bold style command status in ''on''. |
| | 39 | * TinyMCE3.2.1 [[BR]] Bold style command status in ''off'', element path is ''body -> p''. |
| | 40 | * Expected Result [[BR]] Bold style command status in ''off'', element path is ''body -> p''. |
| | 41 | 1. Test select start partial in a bold style which is in a '''td''', selection goes through some other non-style text in cells, and end partial in a bold style in a '''td''' again. |
| | 42 | * Original document:[[BR]] |
| | 43 | {{{ |
| | 44 | |
| | 45 | <p> |
| | 46 | <table> |
| | 47 | <tbody> |
| | 48 | <tr> |
| | 49 | <td><strong>c^ell1</strong></td> |
| | 50 | <td>cell2</td> |
| | 51 | </tr> |
| | 52 | <tr> |
| | 53 | <td>cell3</td> |
| | 54 | <td><strong>cell^4</strong></td> |
| | 55 | </tr> |
| | 56 | </tbody> |
| | 57 | </table> |
| | 58 | </p> |
| | 59 | |
| | 60 | }}} |
| | 61 | * Reference results |
| | 62 | * FCKEditor2.6.3 [[BR]] Bold style command status in ''on'. |
| | 63 | * TinyMCE3.2.1 [[BR]] Bold style command status in ''off'', element path is ''body -> table -> tbody''. |
| | 64 | * Expected Result [[BR]] Bold style command status in ''off'', element path is ''body -> table -> tbody''. |