whatwg / console

Console Standard
https://console.spec.whatwg.org/
Other
269 stars 67 forks source link

Meta: update repository files #210

Closed annevk closed 2 years ago

annevk commented 2 years ago

See https://github.com/whatwg/spec-factory for details.

domfarolino commented 2 years ago

Sorry I just came across this. @annevk do you know what is happening here with the error?

annevk commented 2 years ago

It looks like there is an img without width and height attributes.

domfarolino commented 2 years ago

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.

domfarolino commented 2 years ago

I tried:

This 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?

annevk commented 2 years ago

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

tabatkins commented 2 years ago

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.