develwoutacause’s avatardevelwoutacause’s Twitter Archive—№ 695

  1. Are there any existing tools out there for detecting order-dependent CSS? This is generally considered an anti-pattern, and I'm curious if there's anything to help detect and fix it *before* it causes issues and becomes a debugging pain?
    1. …in reply to @develwoutacause
      This was really bugging me, so I hacked around a bit and came up with a **very** rough proof-of-concept. It runs Puppeteer on a page and looks at all the nodes to see if any have order-dependent styles. Not super-intelligent, but may be worth exploring. github.com/dgp1130/Order-Dependent-Styling