A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/css/properties/hanging-punctuation below:

hanging-punctuation · WebPlatform Docs

hanging-punctuation Summary

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.

Overview table
Initial value
none
Applies to
inline elements
Inherited
Yes
Media
visual
Computed value
as specified
Animatable
No

CSS Object Model Property
:

Percentages
Not available
Syntax Values
none
No character hangs
first
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.
last
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.
force-end
A stop or comma at the end of a line hangs
allow-end
A stop or comma at the end of a line hangs if it does not otherwise fit prior to justification.
Notes

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.

Related specifications
CSS Text Module Level 3
Working Draft
See also Related articles Text

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4