summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/UIEvents
AgeCommit message (Collapse)Author
2021-01-01LibWeb: Remove more hand-rolled type information :^)Andreas Kling
Hoo boy, we've really accumulated a lot of this stuff.
2021-01-01AK+LibGUI+LibWeb: Remove AK::TypeTraits in favor of RTTI-based helpersAndreas Kling
Now that we have RTTI in userspace, we can do away with all this manual hackery and use dynamic_cast. We keep the is<T> and downcast<T> helpers since they still provide good readability improvements. Note that unlike dynamic_cast<T>, downcast<T> does not fail in a recoverable way, but will assert if the object being casted is not a T.
2020-12-31Everywhere: Re-format with clang-format-11Linus Groh
Compared to version 10 this fixes a bunch of formatting issues, mostly around structs/classes with attributes like [[gnu::packed]], and incorrect insertion of spaces in parameter types ("T &"/"T &&"). I also removed a bunch of // clang-format off/on and FIXME comments that are no longer relevant - on the other hand it tried to destroy a couple of neatly formatted comments, so I had to add some as well.
2020-12-10LibWeb: Expect IDL namespace to end with semicolonLinus Groh
From the Web IDL spec: https://heycam.github.io/webidl/#prod-Namespace Namespace :: namespace identifier { NamespaceMembers } ;
2020-11-22LibWeb: Add HTML::EventNames and UIEvents::EventNamesLuke
2020-11-22LibWeb: Make event dispatching spec-compliantLuke
Specification: https://dom.spec.whatwg.org/#concept-event-dispatch This also introduces shadow roots due to it being a requirement of the event dispatcher. However, it does not introduce the full shadow DOM, that can be left for future work. This changes some event dispatches which require certain attributes to be initialised to a value.
2020-07-28LibWeb: Oops, provide the correct WrapperType for UIEventAndreas Kling
2020-07-28LibWeb: Add UIEvent class (base of MouseEvent, and others)Andreas Kling
2020-07-28LibWeb: Move MouseEvent into the UIEvents namespaceAndreas Kling
Named after the UIEvents specification that houses MouseEvent.