If a punctuation mark is present, this property determines if the punctuation mark hangs and whether it can be placed outside the line box and the start or at the end of a line of text.
- Initial value
- Applies to
- inline elements
- Computed value
- as specified
- Not available
- No character hangs
- This is an opening bracket or quote that is at the start of the first formatted line of an element that hangs. Any characters in the Unicode categories Ps, Pf, Pi are applied.
- This is a closing bracket or quote of an element at the end of the last formatted line. The element hangs and this applies to any characters in the Unicode categories Pe, Pf, and Pi.
- A stop or comma at the end of a line hangs
- A stop or comma at the end of a line hangs if it does not otherwise fit prior to justification.
When measuring the line’s contents for fit, alignment, or justification, the punctuation mark is not considered when it hangs. The mark may be placed outside the line box depending on the line’s alignment.
- CSS Text Module Level 3
- Working Draft