punctuation-trim

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

No compatibility data found for feature "punctuation-trim"


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)

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?