Feature #19349
closedadd DTD to empty "template" document
0%
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
Updated by Stanislas Rolland about 16 years ago
doctype added as part of patch attached to issue #9424.
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.
Updated by Stanislas Rolland about 16 years ago
Committed to SVN TYPO3core trunk (revision 4260).