LadybirdBrowser / ladybird

Truly independent web browser
https://ladybird.dev
BSD 2-Clause "Simplified" License
4.36k stars 217 forks source link

LibWeb: Implement a minimal version of `Window.find()` #293

Closed tcl3 closed 4 days ago

tcl3 commented 4 days ago

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.