Back to Chromium

InputEvent.getTargetRanges() behavior

third_party/blink/web_tests/external/wpt/input-events/input-events-get-target-ranges.html

149.0.7827.2541 B
Original Source

To manually run this test, please follow the steps below:

  1. Place caret at the end of 'hel_lo wo_ rld'.
  2. Press Ctrl-Backspace (Alt-Backspace on macOS) to delete word backwards.
  3. Place caret at the end of 'test2' => Press 'a' key.
  4. Select 'test2a' => Press 'b' key.
  5. Select 'b' => Bold text through context menu or Command-b on macOS.
  6. Place caret at the end of 'test3' => Press 'a' key => Press Backspace key.

If a "PASS" result appears the test passes, otherwise it fails

hel_lo wo_ rld

test2

test3