Reputation: 7884
I was checking over some of the CSS for one of our sites when I came across:
overflow: no-display;
I had never heard of this so Googled and found this page, which seems to suggest it's valid. However, at the MDN site for overflow (click here) there is no mention of no-display
. There is also no sign of this value on the W3C doc here.
Is "no-display" a valid value for overflow, or perhaps a deprecated value?
Upvotes: 2
Views: 58
Reputation: 5564
The no-display
value for the overflow property seems to have never made it past the W3C working draft stage. If you see it in legacy code, it may be because browsers at the time wanted to support the latest experimental features before they were recommended by W3C.
If you look here and scroll to CSS Basic Box Model Level 3 where the no-display
value is mentioned within, you can see that the notes for the working draft mention "Dangerously outdated; see CSS2.1'.
CSS2.1 nor the upcoming CSS2.2 mention the no-display
value for the overflow property.
In a practical sense, you can consider the no-display
value of the overflow property obsolete, as it doesn't even work in the major browsers (e.g., Firefox and Chrome).
Upvotes: 1
Reputation: 11
overflow: no-display;
I have not seen this value "no-display"
Check out http://www.w3schools.com/cssref/pr_pos_overflow.asp
This will give you all the information on the "overflow" property
Upvotes: 0