testing/web-platform/tests/css/css-text/white-space/control-chars-004.html
author Lando <lando@lando.test>
Thu, 10 Jul 2025 16:11:40 +0000 (5 hours ago)
changeset 795966 8f464d9c468ba1a7c1b0338deaa8bc8023f8ae3d
parent 441050 3dcedb9143bb1eb83104848a61127b1d97a39bed
permissions -rw-r--r--
Merge autoland to mozilla-central
<!doctype html>
<meta charset=utf-8>
<title>Control charcters must be visible: U+0004</title>
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
<link rel=help href="https://drafts.csswg.org/css-text-3/#white-space-processing">
<link rel=mismatch href="reference/control-chars-000-ref.html">
<meta name=flags content="">
<meta name=assert content="U+0004, which is in the unicode category CC, must be visible">
<style>
div {
  font-size: 4em;
}
div::after { content: "\0004" } /* Injecting via CSS, to avoid any mangling by the html parser */
</style>

<p>Test passes if there is a visible character below.

<div></div>