concept

Interoperability — CSS reference

Interoperability means independent implementations agree on feature behavior in the relevant cases. Parsing a declaration is only an early check; different formatting contexts and dynamic updates may expose differences. Here a flex gap is measured geometrically in one browser. Run equivalent tests in multiple engines before claiming interoperability.

Formal Syntax & Structure

css syntaxcss
@supports (gap: 8px) { … }

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>interoperability</title><style>body{margin:8px;font:16px/1.5 sans-serif;color:black;background:white}#a{box-sizing:border-box}#a{display:flex;gap:8px}#a>*{width:30px}</style><body><div id="a"><span id="d">A</span><span id="b">B</span></div></body></html>
CSS Reference