Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text/hanging-punctuation/hanging-punctuation-last-ascii-quote.html - WPT Dashboard Interop Dashboard
<!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>