Opened 7 years ago

Closed 7 years ago

#4196 closed Bug (fixed)

[chrome] List gets destoryed after repetitive type changes

Reported by: tobiasz.cudnik Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.1
Component: Core : Lists Version: SVN (CKEditor) - OLD
Keywords: Confirmed Review+ Cc:

Description

In chromium, list gets destoryed after repetitive type changes. Refer to attached video TC.

Attachments (2)

4196.ogg (344.4 KB) - added by tobiasz.cudnik 7 years ago.
4196.patch (2.0 KB) - added by garry.yao 7 years ago.

Download all attachments as: .zip

Change History (7)

Changed 7 years ago by tobiasz.cudnik

comment:1 Changed 7 years ago by garry.yao

  • Component changed from General to Core : Lists
  • Keywords Confirmed added; webkit removed
  • Version set to SVN (CKEditor)

With the help from Tobias, I was managed to find an even easier way to reproduce:

  1. Load the following content with selection:
    <ul>
    	<li>
    		a
    		<ol>
    			<li>
    				b^
    				<ul>
    					<li>
    						c</li>
    				</ul>
    			</li>
    		</ol>
    	</li>
    </ul>
    
    
  2. Press 'Numbered List' button and check the DOM snapshot;
  • Expected Result:
    <ul>
    	<li>
    		a</li>
    	<li>
    		b
    		<ul>
    			<li>
    				c</li>
    		</ul>
    	</li>
    </ul>
    
  • Actual Result:
    <ul>
    	<li>
    		a
            </li>
    	<li>
    		b
    	</li>
    		<ul>
    			<li>
    				c</li>
    		</ul>
    </ul>
    

So it's a general list bug instead of a webkit specific one.

comment:2 Changed 7 years ago by garry.yao

  • Keywords Review? added
  • Owner set to garry.yao
  • Status changed from new to assigned

I've expected the wrong output on previous comment, the correct result should be what we have in v2:

<ul>
	<li>
		a</li>
</ul>
<p>
	b</p>
<ul>
	<li>
		c</li>
</ul>

comment:3 Changed 7 years ago by garry.yao

I hope it make sense also in the patch to trim text before <br>.

Changed 7 years ago by garry.yao

comment:4 Changed 7 years ago by fredck

  • Keywords Review+ added; Review? removed

comment:5 Changed 7 years ago by garry.yao

  • Resolution set to fixed
  • Status changed from assigned to closed

Ticket Test added at :
http://ckeditor.t/tt/4196/1.html.
Fixed with [4523].

Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy