mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb: Remove DOM element deprecated_get_attribute()
This commit is contained in:
committed by
Andrew Kaster
parent
c477f90df7
commit
a681429dff
Notes:
sideshowbarker
2024-07-17 18:49:10 +09:00
Author: https://github.com/bplaat Commit: https://github.com/SerenityOS/serenity/commit/a681429dff Pull-request: https://github.com/SerenityOS/serenity/pull/22777 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/AtkinsSJ Reviewed-by: https://github.com/shannonbooth ✅
@@ -64,7 +64,7 @@ public:
|
||||
TypeAttributeState type_state() const { return m_type; }
|
||||
WebIDL::ExceptionOr<void> set_type(String const&);
|
||||
|
||||
ByteString default_value() const { return deprecated_attribute(HTML::AttributeNames::value); }
|
||||
String default_value() const { return get_attribute_value(HTML::AttributeNames::value); }
|
||||
|
||||
virtual String value() const override;
|
||||
WebIDL::ExceptionOr<void> set_value(String const&);
|
||||
|
||||
Reference in New Issue
Block a user