1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:07:44 +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:
Andreas Kling 2021-09-27 00:55:13 +02:00
parent 0c63f0bf73
commit 43d378940f
8 changed files with 112 additions and 1 deletions

View file

@ -90,6 +90,10 @@ template<typename ValueType>
class ExceptionOr;
}
namespace Web::Geometry {
class DOMRect;
}
namespace Web::HTML {
class CanvasRenderingContext2D;
class CloseEvent;
@ -261,6 +265,7 @@ class DocumentWrapper;
class DOMExceptionWrapper;
class DOMImplementationWrapper;
class DOMParserWrapper;
class DOMRectWrapper;
class DOMStringMapWrapper;
class ElementWrapper;
class EventListenerWrapper;