]> source.dussan.org Git - jquery.git/commit
CSS: Make the reliableTrDimensions support test work with Bootstrap CSS (3.x version)
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 10 Jul 2023 16:26:45 +0000 (18:26 +0200)
committerGitHub <noreply@github.com>
Mon, 10 Jul 2023 16:26:45 +0000 (18:26 +0200)
commita288838c6f2ddd08c41e09b4672ad39a03822b04
tree0ab25dbf6516a6562b41eda49868ced8c72869c8
parent87467a6f62b5fbd820ab387836e2a6fb186cbc1b
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
Gruntfile.js
external/bootstrap/bootstrap.css [new file with mode: 0644]
external/bootstrap/bootstrap.min.css [new file with mode: 0644]
external/bootstrap/bootstrap.min.css.map [new file with mode: 0644]
package.json
src/css/support.js
test/data/support/bootstrap.html [new file with mode: 0644]
test/unit/support.js