IntelliJ shows error for CSS overflow: overlay

Answered

Hi, happy to code with IntelliJ.

As the screenshot shows, IntelliJ draws red stroke for the css style overflow: overlay.

But the style works fine in browser. I think yellow stroke would be better.

Please show the way to customize inspection.

Thank you.

2
5 comments

>I think yellow stroke would be better.

Please show the way to customize inspection.

 

You can either disable the CSS | Invalid elements | Invalid CSS property value inspection or change its severity to warning

https://developer.mozilla.org/en-US/docs/Web/CSS/overflow says that overlay value is experimental and deprecated, which probably means that the experiment was not successful.We don't plan adding support for the value that has never reached and will never reach any kind of 'official' status.

 

 

-1

Isn't that just a workaround? The IDE should recognize this option.

1

 `overflow: overlay` is deprecated and we don't plan to add any support for that.

0

I have a similar problem: PhpStorm shows a "Mismatched property value" for `overflow: clip`. `clip` seems to be experimental at the moment, but can you add support for it?

0

Please sign in to leave a comment.