+45
−53
Loading
It creates no range `Selection` if `mSelection` has not been emplaced. However, we don't want `Selection` in the case because `mText` may be nothing and that violates the dependency. Therefore, it should stop creating `Selection` in the case. Note that first character rect will be cached later even if there is no `Selection`. However, this should not occur in usual case because `focus` notification should've already initialized `mText` and `mSelection`. Differential Revision: https://phabricator.services.mozilla.com/D178731