[webkit-changes] [WebKit/WebKit] a17cd4: [Live Range Selection] Fix some tests that throw e...

Ryosuke Niwa noreply at github.com
Fri Oct 21 21:04:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a17cd4123b5aa723067c4c3ba81d3ddd35b9eea9
      https://github.com/WebKit/WebKit/commit/a17cd4123b5aa723067c4c3ba81d3ddd35b9eea9
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2022-10-21 (Fri, 21 Oct 2022)

  Changed paths:
    M LayoutTests/editing/deleting/delete-contenteditable-crash.html
    M LayoutTests/editing/inserting/edit-style-and-insert-image.html
    M LayoutTests/editing/selection/move-selection-backwards-at-end-of-table-by-sentence-granularity.html

  Log Message:
  -----------
  [Live Range Selection] Fix some tests that throw exception
https://bugs.webkit.org/show_bug.cgi?id=246839

Reviewed by Wenson Hsieh.

Use correct offsets in these tests so that selection API won't throw exceptions when enabling live range selection.

* LayoutTests/editing/deleting/delete-contenteditable-crash.html:
* LayoutTests/editing/inserting/edit-style-and-insert-image.html:
* LayoutTests/editing/selection/move-selection-backwards-at-end-of-table-by-sentence-granularity.html:

Canonical link: https://commits.webkit.org/255860@main




More information about the webkit-changes mailing list