1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:57:45 +00:00

LibWeb: Add HTMLElement.lang (and make HTMLElement.title reflecting)

This commit is contained in:
Andreas Kling 2020-07-24 13:16:11 +02:00
parent ea451cea6a
commit cb35a8ea83
3 changed files with 23 additions and 22 deletions

View file

@ -38,7 +38,6 @@ public:
virtual ~HTMLElement() override;
String title() const { return attribute(HTML::AttributeNames::title); }
void set_title(const String& value) { set_attribute(HTML::AttributeNames::title, value); }
private:
virtual bool is_html_element() const final { return true; }