mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibWeb: Add OffscreenCanvas tests
The tests cover working in Worker and some basic functionality
This commit is contained in:
parent
f1a096d6e4
commit
8404df55d8
Notes:
github-actions[bot]
2025-06-30 15:47:29 +00:00
Author: https://github.com/Totto16
Commit: 8404df55d8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3788
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/tcl3
9 changed files with 110 additions and 4 deletions
|
@ -116,10 +116,7 @@ public:
|
|||
if (!font_list)
|
||||
return;
|
||||
|
||||
if (font_list->is_empty())
|
||||
return;
|
||||
|
||||
my_drawing_state().current_font_cascade_list = font_list->first();
|
||||
my_drawing_state().current_font_cascade_list = font_list;
|
||||
}
|
||||
|
||||
Bindings::CanvasTextAlign text_align() const { return my_drawing_state().text_align; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue