author Masayuki Nakano <masayuki@d-toybox.com>
Tue, 02 Aug 2016 14:00:32 +0900
changeset 397255 38b19a4575945910f03437a1cc04196618cbc996
parent 374641 c993782dbd5218c72c653b53482daea1be9b4c5c
child 583708 726220b317d57f05c9f04ef9dedf63656ebe7958
permissions -rw-r--r--
Bug 1286464 part.16 Rename ContentEventHandler::Get*FrameHavingFlatTextInRange() to ContentEventHandler::Get*FrameInRangeForTextRect() and make them treat a moz-<br> element as a normal <br> element because it doesn't cause text but needs to compute text rect in the last empty line r=smaug In plain text editor, moz-<br> element is appended for a placeholder of empty line when the text ends with a line breaker. Therefore, when we compute text rects, we need to handle it same as a normal <br> element even though it doesn't cause any text. MozReview-Commit-ID: 4IXLafU6o0W

import sys
import gdbpp