Version
Runtime: 95.0.1020.44
Framework: WinUI3 / .NET MAUI Blazor (webview2)
OS: Win10
Repro Steps
- Create a basic WinUI3 app with a WebView2 browser component.
- Create an html string with a style section and one element that has a class name defined in that style section.
- In the style for that class, set the cursor to some url that loads a 32x32 pixel png image in BASE64 format.
- run the application.
Expected Result
When hovering over the html element, the cursor should change into the one defined in the style section.
Actual Result
The default cursor is used when hovering over the html element.
Extra Information
In a .net maui blazor (webview2) context, I experienced this issue too, and there I use a style sheet that loads the url from a file with the same result.
In both contexts it is possible to load and show the image as a background;
A blazor webassembly application that uses the same code (including style sheets) behaves as expected.
AB#29849024
Version
Runtime: 95.0.1020.44
Framework: WinUI3 / .NET MAUI Blazor (webview2)
OS: Win10
Repro Steps
Expected Result
When hovering over the html element, the cursor should change into the one defined in the style section.
Actual Result
The default cursor is used when hovering over the html element.
Extra Information
In a .net maui blazor (webview2) context, I experienced this issue too, and there I use a style sheet that loads the url from a file with the same result.
In both contexts it is possible to load and show the image as a background;
A blazor webassembly application that uses the same code (including style sheets) behaves as expected.
AB#29849024