segment-break-transformation-removable-3.html (1591B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Text 4.1.2. Segment Break Transformation Rules</title> 6 <link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com"> 7 <link rel="author" title="Mozilla" href="https://www.mozilla.org"> 8 <link rel="help" href="https://drafts.csswg.org/css-text-3/#line-break-transform"> 9 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css"> 10 <link rel="match" href="segment-break-transformation-removable-ref.html"> 11 <meta name="assert" content="Test checks that a sequence which consists of a collapsible segment break 12 surrounded by multiple white spaces should be removed correctly, 13 if the character immediately before/after the sequence is the zero-width space character (U+200B), 14 or both the character before/after the sequence is F, W, or H (not A), and neither side is Hangul."> 15 <style> p { line-height: 1; font-family: ahem; text-autospace: no-autospace; } </style> 16 </head> 17 <body> 18 <div>Test passes if there is <b>no</b> white space between 2nd and 3rd CJK character. 19 <!--Some[WS][WS][LF][WS][WS]Chinese--> 20 <p>一些  
  中文</p> 21 <!--Some[ZWSP][WS][WS][LF][WS][WS]Chinese--> 22 <p>一些​  
  中文</p> 23 <!--Some[WS][WS][LF][WS][WS][ZWSP]Chinese--> 24 <p>一些  
  ​中文</p> 25 <!--Some[ZWSP][WS][WS][LF][WS][WS]Hangul--> 26 <p>一些​  
  언문</p> 27 </div> 28 </body> 29 </html>