1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09:00
ladybird/Services
Sam Atkins bfd7ac1204 LibWeb+WebContent+UI: Support image cursors
The `cursor` property accepts a list of possible cursors, which behave
as a fallback: We use whichever cursor is the first available one. This
is a little complicated because initially, any remote images have not
loaded, so we need to use the fallback standard cursor, and then switch
to another when it loads.

So, ComputedValues stores a Vector of cursors, and then in EventHandler
we scan down that list until we find a cursor that's ready for use.

The spec defines cursors as being `<url>`, but allows for `<image>`
instead. That includes functions like `linear-gradient()`.

This commit implements image cursors in the Qt UI, but not AppKit.
2025-02-28 13:50:13 +01:00
..
ImageDecoder LibGfx: Log error on invalid color profile 2025-02-26 16:14:56 +01:00
RequestServer LibDNS: Ensure non-blocking socket is used for TCP connections 2025-02-22 18:39:58 +01:00
WebContent LibWeb+WebContent+UI: Support image cursors 2025-02-28 13:50:13 +01:00
WebDriver LibWeb+WebContent+WebDriver: Port WebDriver to String 2025-02-20 19:27:51 -05:00
WebWorker LibWeb: Make PolicyContainer GC allocated 2025-02-21 12:43:48 +00:00
CMakeLists.txt Everywhere: Hoist the Services folder to the top-level 2024-11-10 12:50:45 +01:00