Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot parse calculations without spaces around the * operator #138

Closed
stof opened this issue Sep 28, 2021 · 5 comments · Fixed by #144
Closed

Cannot parse calculations without spaces around the * operator #138

stof opened this issue Sep 28, 2021 · 5 comments · Fixed by #144

Comments

@stof
Copy link

stof commented Sep 28, 2021

  • Operating System (or Browser): Ubuntu
  • Node Version: 14.17.6
  • postcss-values-parser Version: 2.0.1

How Do We Reproduce?

Parse the value calc(var(--bs-gutter-y)*-1)

Expected Behavior

Parsing is successful

Actual Behavior

A ParserError is reported.

Note that this comes from the issue reported at sass/dart-sass#1496. Newer versions of sass produce this value in compressed mode when compiling the sass code of Bootstrap 5. Older versions were putting spaces around the * operator, but they are optional in CSS for the * and / operators.

@stof stof changed the title Cannot parse Cannot parse calculations without spaces around the * operator Sep 28, 2021
@stof
Copy link
Author

stof commented Sep 28, 2021

Looking at it, this version is far outdated. But it is the version used (transitively) by postcss-preset-env, which is used in create-react-app

@tagliala
Copy link

tagliala commented Oct 4, 2021

This package is also transitively used by Webpacker 5, so at the moment it is not possible to compile Bootstrap with NODE_ENV=production out of the box

@shellscape
Copy link
Owner

PRs are welcome

@liujingbreak
Copy link

liujingbreak commented Nov 19, 2021

Same issue of mine on postcss-values-parser@2.0.1, it is due to the parser logic has strict check on calc() expression when its default option is {loose: false}, it does not allow an operator character to follow another operator character without a space charactor in between, in my case 2*-1 is invalid, but 2* -1 is valid.

ERROR in ./node_modules/@material/layout-grid/mdc-layout-grid.scss
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/postcss-loader/src/index.js):
ParserError: Syntax Error at line: 1, column 52
calc(var(--mdc-layout-grid-gutter-desktop, 24px)/2*-1)

at /Users/liujing/bk/plink/react-space/node_modules/@material/layout-grid/mdc-layout-grid.scss:1:932
    at Parser.error (/Users/liujing/bk/plink/react-space/node_modules/postcss-values-parser/lib/parser.js:127:11)
    at Parser.operator (/Users/liujing/bk/plink/react-space/node_modules/postcss-values-parser/lib/parser.js:162:20)
    at Parser.parseTokens (/Users/liujing/bk/plink/react-space/node_modules/postcss-values-parser/lib/parser.js:245:14)
    at Parser.loop (/Users/liujing/bk/plink/react-space/node_modules/postcss-values-parser/lib/parser.js:132:12)
    at Parser.parse (/Users/liujing/bk/plink/react-space/node_modules/postcss-values-parser/lib/parser.js:51:17)
    at parse (/Users/liujing/bk/plink/react-space/node_modules/postcss-custom-properties/src/lib/postcss-values-parser.js:4:29)
    at callback (/Users/liujing/bk/plink/react-space/node_modules/postcss-custom-properties/src/lib/transform-properties.js:11:21)

In create-react-app production mode, some Webpack plugin or loader removed all space from source SCSS file which leads to this issue, now it is hard to so say whose fault this is postcss-values-parsers or create-react-app's unknown Webpack plugin (my guess is something related to mini-css-extract-plugin)

Screen Shot 2021-11-19 at 2 43 24 PM

@jeffbax
Copy link

jeffbax commented Dec 2, 2021

I don't quite have a sample available as I'm not great at debugging this type of issue (will try more in a bit), but I'm seeing something similar to @tagliala having recently updated Webpacker in my project -- except in theory for the - character surfacing:

Syntax Error
[ 'operator', '-', 1, 25, 1, 26, 24 ]

when I add some crude logging to postcss-values-parser/lib/parser.js within error (message, token)

at the moment I'm resolving it by locking sass@~1.39.2 in my yarn resolutions -- so it seems like something after 1.40.0 is not playing nicely

tagliala added a commit to tagliala/bootstrap that referenced this issue Sep 3, 2022
postcss-values-parser returns a syntax error when a negative value is
provided in a `calc` function after a CSS variable.

This is not an issue with Bootstrap itself, but a workaround to allow
projects using postcss-values-parser to keep upgrading and compiling
bootstrap

Ref: shellscape/postcss-values-parser#138, twbs#35033

