<!doctype HTML>
<html>
<meta charset="utf8">
<title>CSS Content Visibility: fieldset hiding content</title>
<link rel="author" title="Martin Robinson" href="mailto:mrobinson@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility">
<link rel="match" href="content-visibility-fieldset-size-ref.html">
<meta name="assert" content="A fieldset hiding content with content-visibility should be equivalent to an empty fieldset">

<style>
fieldset {
    background: green;
    content-visibility: hidden
}
</style>

<fieldset><legend>Hidden legend content</legend>Hidden fieldset content</fieldset>
