zachleat’s avatarzachleat’s Twitter Archive—№ 28,753

    1. A nuanced thing I keep forgetting: When using CSS custom properties and calc() with multiplication, one of the operands _needs_ to have a unit (easy to forget in your fallback values)
      oh my god twitter doesn’t include alt text from images in their API
  1. …in reply to @zachleat
    The plot thickens: @FirefoxDevTools and @ChromeDevTools don’t have any visual feedback on the style inspector that the calc() is invalid. Safari does! Nice job Safari.
    oh my god twitter doesn’t include alt text from images in their API
    1. …in reply to @zachleat
      @FirefoxDevTools @ChromeDevTools Correction: Safari doesn’t quite get this right. Looks like it might be tied to whether a custom property is set or not, which isn’t good. For example these are all incorrect visual feedback:
      oh my god twitter doesn’t include alt text from images in their APIoh my god twitter doesn’t include alt text from images in their APIoh my god twitter doesn’t include alt text from images in their API