Fix: twbs#36851
mdo pushed a commit to twbs/bootstrap that referenced this issue Sep 4, 2022
postcss-values-parser returns a syntax error when a negative value is
provided in a `calc` function after a CSS variable.

This is not an issue with Bootstrap itself, but a workaround to allow
projects using postcss-values-parser to keep upgrading and compiling
bootstrap

Ref: shellscape/postcss-values-parser#138, #35033

Fix: #36851
julien-deramond added a commit to Orange-OpenSource/Orange-Boosted-Bootstrap that referenced this issue Sep 8, 2022
postcss-values-parser returns a syntax error when a negative value is
provided in a `calc` function after a CSS variable.

This is not an issue with Boosted itself, but a workaround to allow
projects using postcss-values-parser to keep upgrading and compiling
Boosted

Ref: shellscape/postcss-values-parser#138
julien-deramond added a commit to Orange-OpenSource/Orange-Boosted-Bootstrap that referenced this issue Sep 9, 2022
postcss-values-parser returns a syntax error when a negative value is
provided in a `calc` function after a CSS variable.

This is not an issue with Boosted itself, but a workaround to allow
projects using postcss-values-parser to keep upgrading and compiling
Boosted

Ref: shellscape/postcss-values-parser#138
nkdas91 added a commit to materialstyle/materialstyle that referenced this issue Oct 13, 2022
* Bump @rollup/plugin-commonjs from 22.0.1 to 22.0.2 (#36929)

Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 22.0.1 to 22.0.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v22.0.2/packages/commonjs)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Docs: Fix js options to what is really inside js (#37019)

* Change offcanvas to be more consistent with carousel and dropdown

* Set cursor to auto instead of pointer on `.DocSearch-Container`

* Add a comment for track the bug.

* Adding missing CSS variables for `z-index`

* Docs: improve cards image overlays markup

* bugfix undefined border color variable for btn

* More consistency for CSS/Sass vars doc for components with dark variants

* Fix for horizontal list-group item

* Fix input group z-index focus + validation

* Add default select example in cheatsheet (#36877)

Co-authored-by: Julien Déramond <julien.deramond@orange.com>

* v5/docs: reintroduce `outline` for docs code samples, buttons when `:not(:focus-visible)` (#36507)

* Remove outline suppression for focused `<pre>`

Sighted keyboard users rely on knowing where their focus is. If the `<pre>` receives focus (so that it can be scrolled by keyboard users, for instance) then it's essential that they know this is the case

* Only suppress outline for buttons when `:not(:focus-visible)`

* Add right-hand margin to pre

avoids having the focus outline awkwardly clipped by the copy button

* Update dependencies

* Fix padding on starter template

* Fix accordion: use $accordion-color rather than computing it via color-contrast

* Fix bump popperjs from 2.11.5 to 2.11.6

* Fix

* Replace wrong mobile OS Windows with iOS

* Document how to extract CSS, SVG for strict CSP (#36587)

* Webpack: explain how to extract CSS from bundle

* Webpack: explain how to extract SVG from bundle

* Update webpack.md

Co-authored-by: Mark Otto <otto@github.com>

* Make docs clearer by dropping precompiled for compiled

* flush variant of accordion border radius (#36593)

* flush variant of accordion border radius

Fixed issues regarding to last accordion-item has rounded edges at the bottom left and right corners when focused and are in closed state

* Update _accordion.scss

Co-authored-by: Mark Otto <otto@github.com>

* Improve language around vertical grid gutters

* fix(dropdowns): Fix multiple dropdowns when they are inside the same tag (#37011)

* Set up a resuming table such as what's in other components.

* Bump eslint-config-xo from 0.41.0 to 0.42.0 (#37052)

Bumps [eslint-config-xo](https://github.com/xojs/eslint-config-xo) from 0.41.0 to 0.42.0.
- [Release notes](https://github.com/xojs/eslint-config-xo/releases)
- [Commits](xojs/eslint-config-xo@v0.41.0...v0.42.0)

---
updated-dependencies:
- dependency-name: eslint-config-xo
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump rtlcss from 3.5.0 to 4.0.0 (#36968)

Bumps [rtlcss](https://github.com/MohammadYounes/rtlcss) from 3.5.0 to 4.0.0.
- [Release notes](https://github.com/MohammadYounes/rtlcss/releases)
- [Changelog](https://github.com/MohammadYounes/rtlcss/blob/master/CHANGELOG.md)
- [Commits](MohammadYounes/rtlcss@v3.5.0...v4.0.0)

---
updated-dependencies:
- dependency-name: rtlcss
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add workarounds for postcss values parser error

postcss-values-parser returns a syntax error when a negative value is
provided in a `calc` function after a CSS variable.

This is not an issue with Bootstrap itself, but a workaround to allow
projects using postcss-values-parser to keep upgrading and compiling
bootstrap

Ref: shellscape/postcss-values-parser#138, twbs/bootstrap#35033

Fix: #36851

* Rework button focus/active styling, with extra changes for checks/radios (#37026)

* Replace :focus styles with :focus-visible

* Remove :active / .active styles

* Don't apply :hover styles for `.btn` that follows a `.btn-check`

This removes a large part of the visual confusion of button checks/radios - that you currently have to move your mouse away from them to see what they actually changed to (checked or unchecked)

* Reintroduce :active, but *not* for button checks/radios

* Sort focus styling specifically for button checks/radios

don't change background on focus, just give it the border/outline. again, avoids confusion whether something is checked or not while focused

* Re-add `outline:0` which was lost when resolving last merge conflict

Co-authored-by: Mark Otto <markd.otto@gmail.com>

* Remove gradient from .btn-link

* Update _button-group.scss

* Update _button-group.scss

* Fix accordion button color

Use the Sass variable `$accordion-button-color` to set the CSS custom
property `--bs-accordion-btn-color`.

* Fix tooltip manual toggling (#37086)

partial regression of SHA: 9b9372e

* Fix modal event-listeners during dismiss click (#36863)

ref: #36855

* Release v5.2.1 (#37098)

* Bump version to v5.2.1.

* Dist

* Bump stylelint-config-twbs-bootstrap from 5.0.0 to 6.0.0 (#37087)

Bumps [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/twbs/stylelint-config-twbs-bootstrap/releases)
- [Commits](twbs/stylelint-config-twbs-bootstrap@v5.0.0...v6.0.0)

---
updated-dependencies:
- dependency-name: stylelint-config-twbs-bootstrap
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>

* Bump @babel/preset-env from 7.18.10 to 7.19.0 (#37088)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.18.10 to 7.19.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.19.0/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @babel/core from 7.18.13 to 7.19.0 (#37090)

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.18.13 to 7.19.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.19.0/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump sass from 1.54.8 to 1.54.9 (#37133)

Bumps [sass](https://github.com/sass/dart-sass) from 1.54.8 to 1.54.9.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](sass/dart-sass@1.54.8...1.54.9)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump autoprefixer from 10.4.8 to 10.4.10 (#37140)

Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.8 to 10.4.10.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](postcss/autoprefixer@10.4.8...10.4.10)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump eslint from 8.23.0 to 8.23.1 (#37134)

Bumps [eslint](https://github.com/eslint/eslint) from 8.23.0 to 8.23.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.23.0...v8.23.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>

* Bump @rollup/plugin-node-resolve from 13.3.0 to 14.1.0 (#37135)

Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 13.3.0 to 14.1.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/node-resolve-v14.1.0/packages/node-resolve)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-node-resolve"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Docs: minor fix for Navbar > Offcanvas examples (#37145)

* fix: add trick to support tooltip selector usage on dynamic created tooltips that utilize `title` attribute (#36914)

* Docs: Fix typo Getting Started > Vite and Webpack guides (#37153)

* 'were to look' → 'where to look'

Co-authored-by: Julien Déramond <juderamond@gmail.com>

* Docs: Add informative note for Tooltip/Popover selector option (#37142)

Co-authored-by: Julien Déramond <juderamond@gmail.com>

* Fix modal event listeners (#37128)

* Fix modal event listeners (#37126)

Co-authored-by: GeoSot <geo.sotis@gmail.com>

* Update devDependencies (#37177)

* Set toast z-index variable in the correct spot

The .toast-container tries to use the z-index CSS variable, which is defined under .toast. 
However, this variable is not accessible to the container. This change copies the variable to the spot where it can be used.

* Explicitly target `.btn-check` and undo `:hover` (#37165)

rather than the other way around, which caused specificity issues

* Drop tabs auto-focus (#37146)

* fix: drop tabs auto-focus

* Bump karma from 6.4.0 to 6.4.1 (#37178)

Bumps [karma](https://github.com/karma-runner/karma) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](karma-runner/karma@v6.4.0...v6.4.1)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Use Sass variable for accordion color (#37182)

Fixes #37144

* Use es6 on visual tests (#36915)

* Fix active class toggling of tabs within dropdown (#37151)

* Close #36947: fix active class toggling tabs within dropdown

* Add PR template (#35079)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: GeoSot <geo.sotis@gmail.com>
Co-authored-by:  julien-deramond <julien.deramond@orange.com>

* Tests: add testcase to Tabs, keyboard handler (#37189)

* Replace Webpack and Vite PNGs by SVGs (#37199)

* Replace Webpack and Vite pngs by svgs

* Update vite.svg

* Update webpack.svg

Co-authored-by: XhmikosR <xhmikosr@gmail.com>

* Update devDependencies (#37208)

* autoprefixer   ^10.4.11  →  ^10.4.12
* eslint          ^8.23.1  →   ^8.24.0
* hugo-bin        ^0.91.1  →   ^0.92.1
* lockfile-lint    ^4.8.0  →    ^4.9.3
* rollup          ^2.79.0  →   ^2.79.1
* sass            ^1.54.9  →   ^1.55.0
* stylelint      ^14.12.0  →  ^14.12.1

* Slightly improve PNG files compression (#36899)

* Dropdown: fix case with invalid markup (#37190)

This fixes a backward incompatible change in v5.2.1 where `.drodown-toggle` isn't present in the markup.

* Changing the way `View on GitHub` links are handled (#37214)

* NuGet: Use license expression (#36421)

* Add eslint-plugin-html to lint JS in HTML files (#37186)

* Minor docs changes (#37215)

* Update devDependencies (#37238)

* Update devDependencies

* @babel/cli             ^7.18.10  →   ^7.19.3
* @babel/core             ^7.19.1  →   ^7.19.3
* @babel/preset-env       ^7.19.1  →   ^7.19.3
* eslint-plugin-unicorn   ^43.0.2  →   ^44.0.0
* hugo-bin                ^0.92.1  →   ^0.92.2
* lockfile-lint            ^4.9.3  →    ^4.9.5
* postcss                 ^8.4.16  →   ^8.4.17
* stylelint              ^14.12.1  →  ^14.13.0
* vnu-jar                21.10.12  →   22.9.29

* toast.js: fix new lint errors

* Use `<h1>` for all `modal-title` examples/uses (#37210)

* Use `fs-` font sizing classes where needed
* Also add info callout about heading hierarchy in modals

* Ensure Tab keyboard functionality after #37146 (#37200)

* fix: keyboard functionality

* test: add tests

* Add some focus spies in 2 other unit tests

Co-authored-by: Julien Déramond <juderamond@gmail.com>

* Don't redefine `$border-color` in `table-variant` mixin (#37239)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>

* Release v5.2.2 (#37236)

* Bump version to v5.2.2

* Dist

* Minor grammatical fixes

REF:
https://en.wikipedia.org/wiki/Ajax_(programming)
https://en.wikipedia.org/wiki/Server-side

* Rename some vars in tab unit tests for consistency (#37248)

* Add color CSS vars for .alert-link (#36456)

* color css vars for .alert-link

* Update scss/mixins/_alert.scss

Co-authored-by: Mark Otto <otto@github.com>

* color css vars for .btn-close

* Add new css vars for Offcanvas (#36815)

* Add 3 new css vars for Offcanvas feature

* Fix new css variable after review

* Update _offcanvas.scss

Co-authored-by: Mark Otto <otto@github.com>

* add font-weight-medium(=500) / fw-medium (#36781)

* add font-weight-medium = 500

* Update _utilities.scss

* Added breakpoints as css variables (#36095)

* Update bundlewatch

* Add parameters to the caret mixin

* Add new border-radius utilities (#36540)

* Add new border-radius utilities

* Fix bundlewatch

* Fix bundlewatch again

Co-authored-by: Mark Otto <markdotto@gmail.com>

* Correct typo in documentation for hiding elements (#37250)

* Update bundle

* Remove ignored files from git

* Remove duplicate `--#{$prefix}offcanvas-zindex` (#37257)

* Fix close button padding inside offcanvas

* Add an artificial background to floating labels (#37125)

* fix tooltip/popper disposal inconsistencies (#37235)

* Rename examples CSS/JS files for consistency

* Add `$enable-important-utilities` condition in colored links

* fix(carousel): RTL `translate()` direction

Trying to fix #37180

* Fix button hover color in cover example
Replaced .btn-secondary class with .btn-light

* Utilities for overflow and object fit (#36848)

* Added "overflow-x" and "overflow-y"

- Having the same properties as overflow but for just the x and y axises
- Usecase being I want my y axis to be scrollable but not my x axis
- E.g a card with a vertical list of items.

* Added "object-fit" utilities

- The CSS object-fit property is used to specify how an <img> or <video> should be resized to fit its container.
- A responsive alternative to using background-img for a resizable fill/fit image.

* Updated documantation for the overflow utilities

- Now includes docs for `overflow-x` and `overflow-y` utilities

* Placeholder shortcode updated

- Can now choose to render an img tag or svg
- The image contains a base64 svg generated within the template
- example shortcode updated to detect, replace and render preview of 'img' tags as well

* New documentaion for Object Fit added

- Documentation added for the 'object-fit' util

* Updated spell checks issues

* Update object-fit.md

* Update overflow.md

* Update object-fit.md

* Updated markup to address HTML Validation Errors

- error: Bad value  for attribute "src" on element "img": Illegal character in scheme data: space is not allowed.
- info warning: Self-closing tag syntax in text/html documents is widely discouraged; it's unnecessary and interacts badly with other HTML features (e.g., unquoted attribute values). If you're using a tool that injects self-closing tag syntax into all void elements, without any option to prevent it from doing so, then consider switching to a different tool.

* Updated Fix

- Added Legibility to the img markup (example.html)
- Fixed issue with example not working properly (because image closing tag no longer has "/>" )

* update values by step of 0.25 in bundlewatch.config

The following values in .bundlewatch.config.json have been updated:
- ./dist/css/bootstrap-utilities.css
- ./dist/css/bootstrap-utilities.min.css
- ./dist/css/bootstrap.css
- ./dist/css/bootstrap.min.css

Co-authored-by: Daniel O <dobiekwe@byteworks.com.ng>
Co-authored-by: Mark Otto <otto@github.com>

* Boost `execute` function, being able to handle arguments (#36652)

* Remove duplicate css variables
Add shadow variables
Add focus-visible styles to buttons

* Update btn-link hover and active styles

* Improve example of .flex-wrap and -reverse

The current example of `.flex-wrap` and `.flex-wrap-reverse` does not really show the difference between those two utilities, because every item is labelled 'Flex item'.

With the added numbers it is more clear what happens and how `.flex-wrap-reverse` works.

* Docs: standardize usage of `<kbd>`

* Doc: add Sass vars for switches

* docs: fixes text buttons to match behavior

* Fix docs lint errors

* Fix docs lint errors

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Louis-Maxime Piton <louismaxime.piton@orange.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
Co-authored-by: Michael Geuchmann <michael.geuchmann@hotmail.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Florian Lacreuse <lacreuse.florian@gmail.com>
Co-authored-by: Florian Lacreuse <florianlacreuse@users.noreply.github.com>
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: Giovanni Piller Cottrer <giovanni.piller@gmail.com>
Co-authored-by: Philip Wedemann <22521688+hfhbd@users.noreply.github.com>
Co-authored-by: charlesroelli <3193168+charlesroelli@users.noreply.github.com>
Co-authored-by: Mark Otto <otto@github.com>
Co-authored-by: AmirHossein <farajiamirhossein1374@gmail.com>
Co-authored-by: Geremia Taglialatela <tagliala.dev@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
Co-authored-by: Sebastian Homeier <s.homeier@bynary.io>
Co-authored-by: GeoSot <geo.sotis@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Gabriel R. Barbosa <12158575+gabrielrbarbosa@users.noreply.github.com>
Co-authored-by: Jérémie Broutier <jeremie.broutier@posteo.net>
Co-authored-by: flavio-b <flaviobombonatti@gmail.com>
Co-authored-by: Carson Sievert <cpsievert1@gmail.com>
Co-authored-by: Jonathan <vanillajonathan@users.noreply.github.com>
Co-authored-by: Christian Oliff <christianoliff@pm.me>
Co-authored-by: Vino Rodrigues <366673+vinorodrigues@users.noreply.github.com>
Co-authored-by: Vino Rodrigues <github@m.vinorodrigues.com>
Co-authored-by: Isabelle Chanclou <isabelle.chanclou@orange.com>
Co-authored-by: maks <pine3ree@gmail.com>
Co-authored-by: Stefan Haack <shaack@gmail.com>
Co-authored-by: franko553 <frank@frankshinn.com>
Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
Co-authored-by: João Tomás <jtsimoes@ua.pt>
Co-authored-by: Daniel Raymond <29353783+MadeByRaymond@users.noreply.github.com>
Co-authored-by: Daniel O <dobiekwe@byteworks.com.ng>
Co-authored-by: naitsirch <naitsirch@e.mail.de>
Co-authored-by: Catalin Zalog <c@zalog.ro>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants