mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
071f6dba6b
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
25 lines
415 B
HTML
25 lines
415 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<style>
|
|
html {
|
|
zoom: 2.1;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<script src="../../jquery.js"></script>
|
|
<script src="../iframeTest.js"></script>
|
|
<script src="getComputedSupport.js"></script>
|
|
</div>
|
|
<script>
|
|
startIframeTest(
|
|
getComputedStyle( document.documentElement ),
|
|
getComputedSupport( jQuery.support )
|
|
);
|
|
</script>
|
|
</body>
|
|
</html>
|