Ticket #6804 (closed Bug: fixed)

Opened 4 years ago

Last modified 4 years ago

designing fieldset with legend returns unexpected result

Reported by: ronnin Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.5.1
Component: Core : DTD Version: 3.0
Keywords: Cc:

Description

write the following code directly in source-view:

<fieldset>
        <legend>caption</legend>
        <p>keep going, CKeditor!</p>
    </fieldset>

then switch to design-view, it looks well, but when do some design actions, it returns unexpected result. the cases vary from diferent browsers:

IE8: double-click the boundary of fieldset, the code will be changed to

<fieldset>
			<p>
				&nbsp;</p>
			<legend>caption<span style="display: none">&nbsp;</span></legend>
			<p>
				keep going, CKeditor!</p>
		</fieldset>

firefox 3.6.12: just click the legend, the code will be changed to

    <fieldset>
        <legend></legend>
        <p>caption</p>
        <p>keep going, CKeditor!</p>
    </fieldset>

Attachments

6804.patch (953 bytes) - added by garry.yao 4 years ago.

Change History

comment:1 Changed 4 years ago by Saare

  • Status changed from new to confirmed
  • Version changed from 3.4.3 (SVN - trunk) to 3.0
  • Milestone set to CKEditor 3.5.1

Changed 4 years ago by garry.yao

comment:2 Changed 4 years ago by garry.yao

  • Status changed from confirmed to review
  • Owner set to garry.yao

comment:3 Changed 4 years ago by garry.yao

  • Component changed from General to Core : DTD

comment:4 Changed 4 years ago by tobiasz.cudnik

  • Status changed from review to review_passed

comment:5 Changed 4 years ago by garry.yao

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

Fixed with [6266].

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