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:
parent
ea451cea6a
commit
cb35a8ea83
3 changed files with 23 additions and 22 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue