1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 07:54:58 +00:00

LibWeb: Remove duplicated HTMLInputElement::name

This is already implemented by Element with a cache. Remove it - and
make use of this function where applicable.
This commit is contained in:
Shannon Booth 2024-01-13 20:12:26 +13:00 committed by Andreas Kling
parent 0695236408
commit 2a94cddb02
3 changed files with 6 additions and 10 deletions

View file

@ -65,7 +65,6 @@ public:
WebIDL::ExceptionOr<void> set_type(String const&);
ByteString default_value() const { return deprecated_attribute(HTML::AttributeNames::value); }
ByteString name() const { return deprecated_attribute(HTML::AttributeNames::name); }
virtual String value() const override;
WebIDL::ExceptionOr<void> set_value(String const&);