mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
a288838c6f
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-5279 Ref gh-5278
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>
|