Improve scroll to text WPT coverage.
Adds many tests to the scroll to text WPT suite: - Setting window.location.fragmentDirective has no effect - All combinations of optional parameters in text directive - Matching TextMatchChars and PercentEncodedChars (in particular the syntactical characters '&', ‘,’ and ‘-’) including non-ASCII - Multiple matches in the page - Cross-whitespace/node matching (i.e. context terms and match terms can be separated by whitespace and node boundaries) Also added a readable description to each test case. Note all tests pass in Chrome except for non-ASCII character matching. Change-Id: I2a692049ba81bef5412e7b73909fbcdc710eb0da Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1900648 Commit-Queue: Nick Burris <nburris@chromium.org> Reviewed-by:David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#713057}
Showing
Please register or sign in to comment