On Tuesday, May 31, 2022 at 7:55:17 AM UTC-7 Paul Jensen wrote:

> Is the SVG cursor size discernible to the site?
>
*No, the actual size isn't discernible to the site. I believe that there is 
no way currently for Web Developers to know the size of the system cursor 
or whether it's being scaled by system settings.*

>
> On Thursday, May 26, 2022 at 9:18:09 PM UTC-4 Chris Harrelson wrote:
>
>> Hi Sahir,
>>
>> On Thu, May 26, 2022 at 1:44 PM 'Sahir Vellani' via blink-dev <
>> [email protected]> wrote:
>>
>>> Platform cursor size used as default for custom SVG cursors if no 
>>> specified size. SVG cursors can scale based on the platform 
>>> accessibility/cursor settings. This can be overridden if the cursor has any 
>>> specified dimensions. This feature is initially available on Windows only.
>>>
>> Could you say why? Is it hard to implement?
>>
> *On MacOS, it doesn't seem like the cursor size is readily available as 
part of the NSCursor API. I don't have too much expertise with the MacOS 
SDK so further investigation will be required. We do have plans to get this 
working on linux in the near future. However, I did not want that to block 
getting this enabled by default in Windows since it is an accessibility 
issue. *

>  
>>
>>>
>>>
>>> Interoperability and Compatibility
>>>
>>> Web developers will need to reexamine the way they handle SVG cursors 
>>> with no specified sizes. A custom cursor may be rendered where it was 
>>> previously just the default cursor image.
>>>
>>
>> Is it possible this will break sites? How many sites use SVG cursors 
>> right now?
>>
> *It seems unlikely, but unfortunately I do not have that number. The only 
way a site would break is if it was dependent on the default cursor being 
rendered over a certain area of the page. This change still has SVG cursors 
comply with the maximum cursor size supported by Chromium.* 

>  
>>
>>>
>>> *Gecko*: No signal
>>>
>>> *WebKit*: No signal
>>>
>>
>> What do Gecko and Webkit do at the moment?
>>
> *Both browsers currently have the same behavior. Custom SVG cursors are 
not rendered if no size is specified.* 

>  
>>
>>>
>>> *Web developers*: No signals
>>>
>>> *Other signals*:
>>>
>>> WebView application risks
>>>
>>> Does this intent deprecate or change behavior of existing APIs, such 
>>> that it has potentially high risk for Android WebView-based applications?
>>>
>>>
>>>
>>> Debuggability
>>>
>>>
>>>
>>> Will this feature be supported on all six Blink platforms (Windows, Mac, 
>>> Linux, Chrome OS, Android, and Android WebView)?
>>> No
>>>
>>> Is this feature fully tested by web-platform-tests 
>>> <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
>>> ?
>>> No
>>>
>>> Flag name
>>>
>>> Requires code in //chrome?
>>> False
>>>
>>> Tracking bug
>>> https://bugs.chromium.org/p/chromium/issues/detail?id=737459
>>>
>>> Estimated milestones
>>>
>>> 105
>>>
>>>
>>> Anticipated spec changes
>>>
>>> Open questions about a feature may be a source of future web compat or 
>>> interop issues. Please list open issues (e.g. links to known github issues 
>>> in the project for the feature specification) whose resolution may 
>>> introduce web compat/interop risk (e.g., changing to naming or structure of 
>>> the API in a non-backward-compatible way).
>>>
>>>
>>> Link to entry on the Chrome Platform Status
>>> https://chromestatus.com/feature/5112911184789504
>>>
>>> This intent message was generated by Chrome Platform Status 
>>> <https://chromestatus.com/>.
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "blink-dev" group.
>>>
>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to [email protected].
>>
>>
>>> To view this discussion on the web visit 
>>> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/b87b0ab4-836d-45f0-af04-2ce26b3e718an%40chromium.org
>>>  
>>> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/b87b0ab4-836d-45f0-af04-2ce26b3e718an%40chromium.org?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/3f6197a3-adc9-4e8e-877a-4ab6ed66726an%40chromium.org.

Reply via email to