gecko-dev/testing/web-platform/tests/css/css-text/white-space/control-chars-004.html
Florian Rivoal 212b388d73 Bug 1497380 [wpt PR 13389] - [css-text] Control characters should be visible, a=testonly
Automatic update from web-platform-tests[css-text] Control characters should be visible (#13389)

Tests for https://github.com/w3c/csswg-drafts/issues/1990 and https://github.com/w3c/csswg-drafts/issues/855
--

wpt-commits: 434ca4744845966d5f3f87355f41ccc6f777376f
wpt-pr: 13389
2018-10-12 16:44:43 +00:00

18 lines
644 B
HTML

<!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>