mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +00:00
This is a non-standard API that other browsers implement, which highlights matching text in the current window. This is just a thin wrapper around our find in page functionality, the main motivation for adding this API is that it allows us to write tests for our find in page implementation.
8 lines
269 B
Plaintext
8 lines
269 B
Plaintext
window.find(): false
|
|
window.find("this"): true, selection from: 0 to 4
|
|
window.find("this"): false
|
|
window.find("A"): true, selection from: 8 to 9
|
|
window.find("t"): true, selection from: 10 to 11
|
|
window.find("t"): true, selection from: 13 to 14
|
|
window.find("t"): false
|