This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

punctuation-trim

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.

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

CSS3 Text Module
Obsolete (previously Candidate Recommendation)