summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb
AgeCommit message (Collapse)Author
2023-04-09LibWeb: Implement WritableStreamDefaultWriter.releaseLock()Matthew Olsson
2023-04-09LibWeb: Implement WritableStreamDefaultWriter.close()Matthew Olsson
2023-04-09LibWeb: Implement WritableStreamDefaultWriter.abort()Matthew Olsson
2023-04-09LibWeb: Implement WritableStream.abort()Matthew Olsson
2023-04-09LibWeb: Implement WritableStream.getWriter()Matthew Olsson
2023-04-09LibWeb: Remove duplicate declaration in Streams/AbstractOperations.hMatthew Olsson
2023-04-09LibWeb/Fetch: Use a basic filtered response for redirect navigationsAliaksandr Kalenik
Match following change in the spec: https://github.com/whatwg/fetch/commit/8f109835dcff90d19caed4b551a0da32d9d0f57e
2023-04-09LibWeb: Add initial implementation of CRC2D.clip()MacDue
This allows clipping your drawing by any path you like! To do this all painting has been wrapped around a new draw_clipped() helper method, which handles the clipping before/after painting. Note: This clipping is currently missing support for intersecting clip paths.
2023-04-09LibWeb: Add simple canvas path clipperMacDue
This adds CanvasPathClipper and ScopedCanvasPathClip. These allow clipping the canvas by some arbitrary path. This initial implementation is fairly naive, with a good few allocations, though this can probably be improved in future.
2023-04-09LibWeb: Implement WritableStream.close()Matthew Olsson
2023-04-09LibWeb/HTML: Use correct spec link for multipart/form-data encodingLinus Groh
2023-04-09LibWeb: Port fire_webgl_context_event() to new FlyStringKenneth Myhra
2023-04-09LibWeb: Add WebGL::EventNamesKenneth Myhra
2023-04-09LibWeb: Port fire_keyboard_event() to new FlyStringKenneth Myhra
2023-04-09LibWeb: Port fire_a_synthetic_pointer_event() to new FlySringKenneth Myhra
2023-04-09LibWeb: Port fire_a_page_transition_event() to new FlyStringKenneth Myhra
2023-04-09LibWeb: Port fire_progress_event() + request_error_steps() to new StringKenneth Myhra
This ports XHR's fire_progress_event() and request_error_steps() to new FlyString. Signature of fire_progress_event() parameter event_name was changed from 'String const&' to 'FlyString const&'.
2023-04-09LibWeb: Port DOMEventListener to new FlyStringKenneth Myhra
2023-04-09LibWeb: Port EventTarget to new {Fly}StringKenneth Myhra
2023-04-09LibWeb: Add the WritableStreamDefaultControllerMatthew Olsson
2023-04-08LibWeb: Begin painting video controls on HTMLVideoElement layout nodesTimothy Flynn
If the video element has a 'controls' attribute, we now paint some basic video controls over the video element. If no frame has been decoded yet, we paint a play button on the center of the element. If a frame has been decoded, we paint that frame and paint a control bar on the bottom of the frame. This control bar currently only contains a play/pause button, depending on the video's playback state. We will only paint the control bar if the video is paused or hovered.
2023-04-08LibWeb: Set the media ready state to HAVE_ENOUGH_DATA after fetchingTimothy Flynn
Because we currently both fetch and process the media data in one chunk, we have enough data for playback immediately.
2023-04-08LibWeb: Implement HTMLMediaElement.playTimothy Flynn
This also includes the HTMLMediaElement's list of pending play promises, which is coupled pretty tightly with HTMLMediaElement.play.
2023-04-08LibWeb: Implement HTMLMediaElement.pauseTimothy Flynn
2023-04-08LibWeb: Implement the HTMLMediaElement paused attributeTimothy Flynn
Note that the default value of the attribute is true. We were previously autoplaying videos as soon as they loaded - this will prevent that from happening until the paused attribute is set to false.
2023-04-08LibWeb: Implement HTMLMediaElement.loadTimothy Flynn
2023-04-08LibWeb: Log correct error object when failing to decode a video sampleTimothy Flynn
2023-04-08LibWeb: Add missing include to WebIDL::PromiseTimothy Flynn
WebIDL::Promise is aliased to a JS::PromiseCapability. This missing include would cause a compile error in an upcoming commit.
2023-04-07LibWeb: Port {Mouse,UI,Wheel,}Event to new StringKenneth Myhra
This ports MouseEvent, UIEvent, WheelEvent, and Event to new String. They all had a dependency to T::create() in WebDriverConnection::fire_an_event() and therefore had to be ported in the same commit.
2023-04-07LibWeb: Move string literals to HTML::EventNamesKenneth Myhra
This moves the string literals animation{end,iteration,start} and transitionend to HTML::EVentNames.
2023-04-07LibWeb: Correct casing of webkitTransitionEnd and webkitAnimation*Kenneth Myhra
This corrects the casing of the legacy event types webkitTransitionEnd and webkitAnimation{End,Iteration,Start}.
2023-04-07LibWeb: Port CustomEvent to new StringKenneth Myhra
2023-04-07LibWeb: Create a basic layout node for HTMLVideoElementTimothy Flynn
2023-04-07LibWeb: Implement HTMLVideoElement's video{Width,Height} attributesTimothy Flynn
2023-04-07LibWeb: Begin implementing HTMLMediaElement's readyState attributeTimothy Flynn
It's not totally clear to me when all of these states are supposed to be set. For example, nothing in the HTMLMediaElement spec says to "set the readyState attribute to HAVE_ENOUGH_DATA". However, this will at least advance the readyState to HAVE_METADATA, which is needed for other useful attributes for debugging.
2023-04-07LibWeb: Implement HTMLMediaElement's duration attributeTimothy Flynn
2023-04-07LibWeb: Indicate that we may be able to play video MIME typesTimothy Flynn
2023-04-07LibWeb: Parse and load the HTMLMediaElement's src attributeTimothy Flynn
The spec for loading a media element is quite huge. This implements just enough to parse the attribute, fetch the corresponding media object, and decode the media object (if it is a video). While doing so, this also implements most network state tracking and firing DOM events that may be observed via JavaScript.
2023-04-07LibWeb: Implement TrackEvent for media eventsTimothy Flynn
2023-04-07LibWeb: Implement VideoTrack and VideoTrackListTimothy Flynn
This implements the IDL for these types and some event handling around them.
2023-04-07LibWeb: Define steps to queue a media element task on a HTMLMediaElementTimothy Flynn
2023-04-07LibWeb: Define missing media HTML event namesTimothy Flynn
2023-04-07LibWeb: Sort HTML event namesTimothy Flynn
2023-04-07LibWeb: Implement HTMLMediaElement's networkState attributeTimothy Flynn
2023-04-07LibWeb: Support taking matching tasks out of a task queueTimothy Flynn
This will be needed for HTMLMediaElement.
2023-04-07LibWeb: Support unique task sourcesTimothy Flynn
Some elements, like HTMLMediaElement, must have a unique task sources for every instance of that element that is created. Support this with a simple wrapper around IDAllocator.
2023-04-07LibWeb: Use max-width property in table formattingmartinfalisse
2023-04-07LibWeb: Don't put abspos grid/flex items in anonymous wrapperAndreas Kling
Grid and flex containers have their own rules for abspos items, so we shouldn't try to be clever and put them in the "current" anonymous wrapper block. That behavior is primarily for the benefit of block & inline layout.
2023-04-06LibWeb: Port {HTML,UIEvents,XHR}::EventNames to new StringKenneth Myhra
2023-04-06LibWeb: Move string literals to {HTML,UIEvents}::EventNames.hKenneth Myhra
This moves the reamining string literals from GlobalEventHandlers.h to {HTML,UIEvents}::EventNames.h.