Project

General

Profile

Actions

Feature #19349

closed

add DTD to empty "template" document

Added by Martin Kutschker about 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-09-17
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The file used as "template" for the RTE contents EXT:rtehtmlarea/htmlarea/popups/blank.html has no DTD. For IE6 and IE7 this means they go into "quirks mode". This means the old incompatible box model and no support for CSS2 selectors.

Please add the DTD for xhtm1.0 transitional to the file.

Some users might want to have the quirks mode in the RTE to reflect the mode used in the FE. I'm not sure if this will really matter, but if so a new ieStrictMode property (maybe defaulting to 1) could be used to let a user switch between a setup with or without the DTD.

Sidenote: in IE8 you will have to set a special meta tag to force the browser into quirks mode.
(issue imported from #M9375)


Files

rtehtmlarea_bugfix_9375.patch (1.38 KB) rtehtmlarea_bugfix_9375.patch Administrator Admin, 2008-09-29 16:03

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #19375: htmlArea RTE: Cleanup dialogue windowsClosedStanislas Rolland2008-09-25

Actions
Related to TYPO3 Core - Bug #19388: RTE changes external links using subdomainsClosedStanislas Rolland2008-09-29

Actions
Actions #1

Updated by Stanislas Rolland about 16 years ago

doctype added as part of patch attached to issue #9424.

Actions #2

Updated by Stanislas Rolland about 16 years ago

After adding doctype to the iframe document in Firefox, baseURL is set to the url of the parent document, base element is ignored, and all created links, including external, are prepended with incorrect base.

Attached patch comments out doctype setting in Firefox, for now.

Actions #3

Updated by Stanislas Rolland about 16 years ago

Committed to SVN TYPO3core trunk (revision 4260).

Actions #4

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF