Skip to content

Commit

Permalink
CSS: Make the reliableTrDimensions support test work with Bootstrap C…
Browse files Browse the repository at this point in the history
…SS (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
  • Loading branch information
mgol committed Jul 10, 2023
1 parent 87467a6 commit a288838
Show file tree
Hide file tree
Showing 8 changed files with 12,117 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Gruntfile.js
Expand Up @@ -89,6 +89,10 @@ module.exports = function( grunt ) {
destPrefix: "external"
},
files: {
"bootstrap/bootstrap.css": "bootstrap/dist/css/bootstrap.css",
"bootstrap/bootstrap.min.css": "bootstrap/dist/css/bootstrap.min.css",
"bootstrap/bootstrap.min.css.map": "bootstrap/dist/css/bootstrap.min.css.map",

"core-js/core-js.js": "core-js/client/core.min.js",
"core-js/LICENSE.txt": "core-js/LICENSE",

Expand Down

0 comments on commit a288838

Please sign in to comment.