mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
65b85031fb
Bootstrap 5 includes the following CSS on the page: ```css *, *::before, *::after { box-sizing: border-box; } ``` That threw our `reliableTrDimensions` support test off. This change fixes the support test and adds a unit test ensuring support test values on a page including Bootstrap 5 CSS are the same as on a page without it. Fixes gh-5270 Closes gh-5278 Ref gh-5279
21 lines
444 B
HTML
21 lines
444 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<link rel="stylesheet" href="../../../external/bootstrap/bootstrap.min.css" class="stylesheet">
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<script src="../../jquery.js"></script>
|
|
<script src="../iframeTest.js"></script>
|
|
<script src="getComputedSupport.js"></script>
|
|
</div>
|
|
<script>
|
|
startIframeTest(
|
|
getComputedStyle( document.body ),
|
|
getComputedSupport( jQuery.support )
|
|
);
|
|
</script>
|
|
</body>
|
|
</html>
|