hanging-punctuation-block-bound-001.html (1078B)
1 <!DOCTYPE html> 2 3 <meta charset="UTF-8"> 4 5 <title>CSS Text Test: allowed ending hanging-punctuation does not affect block box boundary</title> 6 7 <!-- 8 9 Issue 4222: [css-text-3] hanging-punctuation effect on inline/block bounds 10 https://github.com/w3c/csswg-drafts/issues/4222 11 12 --> 13 14 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> 15 <link rel="help" href="https://www.w3.org/TR/css-text-3/#hanging"> 16 <link rel="match" href="reference/hanging-punctuation-block-bound-001-ref.html"> 17 18 <meta content="This test checks that hanging punctuations has no effect on the boundary of a block box. The background of a block box does not include hanging punctuations." name="assert"> 19 20 <style> 21 div 22 { 23 background-color: lime; 24 border: black solid 3px; 25 font-family: monospace; 26 font-size: 60px; 27 line-height: 1.5em; /* computes to 90px */ 28 hanging-punctuation: allow-end; 29 width: 240px; 30 } 31 </style> 32 33 <body lang="ja"> 34 35 <div>まだよくています。しかし特</div>