Actions
Bug #78492
closedRTE does not reference CSS files correctly in Firefox
Start date:
2016-10-28
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:
Stabilization Sprint
Description
In Firefox 49.0.2 RTE fails to reference CSS files correctly.
RTE[data_tt_content__1__bodytext_][HTMLArea.Iframe::createHead]: Skin CSS set to: http://example.com/typo3//typo3/sysext/rtehtmlarea/Resources/Public/Css/Skin/htmlarea-edited-content.css
With Chrome everything works as expected though.
Updated by Markus Klein almost 8 years ago
The culprit is typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Iframe.js
link0.href = ((UserAgent.isGecko && navigator.productSub < 2010072200 && !/^http(s?):\/{2}/.test(this.config.editedContentStyle)) ? this.config.baseURL : '') + this.config.editedContentStyle;
navigator.productSub
on Firefox 49 is "20100101", which makes the condition true.
The code is rather old, but seems to work on 7.6.
Updated by Gerrit Code Review almost 8 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50428
Updated by Markus Klein almost 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a135a5dde169423a3b9356c00d7f93dd941b9fa9.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed
Actions