haikuwebkit/LayoutTests/editing/find/find-and-replace-adjacent-w...

12 lines
414 B
Plaintext

Verifies that find and replace can be used to replace adjacent words in an editable area. This test requires WebKitTestRunner.
After replacing 'apple' with an empty string:
| <#selection-caret>
| <br>
After replacing 'apple' with 'appleapple':
| "<#selection-anchor>appleapple<#selection-focus>appleappleappleapple"
After replacing 'apple' with 'APPLE':
| "<#selection-anchor>APPLE<#selection-focus>APPLEAPPLE"