]> source.dussan.org Git - jquery.git/commit
CSS:Tests: Fix tests & support tests under CSS Zoom
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 3 Jun 2024 16:15:23 +0000 (18:15 +0200)
committerGitHub <noreply@github.com>
Mon, 3 Jun 2024 16:15:23 +0000 (18:15 +0200)
commit071f6dba6bd1d8db3f36ce4694aab5ff437b9e36
tree1ab73f6ddb8e537726f515caab6bb47566b71da6
parentf2d9fde5f34c83a098fa2074ed808311086d9d23
CSS:Tests: Fix tests & support tests under CSS Zoom

Firefox 126+ implements CSS zoom in a way it affects width computed style
very slightly (`100.008px` instead of `100px`); accept that difference.

Add a test for support tests resolving the same under CSS zoom & without one.
That test uncovered Chrome failing the `reliableTrDimensions` support test
under zoom; the test has been fixed.

Fixes gh-5489
Closes gh-5495
Ref gh-5496
src/css/support.js
test/data/support/zoom.html [new file with mode: 0644]
test/unit/css.js
test/unit/support.js