mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
LibWeb/CSS: Implement add for FontFaceSet
There is still some work to do with some of the underying methods called inside this method (e.g is_css_connected) but this is a start.
This commit is contained in:
parent
9098e39a43
commit
14d62d7f31
Notes:
github-actions[bot]
2024-09-27 20:50:24 +00:00
Author: https://github.com/kostyafarber 🔰
Commit: 14d62d7f31
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1539
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/AtkinsSJ ✅
3 changed files with 37 additions and 4 deletions
|
@ -70,6 +70,8 @@ public:
|
|||
String line_gap_override() const { return m_line_gap_override; }
|
||||
WebIDL::ExceptionOr<void> set_line_gap_override(String const&);
|
||||
|
||||
bool is_css_connected() const { return m_is_css_connected; }
|
||||
|
||||
Bindings::FontFaceLoadStatus status() const { return m_status; }
|
||||
|
||||
JS::NonnullGCPtr<JS::Promise> load();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue