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:
Kostya Farber 2024-09-26 10:52:54 +01:00 committed by Andrew Kaster
commit 14d62d7f31
Notes: github-actions[bot] 2024-09-27 20:50:24 +00:00
3 changed files with 37 additions and 4 deletions

View file

@ -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();