w3c / css-validator

W3C CSS Validation Service
https://jigsaw.w3.org/css-validator/
Other
208 stars 105 forks source link

Support `content-visibility` #362

Closed Seirdy closed 2 years ago

Seirdy commented 2 years ago

Current versions of WebKit (Safari) and Blink (Chrome, Edge, etc) support the content-visibility CSS property, and it will roll out to Firefox soon; Firefox 100 will support parsing the property.

This CSS-validator and Nu both fail to parse content-visibility.

Contrived test-case:

footer {
  content-visibility: auto;
}

Real-world test-case: the <style> element for https://seirdy.one/

xfq commented 2 years ago

Link to spec: https://www.w3.org/TR/css-contain-2/#content-visibility

ylafon commented 2 years ago

Fixed by 3591111aab91501123d79a46f2b1704ba4b0d430