Opened 13 years ago

Closed 13 years ago

#6804 closed Bug (fixed)

designing fieldset with legend returns unexpected result

Reported by: Ronnin Lee 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 (1)

6804.patch (953 bytes) - added by Garry Yao 13 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 13 years ago by Sa'ar Zac Elias

Milestone: CKEditor 3.5.1
Status: newconfirmed
Version: 3.4.3 (SVN - trunk)3.0

Changed 13 years ago by Garry Yao

Attachment: 6804.patch added

comment:2 Changed 13 years ago by Garry Yao

Owner: set to Garry Yao
Status: confirmedreview

comment:3 Changed 13 years ago by Garry Yao

Component: GeneralCore : DTD

comment:4 Changed 13 years ago by Tobiasz Cudnik

Status: reviewreview_passed

comment:5 Changed 13 years ago by Garry Yao

Resolution: fixed
Status: review_passedclosed

Fixed with [6266].

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy