Issue Bug Closed

#67348RTE inserts <span class="line-height: xx"> in Chrome

Simon Würstle 06/08/15, 13:41 updated 08/30/17, 11:22

Description

There have been some Bugs in Chrome (Webkit) with automatic inserted 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 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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.