Opened 12 years ago

Closed 7 years ago

#1467 closed New Feature (duplicate)

HTML 4.01 Strict / XHTML 1.0 Strict support lacking in regard to attributes

Reported by: Russ Tennant Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

The newly released beta (2.5) is advertised in such a way as to suggest that support for varied DTDs (HTML 4 Transitional, HTML 4 Strict, XHTML, etc) is intended. To get closer to that goal it would be desirable to not use deprecated attributes when in "strict" mode. Current support for Strict DTDs (fck_xhtml10strict.js) appears to only apply to elements.

It is possible to add invalid attributes to the HTML which is undesirable in some use cases. I cannot find anyway to modify this behavior without changing the source code. I would suggest extending the FCK.DTD to support attributes as well as elements or provide some option for using alternatives for the deprecated attributes.

A table of deprecated attributes and alternatives: http://aamcf.co.uk/html/attr

Example (steps to reproduce):

  • Create a table
  • Edit any cell
  • Set the background or border color

Change History (3)

comment:1 Changed 11 years ago by Artur Formella

Keywords: Confirmed added

comment:2 Changed 11 years ago by Artur Formella

#2431 is an exception of this ticket

comment:3 Changed 7 years ago by Piotrek Koszuliński

Resolution: duplicate
Status: confirmedclosed

This issue partially expired and partially will be fixed by #9829.

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