Closed annevk closed 2 years ago
Sorry I just came across this. @annevk do you know what is happening here with the error?
It looks like there is an img
without width
and height
attributes.
At least in the spec src, that seems to be consistent with other <img>
tag usages of the other images: https://github.com/whatwg/console/blob/main/index.bs#L486.
I have no idea what this error means, since the image exists and is referenced just like all of the other images.
I tried:
make remote
: Still got the dimensions errorindex.bs
): Got the dimensions error for a different error in the images/
directoryThis makes me think that something is broken with these "extra files" and Bikeshed specifically when it is used in a remote fashion. So I ran make local
and everything worked.
Maybe something with bikeshed broke recently, specifically when handling extra files remotely. @tabatkins can you take a look perhaps?
It got stricter about images. So we either have to make the images available to the build environment or we add width
/height
attributes to all of them. The latter is how we fixed a similar issue elsewhere and how I suggest we proceed here.
cc @domenic as fyi
Yes, it's a Good Thing to provide image dimensions in the source (prevents layout shift as the images load), and Bikeshed will automatically compute and insert those if it can find the image locally; if it can't, it'll complain at you to insert them yourself. This was added last year, I believe, so specs which haven't been touched in a while might not be clean in this regard.
See https://github.com/whatwg/spec-factory for details.