LibWeb: Implement steps for removing an HTMLMediaElement from a document

This commit is contained in:
Timothy Flynn
2023-04-29 07:41:30 -04:00
committed by Andreas Kling
parent 344785ae3a
commit 88b8969443
Notes: sideshowbarker 2024-07-17 02:38:39 +09:00
2 changed files with 20 additions and 0 deletions

View File

@@ -89,6 +89,7 @@ protected:
virtual void parse_attribute(DeprecatedFlyString const& name, DeprecatedString const& value) override;
virtual void did_remove_attribute(DeprecatedFlyString const&) override;
virtual void removed_from(DOM::Node*) override;
// Override in subclasses to handle implementation-specific behavior when the element state changes
// to playing or paused, e.g. to start/stop play timers.