mirror of
https://github.com/servo/servo.git
synced 2025-10-05 11:09:22 +01:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
33 lines
No EOL
1.3 KiB
HTML
33 lines
No EOL
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html><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.htm" rel="match">
|
|
<meta content="Test checks that a sequence which consists of a collapsible segment break
|
|
surrounded by multiple white spaces should be removed correctly,
|
|
if the character immediately before/after the sequence is the zero-width space character (U+200B),
|
|
or both the character before/after the sequence 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[WS][WS][LF][WS][WS]Chinese-->
|
|
<p>一些
|
|
中文</p>
|
|
<!--Some[ZWSP][WS][WS][LF][WS][WS]Chinese-->
|
|
<p>一些​
|
|
中文</p>
|
|
<!--Some[WS][WS][LF][WS][WS][ZWSP]Chinese-->
|
|
<p>一些
|
|
​中文</p>
|
|
<!--Some[ZWSP][WS][WS][LF][WS][WS]Hangul-->
|
|
<p>一些​
|
|
언문</p>
|
|
</div>
|
|
|
|
|
|
</body></html> |