Page MenuHomePhabricator

VisualEditor: Discrepancy in displaying text with <mark> in Edit and Read modes
Closed, ResolvedPublic

Description

Read mode - all text is highlighted

  1. In VE type some text. Hit enter for the second line.

Some text in bulk to check scrolling. Some text in bulk to check scrolling. Some text in bulk to check scrolling. Some text in bulk to check scrolling.

  1. Open Edit source(Keep changes) and add <mark> as in the sample below:

<mark>
Some text in bulk to check scrolling. Some text in bulk to check scrolling. Some text in bulk to check scrolling. Some text in bulk to check scrolling.

  1. Save - in Read mode all text on the page will be highlighted with the yellow background.
  1. Switch to Edit mode again - only the first line will be displayed as highlighted.

The screenshots are attached.


Version: unspecified
Severity: trivial

Attached:

Screen_Shot_2014-11-17_at_4.14.28_PM.png (267×1 px, 35 KB)

Details

Reference
bz73536

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:50 AM
bzimport set Reference to bz73536.

Created attachment 17155
Edit mode - only the first line is highlighted

Attached:

Screen_Shot_2014-11-17_at_4.14.09_PM.png (296×1 px, 44 KB)

matmarex subscribed.

This has been fixed when Parsoid and MediaWiki were updated to use the same HTML5 parsing algorithm (T89331).