mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
40 lines
No EOL
1.4 KiB
HTML
40 lines
No EOL
1.4 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
|
<meta charset="utf-8" />
|
|
<title>CSS Text 4.1.2. Segment Break Transformation Rules</title>
|
|
<link href="mailto:jeremychen@mozilla.com" rel="author" title="Chun-Min (Jeremy) Chen" />
|
|
<link href="https://www.mozilla.org" rel="author" title="Mozilla" />
|
|
<link href="https://drafts.csswg.org/css-text-3/#line-break-transform" rel="help" />
|
|
<link href="support/ahem.css" type="text/css" rel="stylesheet" />
|
|
<link href="reference/segment-break-transformation-removable-ref.xht" rel="match" />
|
|
<meta content="Test checks that multiple segment breaks should be removed correctly,
|
|
if the character immediately before/after the segment breaks is the zero-width space character (U+200B),
|
|
or both the character before/after the segment breaks is F, W, or H (not A), and neither side is Hangul." name="assert" />
|
|
<style> p { line-height: 1; font-family: ahem; } </style>
|
|
</head>
|
|
<body>
|
|
<div>Test passes if there is <b>no</b> white space between 2nd and 3rd CJK character.
|
|
<!--Some[LF][LF][LF]Chinese-->
|
|
<p>一些
|
|
|
|
|
|
中文</p>
|
|
<!--Some[ZWSP][LF][LF][LF]Chinese-->
|
|
<p>一些​
|
|
|
|
|
|
中文</p>
|
|
<!--Some[LF][LF][LF][ZWSP]Chinese-->
|
|
<p>一些
|
|
|
|
|
|
​中文</p>
|
|
<!--Some[ZWSP][LF][LF][LF]Hangul-->
|
|
<p>一些​
|
|
|
|
|
|
언문</p>
|
|
</div>
|
|
|
|
|
|
</body></html> |