mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Delete EditableTextNodeOwner
It's no longer needed after FormAssociatedTextControlElement became responsible for managing input events for text controls.
This commit is contained in:
parent
34c0303ae1
commit
2a29e348c9
Notes:
github-actions[bot]
2024-11-06 17:06:03 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 2a29e348c9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2199
8 changed files with 8 additions and 33 deletions
|
|
@ -50,7 +50,6 @@ namespace Web::HTML {
|
|||
class HTMLInputElement final
|
||||
: public HTMLElement
|
||||
, public FormAssociatedTextControlElement
|
||||
, public DOM::EditableTextNodeOwner
|
||||
, public Layout::ImageProvider {
|
||||
WEB_PLATFORM_OBJECT(HTMLInputElement, HTMLElement);
|
||||
JS_DECLARE_ALLOCATOR(HTMLInputElement);
|
||||
|
|
@ -150,9 +149,6 @@ public:
|
|||
|
||||
WebIDL::ExceptionOr<void> show_picker();
|
||||
|
||||
// ^DOM::EditableTextNodeOwner
|
||||
virtual void did_edit_text_node() override;
|
||||
|
||||
// ^EventTarget
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#the-tabindex-attribute:the-input-element
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#focusable-area
|
||||
|
|
@ -218,6 +214,8 @@ public:
|
|||
|
||||
Optional<String> selection_direction_binding() { return selection_direction(); }
|
||||
|
||||
// ^FormAssociatedTextControlElement
|
||||
virtual void did_edit_text_node() override;
|
||||
virtual JS::GCPtr<DOM::Text> form_associated_element_to_text_node() override { return m_text_node; }
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue