punctuation-trim

< css‎ | properties
Jump to: navigation, search

punctuation-trim

This article is Not Ready.


W3C Candidate Recommendation

Summary

Obsolete: unsupported.

This property determines whether or not a full-width punctuation mark character should be trimmed if it appears at the beginning of a line, so that its "ink" lines up with the first glyph in the line above and below.

Overview table

Initial value none
Applies to block-level and inline-block elements
Inherited Yes
Media visual
Computed value specified value (except for initial and inherit)
Animatable No
CSS Object Model Property

Syntax

  • punctuation-trim: none
  • punctuation-trim: start


Values

none
Leading punctuation is not trimmed.
start
Leading punctuation is trimmed.


Compatibility

There is no data available for topic "css", feature "punctuation-trim". If you think that there should be data available, consider opening an issue.


Usage

Use this property to trim the leading whitespace of a punctuation glyph when it is the first character on a line. Please see the images in the spec, which shows in a concise way what will happen.


Related specifications

Specification Status Related Changes
CSS3 Text Module Obsolete (previously Candidate Recommendation)