segment-break-transformation-unremovable-4

CSS Text 4.1.2. Segment Break Transformation Rules

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
Test checks that a sequence which consists of multiple collapsible segment breaks mixed with multiple white spaces should be converted to a white space (U+0020), if both the character before/after the sequence is Hangul.

Source

 1 <!DOCTYPE html>
 2 <html><head>
 3 <meta charset="utf-8">
 4 <title>CSS Text 4.1.2. Segment Break Transformation Rules</title>
 5 <link href="mailto:jeremychen@mozilla.com" rel="author" title="Chun-Min (Jeremy) Chen">
 6 <link href="https://www.mozilla.org" rel="author" title="Mozilla">
 7 <link href="https://drafts.csswg.org/css-text-3/#line-break-transform" rel="help">
 8 <link href="support/ahem.css" type="text/css" rel="stylesheet">
 9 <link href="reference/segment-break-transformation-unremovable-ref.htm" rel="match">
10 <meta content="Test checks that a sequence which consists of multiple collapsible
11 segment breaks mixed with multiple white spaces should be converted to a white space (U+0020),
12 if both the character before/after the sequence is Hangul." name="assert">
13 <style> p { font-family: ahem; } </style>
14 </head>
15 <body>
16 <div>Test passes if there is <b>one</b> white space between 2nd and 3rd CJK character.
17 <!--Some[WS][LF][WS][LF][WS][LF][WS]Hangul-->
18 <p>一些 
19  
20  
21  언문</p>
22 </div>
23 
24 
25 </body></html>