mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:57:45 +00:00
LibWeb: Add DOMRect and Element.getBoundingClientRect()
This marks our entry into the Web::Geometry namespace, based on the "Geometry" spec at https://drafts.fxtf.org/geometry/
This commit is contained in:
parent
0c63f0bf73
commit
43d378940f
8 changed files with 112 additions and 1 deletions
|
@ -109,6 +109,8 @@ public:
|
|||
bool is_void_element() const;
|
||||
bool serializes_as_void() const;
|
||||
|
||||
NonnullRefPtr<Geometry::DOMRect> get_bounding_client_rect() const;
|
||||
|
||||
protected:
|
||||
RefPtr<Layout::Node> create_layout_node() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue