- Issue created by @hctom
- Merge request !293513180: Failed parsing 'srcset' attribute value since its 'w' descriptor is invalid. → (Merged) created by hctom
- First commit to issue fork.
Currently calculating the image width from its styles/effects may lead to float/decimal values, which then results in the following messages in the browser:
Failed parsing 'srcset' attribute value since its 'w' descriptor is invalid.
Dropped srcset candidate "/path/to/image.jpg?itok=XXXXXX"
The corresponding srcset then contains values like:
/path/to/image.jpg?itok=XXXXXX 1371.2w
srcset
to integersn/a
n/a
n/a
Active
4.0
Code