<!doctype HTML>
<html>
<meta charset="utf8">
<title>Content Visibility: pseudo elements</title>
<link rel="author" title="Rakina Zata Amni" href="mailto:rakina@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility">

<style>
#container::before {
  content: "This test ";
  color: green;
}
#container::after {
  content: "PASSES.";
  background: green;
  color: white;
}
</style>
<div id="container"></div>
</script>
</html>
