wpt / css / css-text / hanging-punctuation / hanging-punctuation-last-ascii-quote.html

Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-text/hanging-punctuation/hanging-punctuation-last-ascii-quote.html

<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Text: hanging-punctuation last with ASCII quote characters</title>
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#hanging-punctuation-property">
<link rel="match" href="reference/hanging-punctuation-last-ascii-quote-ref.html">
<meta name="assert" content="hanging-punctuation: last causes U+0022 QUOTATION MARK and U+0027 APOSTROPHE to hang at the end of the last line.">
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
    body { font-family: 'Ahem'; color:green }
    .hang { hanging-punctuation: last; margin:1em }
</style>
<div class="hang" style="width:4em;">Yes <span>"</span></div>
<div class="hang" style="width:4em;">Yes <span>'</span></div>

/css/css-text/hanging-punctuation/reference/hanging-punctuation-last-ascii-quote-ref.html

<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Reference</title>
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
    body { font-family: 'Ahem'; color:green }
    .hang { margin:1em }
</style>
<div class="hang" style="width:5em;">Yes <span>"</span></div>
<div class="hang" style="width:5em;">Yes <span>'</span></div>