Ticket #1467 (new New Feature)

Opened 13 months ago

Last modified 8 weeks ago

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

Reported by: toga98 Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Confirmed 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

Changed 2 months ago by arczi

  • keywords Confirmed added

Changed 8 weeks ago by arczi

#2431 is an exception of this ticket

Note: See TracTickets for help on using tickets.