1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

LibWeb: Implement StyleSheet.type

This just returns "text/css" on CSSStyleSheet, nothing exciting.
This commit is contained in:
Andreas Kling 2021-03-08 16:16:28 +01:00
parent 2cff070108
commit dda6eb0f1f
3 changed files with 6 additions and 2 deletions

View file

@ -41,6 +41,8 @@ public:
virtual ~StyleSheet() = default;
virtual String type() const = 0;
DOM::Element* owner_node() { return m_owner_node; }
void set_owner_node(DOM::Element*);