I am testing logic that calculates the screen bounds of a web contents.
It does so with something like
(actual code here
) which I think
In tests, I set the web contents bounds with
It works for all platforms except Windows, where the actual bounds are sometimes ~8 pixels different than expected. An Example failure is here
What am I doing wrong?
Thanks for your help with a prickly problem,