mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
LibWeb: Support autocomplete attribute on form elements
Implement proper support for the `autocomplete` attribute in `input`, `select` and `textarea` elements.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include <LibCore/Timer.h>
|
||||
#include <LibWeb/ARIA/Roles.h>
|
||||
#include <LibWeb/DOM/Text.h>
|
||||
#include <LibWeb/HTML/AutocompleteElement.h>
|
||||
#include <LibWeb/HTML/FormAssociatedElement.h>
|
||||
#include <LibWeb/HTML/HTMLElement.h>
|
||||
#include <LibWeb/WebIDL/Types.h>
|
||||
@@ -20,10 +21,12 @@ namespace Web::HTML {
|
||||
|
||||
class HTMLTextAreaElement final
|
||||
: public HTMLElement
|
||||
, public FormAssociatedTextControlElement {
|
||||
, public FormAssociatedTextControlElement
|
||||
, public AutocompleteElement {
|
||||
WEB_PLATFORM_OBJECT(HTMLTextAreaElement, HTMLElement);
|
||||
GC_DECLARE_ALLOCATOR(HTMLTextAreaElement);
|
||||
FORM_ASSOCIATED_ELEMENT(HTMLElement, HTMLTextAreaElement)
|
||||
FORM_ASSOCIATED_ELEMENT(HTMLElement, HTMLTextAreaElement);
|
||||
AUTOCOMPLETE_ELEMENT(HTMLElement, HTMLTextAreaElement);
|
||||
|
||||
public:
|
||||
virtual ~HTMLTextAreaElement() override;
|
||||
|
||||
Reference in New Issue
Block a user