The CSS cursor
property can accept either a keyword for a named cursor, or a url for an arbitrary image to use as the cursor. Currently, we parse both, but completely ignore urls:
ladybird/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp
Lines 803 to 807 in 7f50f65
As an example:
<!doctype html>
<style>
.catdog {
cursor: url("https://raw.githubusercontent.com/SerenityOS/serenity/2a19fb526145eaf2275d140d51ef303287bcab52/Base/res/graphics/catdog/still.png");
}
</style>
<p>Hello!</p>
<p class="catdog">Hover this paragraph for a catdog cursor</p>
<p>But not this one</p>
I don't think we can actually use a test for this though, because the cursor won't appear in screenshots.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too