Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-04-09 | LibWeb: Implement WritableStreamDefaultWriter.releaseLock() | Matthew Olsson | |
2023-04-09 | LibWeb: Implement WritableStreamDefaultWriter.close() | Matthew Olsson | |
2023-04-09 | LibWeb: Implement WritableStreamDefaultWriter.abort() | Matthew Olsson | |
2023-04-09 | LibWeb: Implement WritableStream.abort() | Matthew Olsson | |
2023-04-09 | LibWeb: Implement WritableStream.getWriter() | Matthew Olsson | |
2023-04-09 | LibWeb: Remove duplicate declaration in Streams/AbstractOperations.h | Matthew Olsson | |
2023-04-09 | LibWeb/Fetch: Use a basic filtered response for redirect navigations | Aliaksandr Kalenik | |
Match following change in the spec: https://github.com/whatwg/fetch/commit/8f109835dcff90d19caed4b551a0da32d9d0f57e | |||
2023-04-09 | LibWeb: 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-09 | LibWeb: Add simple canvas path clipper | MacDue | |
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-09 | LibWeb: Implement WritableStream.close() | Matthew Olsson | |
2023-04-09 | LibWeb/HTML: Use correct spec link for multipart/form-data encoding | Linus Groh | |
2023-04-09 | LibWeb: Port fire_webgl_context_event() to new FlyString | Kenneth Myhra | |
2023-04-09 | LibWeb: Add WebGL::EventNames | Kenneth Myhra | |
2023-04-09 | LibWeb: Port fire_keyboard_event() to new FlyString | Kenneth Myhra | |
2023-04-09 | LibWeb: Port fire_a_synthetic_pointer_event() to new FlySring | Kenneth Myhra | |
2023-04-09 | LibWeb: Port fire_a_page_transition_event() to new FlyString | Kenneth Myhra | |
2023-04-09 | LibWeb: Port fire_progress_event() + request_error_steps() to new String | Kenneth 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-09 | LibWeb: Port DOMEventListener to new FlyString | Kenneth Myhra | |
2023-04-09 | LibWeb: Port EventTarget to new {Fly}String | Kenneth Myhra | |
2023-04-09 | LibWeb: Add the WritableStreamDefaultController | Matthew Olsson | |
2023-04-08 | LibWeb: Begin painting video controls on HTMLVideoElement layout nodes | Timothy 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-08 | LibWeb: Set the media ready state to HAVE_ENOUGH_DATA after fetching | Timothy Flynn | |
Because we currently both fetch and process the media data in one chunk, we have enough data for playback immediately. | |||
2023-04-08 | LibWeb: Implement HTMLMediaElement.play | Timothy Flynn | |
This also includes the HTMLMediaElement's list of pending play promises, which is coupled pretty tightly with HTMLMediaElement.play. | |||
2023-04-08 | LibWeb: Implement HTMLMediaElement.pause | Timothy Flynn | |
2023-04-08 | LibWeb: Implement the HTMLMediaElement paused attribute | Timothy 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-08 | LibWeb: Implement HTMLMediaElement.load | Timothy Flynn | |
2023-04-08 | LibWeb: Log correct error object when failing to decode a video sample | Timothy Flynn | |
2023-04-08 | LibWeb: Add missing include to WebIDL::Promise | Timothy Flynn | |
WebIDL::Promise is aliased to a JS::PromiseCapability. This missing include would cause a compile error in an upcoming commit. | |||
2023-04-07 | LibWeb: Port {Mouse,UI,Wheel,}Event to new String | Kenneth 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-07 | LibWeb: Move string literals to HTML::EventNames | Kenneth Myhra | |
This moves the string literals animation{end,iteration,start} and transitionend to HTML::EVentNames. | |||
2023-04-07 | LibWeb: 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-07 | LibWeb: Port CustomEvent to new String | Kenneth Myhra | |
2023-04-07 | LibWeb: Create a basic layout node for HTMLVideoElement | Timothy Flynn | |
2023-04-07 | LibWeb: Implement HTMLVideoElement's video{Width,Height} attributes | Timothy Flynn | |
2023-04-07 | LibWeb: Begin implementing HTMLMediaElement's readyState attribute | Timothy 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-07 | LibWeb: Implement HTMLMediaElement's duration attribute | Timothy Flynn | |
2023-04-07 | LibWeb: Indicate that we may be able to play video MIME types | Timothy Flynn | |
2023-04-07 | LibWeb: Parse and load the HTMLMediaElement's src attribute | Timothy 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-07 | LibWeb: Implement TrackEvent for media events | Timothy Flynn | |
2023-04-07 | LibWeb: Implement VideoTrack and VideoTrackList | Timothy Flynn | |
This implements the IDL for these types and some event handling around them. | |||
2023-04-07 | LibWeb: Define steps to queue a media element task on a HTMLMediaElement | Timothy Flynn | |
2023-04-07 | LibWeb: Define missing media HTML event names | Timothy Flynn | |
2023-04-07 | LibWeb: Sort HTML event names | Timothy Flynn | |
2023-04-07 | LibWeb: Implement HTMLMediaElement's networkState attribute | Timothy Flynn | |
2023-04-07 | LibWeb: Support taking matching tasks out of a task queue | Timothy Flynn | |
This will be needed for HTMLMediaElement. | |||
2023-04-07 | LibWeb: Support unique task sources | Timothy 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-07 | LibWeb: Use max-width property in table formatting | martinfalisse | |
2023-04-07 | LibWeb: Don't put abspos grid/flex items in anonymous wrapper | Andreas 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-06 | LibWeb: Port {HTML,UIEvents,XHR}::EventNames to new String | Kenneth Myhra | |
2023-04-06 | LibWeb: Move string literals to {HTML,UIEvents}::EventNames.h | Kenneth Myhra | |
This moves the reamining string literals from GlobalEventHandlers.h to {HTML,UIEvents}::EventNames.h. |