Re: [csswg-drafts] [css-values-4] Add new relative length units that are relative to the size of the system cursor (#8315)

> when You open context menu You want this menu to be anchored to this exact point and not move when moving cursor

Though context menus are a totally different use case. And they normally also don't require to take the cursor size into account because they open at the pixel the user clicked.

> > The keyword probably would have to compute to itself in order to avoid fingerprinting.
> 
> But if it affects the position, a script can always use `getClientRects()` to measure it. Privacy concerns still apply.

Right. It would still be possible to calculate the size of the cursor and with that infer the OS. I guess there's no way around that then unless `getClientRects()`, `getBoundingClientRect()` and possibly other functions somehow don't expose the info in those cases.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8315#issuecomment-1396214107 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 18 January 2023 23:09:31 UTC