gecko-dev/testing/web-platform/tests/css/css-text/white-space/trailing-ideographic-space-002.html
Florian Rivoal 482d3835d9 Bug 1496119 [wpt PR 13338] - [css-text] Trailing ideographic white-space, a=testonly
Automatic update from web-platform-tests[css-text] Trailing ideographic white-space (#13338)

Relates to https://github.com/w3c/csswg-drafts/issues/2500
--

wpt-commits: 85746ce0c5b8e8403c0238af6469d7177ed15c49
wpt-pr: 13338
2018-11-10 09:03:01 +00:00

14 lines
811 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test: sequence of spaces and ideographic spaces at the end of line must be removed</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-phase-2">
<link rel="match" href="reference/trailing-ideographic-space-001-ref.html">
<meta name="assert" content="An sequence ideographic space (U+3000) and regular spaces at the end of the line must be removed.">
<style>
div { width: 2em; }
span { background: red; } /* If the space hangs instead of being removed, there will be red */
</style>
<p>Test passes if the characters below are arranged in a square and if there is no red.
<div>ああ<span>&#x3000;&#x3000; &#x3000; &#x3000;</span>ああ</div>