mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:07:45 +00:00
LibWeb: Implement HTMLDetailsElement's open attribute closer to the spec
The spec now has a "toggle task tracker" to coalesce rapid changes to this attribute. It also now has an explicit ToggleEvent to encapsulate the old and new state of the element. This further handles the attribute being added/removed using a override of Element::attribute_changed(), rather than being the only element to instead override Element::set/remove__attribute().
This commit is contained in:
parent
153ae93f9c
commit
8bb5652835
4 changed files with 92 additions and 40 deletions
|
@ -465,6 +465,7 @@ struct PolicyContainer;
|
|||
struct POSTResource;
|
||||
struct SerializedFormData;
|
||||
struct SessionHistoryEntry;
|
||||
struct ToggleTaskTracker;
|
||||
}
|
||||
|
||||
namespace Web::HighResolutionTime {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue