Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
The contain CSS property indicates that an element and its contents are, as much as possible, independent from the rest of the document tree.
Last updated on : 2023-02-27
Browser Versions
IE
Edge
Firefox
Chrome
Safari
Opera
Fully Supported
Partially
No Support
contain on IE is not supported on any IE versions.
contain on Edge is fully supported on 79-110, and not supported on 12-18 Edge versions.
contain on Firefox is fully supported on 69-112, and not supported on 2-68 Firefox versions.
contain on Chrome is fully supported on 52-113, and not supported on 4-51 Chrome versions.
contain on Safari is fully supported on 15-16, partially supported on null-null, and not supported on 0-14 Safari versions.
contain on Opera is not supported on any Opera versions.
contain on Safari on iOS is fully supported on 15-16, and not supported on 3-14 Safari on iOS versions.
contain on Android Browser support is currently unknown.
contain on Opera Mobile is not supported on any Opera Mobile versions.
contain on Chrome for Android is fully supported on all Chrome for Android versions.
contain on Firefox for Android is fully supported on all Firefox for Android versions.
contain on Samsung Internet is fully supported on 15-19, and not supported on 4-14 Samsung Internet versions.
Data sourced from
Overall Browser Compatibility Score
Note:contain shows a browser compatibility score of 60. This is a collective score out of 100 to represent browser support of a web technology. The higher this score is, the greater is the browser compatibility. The browser compatibility score is not a 100% reflection for every browser and the web technology support. However, it does give you an estimate on how much you should rely on a particular web technology in terms of browser compatibility.
Test on 3000+ browsers for contain & more
Test your website for contain and other web technologies. Get 100 FREE automation test minutes!
Test NowKaneAI - Testing Assistant
World’s first AI-Powered E2E testing agent.
Did you find this page helpful?