summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/UIEvents
AgeCommit message (Collapse)Author
2022-03-17Libraries: Use default constructors/destructors in LibWebLenny Maiorani
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler."
2022-03-08LibWeb: Move Window from DOM directory & namespace to HTMLLinus Groh
The Window object is part of the HTML spec. :^) https://html.spec.whatwg.org/multipage/window-object.html
2022-02-25LibWeb: Implement UIEvent.initUIEvent()Andreas Kling
1% progression on ACID3. :^)
2022-02-25LibWeb: Make document.createEvent("UIEvent") actually create a UIEventAndreas Kling
There were two things preventing this from working right: - UIEvents::UIEvent::create() was actually just DOM::Event::create() - We didn't return the right JavaScript wrapper type for UIEvent
2022-02-07LibWeb: Add MouseEvent.x and MouseEvent.yAndreas Kling
Per the CSSOM View spec, these are aliases for clientX and clientY.
2022-02-07LibWeb: Add a proper FocusEvent interface for "focus" and "blur" eventsAndreas Kling
2021-10-01LibWeb: Change the type of MouseEvent members to doubleIdan Horowitz
These are defined as integers only in the legacy specification, the new one defines these as doubles.
2021-10-01LibWeb: Add the missing KeyboardEvent IDL constructorIdan Horowitz
This commit also does a bit of general cleanup on the header file.
2021-10-01LibWeb: Change the parent interface of MouseEvent to UIEventIdan Horowitz
This was accidentally set to Event
2021-10-01LibWeb: Add the missing UIEvent IDL constructorIdan Horowitz
2021-10-01LibWeb: Add the UIEvent::{view, detail} IDL attributesIdan Horowitz
2021-09-28LibWeb: Fire "keyup" events as well :^)Andreas Kling
This was easy, now that we have KeyboardEvent.
2021-09-28LibWeb: Add a basic KeyboardEvent and fire "keydown" events :^)Andreas Kling
2021-04-23AK: Rename adopt() to adopt_ref()Andreas Kling
This makes it more symmetrical with adopt_own() (which is used to create a NonnullOwnPtr from the result of a naked new.)
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-15LibWeb: Expose the MouseEvent::{clientX, clientY} attributesIdan Horowitz
These provide the cursor coordinate within the viewport at which the event occurred (as opposed to the page relative coordinates exposed via offsetX, offsetY).
2021-03-16LibWeb: Dispatch "resize" events on the Window objectAndreas Kling
It's a little awkward that we do this in two places, but IPWV and OOPWV currently implement resizing a little differently from each other so we need to cover both paths.
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling