Changes between Initial Version and Version 5 of Ticket #2767


Ignore:
Timestamp:
Jan 21, 2009, 6:02:12 PM (16 years ago)
Author:
Garry Yao
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2767

    • Property Keywords Confirmed added
    • Property Owner set to Garry Yao
    • Property Status changed from new to assigned
    • Property Summary changed from plug-in:basicstyle incorrect style range detection to plug-in:basicstyle AND elementpath incorrect style range detection
  • Ticket #2767 – Description

    initial v5  
    1 Style detection now seems only concern start boundary instead of the whole range:
     1=== Description ===
     2Style and element path detection on certain selection are incorrect.
     3
     4=== Procedures ===
    25 1. Open  an editor instance;
    3  1. Make selection as follow:
     6 1. Make selection as follow: [[BR]]
    47 {{{
    5  This is some sample ^text. You are using^ FCKeditor.
     8
     9 <p> This is some <strong>sample ^text</strong>. You are using^ <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>
     10
    611 }}}
    712 1. Check the '''Bold''' style status
    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 ===
     17Test 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''.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy