[Editor] Add a way to extract the outlines of a union of rectangles

The goal is to be able to get these outlines to fill the shape corresponding
to a text selection in order to highlight some text contents.
The outlines will be used either to show selected/hovered highlights.
This commit is contained in:
Calixte Denizet 2023-11-17 18:54:26 +01:00
parent d8424a43ba
commit 31d9b9f574
11 changed files with 777 additions and 12 deletions

View file

@ -670,6 +670,7 @@ function checkRefTestResults(browser, id, results) {
switch (task.type) {
case "eq":
case "text":
case "highlight":
checkEq(task, results, browser, session.masterMode);
break;
case "fbf":