Bug #67348
closedRTE inserts <span class="line-height: xx"> in Chrome
0%
Description
There have been some Bugs in Chrome (Webkit) with automatic inserted <span> tags which are already solved, but here is another one. Following simple scenario:
rte.css (RTE.default.contentCSS) with the only line: body { line-height: 1.4; }
Now insert one paragraph with text in the RTE field. Somewhere in the text press enter so there a two paragraphs afterwards. Leave the cursor on its position (beginning of second paragraph) and press backspace. In Chrome there is now a <span class="line-height: 1.4"> at the position where you pressed enter.
I figured out that this only happens if the line-height is set with a relative value (i.e. "1.4", "140%", "1.4em"). This bug does not occur if the value is in px-format (i.e. "14px").
Tested with TYPO3 CMS 6.2.12