mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +00:00

This is causes taking back bugs in `WSRunScanner::GetNewInvisibleLeadingWhiteSpaceRangeIfSplittingAt()` and `WSRunScanner::GetNewInvisibleTrailingWhiteSpaceRangeIfSplittingAt()` (I.e., they were fixed by bug 1647556). Therefore, this removes the odd `if` blocks which are pointed with `XXX` comment for avoiding "regressions" (without them, some WPTs for `InputEvents.getTargetRanges()` become failure). Depends on D89582 Differential Revision: https://phabricator.services.mozilla.com/D89869