diff options
author | Sangeeth Sudheer <git@sangeeth.dev> | 2025-03-15 21:46:53 +0530 |
---|---|---|
committer | Sangeeth Sudheer <git@sangeeth.dev> | 2025-03-15 21:46:55 +0530 |
commit | bd0b95d5076033e88bf1436b8b79e3abcf0353f5 (patch) | |
tree | 453be84383993ec07ecfe5e23398434e34bfbf10 /static | |
parent | 6b9ab29f530b46850daf9ba4b6aa79e190c063f1 (diff) |
Remove `px` from width/height img attributes in render-image hook
As per the spec, width/height attrs should be non-negative integers but
currently, they are being rendered with a `px` suffix. This change removes
the suffix which hopefully fixes any outstanding layout shifts.
References:
- https://html.spec.whatwg.org/multipage/embedded-content-other.html#dimension-attributes
Diffstat (limited to 'static')
0 files changed, 0 insertions, 0 deletions