1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:37:45 +00:00

LibWeb: Add Element::did_remove_attribute() virtual

This allows subclasses to react to DOM attributes being removed.
This commit is contained in:
Andreas Kling 2022-02-15 19:15:11 +01:00
parent e91b2c57c1
commit bdf0254b16
2 changed files with 3 additions and 0 deletions

View file

@ -83,6 +83,7 @@ public:
virtual void apply_presentational_hints(CSS::StyleProperties&) const { }
virtual void parse_attribute(const FlyString& name, const String& value);
virtual void did_remove_attribute(FlyString const&) { }
void recompute_style();