Bug #39075
closedCSC ignores removeDefaultCss with accessibilityMode
0%
Description
In class tx_cssstyledcontent_pi1
around line 617:
if ($accessibilityMode) { // .. $this->addPageStyle('.csc-textpic-intext-right-nowrap .csc-textpic-text', 'margin-right: ' . $noWrapMargin . 'px;'); // .. }
This should respect the setting of config.removeDefaultCss
and not add any styles at all if it's set to 1.
Updated by Gerrit Code Review over 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/19912
Updated by Gerrit Code Review over 11 years ago
Patch set 2 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/19912
Updated by Chris topher over 11 years ago
Julian Wachholz wrote:
$this->addPageStyle
should respect the setting ofconfig.removeDefaultCss
and not add any styles at all if it's set to 1.
For TYPO3 6.1 the new property config.removePageCss
has been added, which allows to remove both _CSS_DEFAULT_STYLE and _CSS_PAGE_STYLE separately. See the description of removeDefaultCss and removePageCss here.
I think this solves the problem, which Julian reported here.
Updated by Dan Kleine (Untenzu) over 11 years ago
✔ This issue is solved with using »config.removePageCss = 1«.
Updated by Chris topher about 11 years ago
- Status changed from Under Review to Closed