Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by lavela

10 hours ago

Shouldn't a CSS engine just ignore directives it doesn't know? At least it shouldn't fail without an error.

2 comments

lavela

Reply

gsnedders  2 hours ago

Yes, every single CSS standard ever has required that.

jiehong  9 hours ago

Came here to say exactly that: CSS was designed to be friendly and just ignore any line it doesn’t understand. It’s the whole point of browsers and progressive improvements.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities