mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
LibWeb: Stub out a dummy window.getComputedStyle()
This just returns an empty CSSStyleDeclaration for now. The real thing needs to be a live object that provides a view onto the computed style of a given element. This is far from that, but it's something. :^)
This commit is contained in:
parent
1484980f8f
commit
d69133e4ac
4 changed files with 33 additions and 0 deletions
|
@ -72,6 +72,8 @@ public:
|
|||
Event const* current_event() const { return m_current_event; }
|
||||
void set_current_event(Event* event) { m_current_event = event; }
|
||||
|
||||
NonnullRefPtr<CSS::CSSStyleDeclaration> get_computed_style(DOM::Element&) const;
|
||||
|
||||
private:
|
||||
explicit Window(Document&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue