Skip to content

Commit a288838

Browse files
authored
CSS: Make the reliableTrDimensions support test work with Bootstrap CSS (3.x version)
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
1 parent 87467a6 commit a288838

File tree

8 files changed

+12117
-2
lines changed

8 files changed

+12117
-2
lines changed

Gruntfile.js

+4
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ module.exports = function( grunt ) {
8989
destPrefix: "external"
9090
},
9191
files: {
92+
"bootstrap/bootstrap.css": "bootstrap/dist/css/bootstrap.css",
93+
"bootstrap/bootstrap.min.css": "bootstrap/dist/css/bootstrap.min.css",
94+
"bootstrap/bootstrap.min.css.map": "bootstrap/dist/css/bootstrap.min.css.map",
95+
9296
"core-js/core-js.js": "core-js/client/core.min.js",
9397
"core-js/LICENSE.txt": "core-js/LICENSE",
9498

0 commit comments

Comments
 (0)