Read CSS: The Definitive Guide, 3rd Edition Online

Authors: Eric A. Meyer

Tags: #COMPUTERS / Web / Page Design

CSS: The Definitive Guide, 3rd Edition (74 page)

Dropped from CSS2.1

The following properties appeared in CSS2 but were
dropped from CSS2.1 due to a lack of widespread support. They do not have computed value
information since computed values were first explicitly defined in CSS2.1.

Visual Styles
font-size-adjust

The aim of this property is to allow authors to trigger font scaling such that
substitute fonts will not look too different from the font the author intended, even
if the substitute font has a different x-height. Note that this property does not
appear in CSS2.1.

Values:

|
none
|
inherit

Initial value:

none

Applies to:

All elements

Inherited:

Yes

font-stretch

With this property, the character glyphs in a given font can be made wider or
narrower, ideally by selected condensed or expanded faces from the font's family.
Note that this property does not appear in CSS2.1.

Values:

normal
|
wider
|
narrower
|
ultra-condensed
|
extra-condensed
|
condensed
|
semi-condensed
|
semi-expanded
|
expanded
|
extra-expanded
|
ultra-expanded
|
inherit

Initial value:

normal

Applies to:

All elements

Inherited:

Yes

marker-offset

This property specifies the distance
between the nearest border edge of a marker box and its associated element box.

Values:

|
auto
|
inherit

Initial value:

auto

Applies to:

Elements with a
display
value of
marker

Inherited:

No

Note:

This property is obsolete as of CSS2.1 and will likely not reappear in
CSS3, and the same is true for the
display
value of
marker
; as of
this writing, it appears that other mechanisms will be used to achieve these
effects

text-shadow

This permits the assignment of one or more "shadows" to the text in an element.
The first two length values in a shadow definition set horizontal and vertical
offsets, respectively, from the element's text. The third length defines a blurring
radius. Note that this property does not appear in CSS2.1.

Values:

none
| [ ||
? ,]* [ ||
?] |
inherit

Initial value:

none

Applies to:

All elements

Inherited:

No

Paged Media
marks

This property defines whether "cross marks" (otherwise known as register marks or
registration marks) should be placed outside the content area but within the
printable area of the canvas. The exact placement and rendering of the marks is not
defined. Note that this value does not appear in CSS2.1.

Values:

[
crop
||
cross
] |
none
|
inherit

Initial value:

none

Applies to:

Page context

Inherited:

N/A

page

This
property, in conjunction with
size
, specifies a
particular page type to be used in the printing of an element. Note that this
property does not appear in CSS2.1.

Values:

|
inherit

Initial value:

auto

Applies to:

Block-level elements

Inherited:

Yes

size

With this property, authors can declare the size and orientation of the page box
used in the printing of an element. It can be used in conjunction with
page
, although this is not always necessary. Note that
this property does not appear in CSS2.1.

Values:

{1,2} |
auto
|
portrait
|
landscape
|
inherit

Initial value:

auto

Applies to:

The page area

Inherited:

No

Aural Styles
azimuth

This property sets the angle along the horizontal plane (otherwise known as the
horizon) from which a sound should seem to emanate. This is used in conjunction with
elevation
to place the sound at a point on a
hypothetical sphere with the user at its center.

Values:

| [[
left-side
|
far-left
|
left
|
center-left
|
center
|
center-right
|
right
|
far-right
|
right-side
] ||
behind
] |
leftwards
|
rightwards
|
inherit

Initial value:

center

Applies to:

All elements

Inherited:

Yes

Computed value:

Normalized angle

cue

This is a shorthand property that allows an author to define cues that precede and
follow the audio rendering of an element's content. A "cue" is something like an
auditory icon.

Values:

[ || ] |
inherit

Initial value:

none

Applies to:

All elements

Inherited:

No

Computed value:

See individual properties (
cue-before
,
etc.)

cue-after

This property
allows an author to define a cue that follows the audio rendering of an element's
content.

Values:

|
none
|
inherit

Initial value:

none

Applies to:

All elements

Inherited:

No

Computed value:

For values, the absolute URI; otherwise,
none

cue-before

This property allows an author to define a cue that precedes the audio rendering
of an element's content.

Values:

|
none
|
inherit

Initial value:

none

Applies to:

All elements

Inherited:

No

Computed value:

For values, the absolute URI; otherwise,
none

elevation

This property sets the angle above or below the horizontal plane (otherwise known
as the horizon) from which a sound should seem to emanate. This is used in
conjunction with
azimuth
to place the sound at a
point on a hypothetical sphere with the user at its center.

Values:

|
below
|
level
|
above
|
higher
|
lower
|
inherit

Initial value:

level

Applies to:

All elements

Inherited:

Yes

Computed value:

Normalized angle

pause

This is a
shorthand property that allows an author to define pauses that precede and follow the
audio rendering of an element's content. A "pause" is an interval in which no content
is audibly rendered, although background sounds may still be audible.

Values:

[[

Initial value:

0

Applies to:

All elements

Inherited:

No

Computed value:

See individual properties (
pause-before
, etc.)

pause-after

This property allows an author to define the length of a pause that follows the
audio rendering of an element's content.

Values:

Initial value:s:

0

Applies to:

All elements

Inherited:

No

Computed value:

The absolute time value

pause-before

This property allows an author to define the length of a pause that precedes the
audio rendering of an element's content.

Values:

Initial values:

0

Applies to:

All elements

Inherited:

No

Computed value:

The absolute time value

pitch

Specifies the average pitch (frequency) of the speaking voice used to audibly
render the element's content. The average pitch of a voice will depend greatly on the
voice family.

Values:

|
x-low
|
low
|
medium
|
high
|
x-high
|
inherit

Initial value:

medium

Applies to:

All elements

Inherited:

Yes

Computed value:

The absolute frequency value

pitch-range

This property
specifies the variation in average pitch used by the speaking voice, while audibly
rendering the element's content. The higher the variation, the more "animated" the
voice will sound.

Values:

|
inherit

Initial value:

50

Applies to:

All elements

Inherited:

Yes

Computed value:

As specified

play-during

This provides a sound to be played "in the background" while the element's
contents are audibly rendered. The sound can be mixed with other background
sounds
(set using
play-during
on an ancestor element), or it can replace
other sounds for the duration of the element's audio rendering.

Values:

| [
mix
||
repeat
]? |
auto
|
none
|
inherit

Initial value:

auto

Applies to:

All elements

Inherited:

No

Computed value:

For values, the absolute URI; otherwise, as specified

richness

This property sets the "brightness" of the speaking voice used when audibly
rendering the element's content. The brighter the voice, the more it will "carry."

Values:

|
inherit

Initial value:

50

Applies to:

All elements

Inherited:

yes

Computed value:

As specified

speak

This determines how an element's contents will be
audibly rendered, or indeed if they will be rendered at all. The value
spell-out
is typically used for acronyms and
abbreviations, such as W3C or CSS. If the value is
none
, the element is skipped (it takes no time to be audibly rendered).

Values:

normal
|
none
|
spell-out
|
inherit

Initial value:

normal

Applies to:

All elements

Inherited:

Yes

Computed value:

As specified

speak-header

This specifies whether the content of table headers is spoken before every cell
associated with those headers, or only when the header associated with a cell is
different from the header associated with the previously rendered cell.

Values:

once
|
always
|
inherit

Initial value:

once

Applies to:

Elements containing table header information

Inherited:

Yes

Computed value:

As specified

speak-numeral

This property determines how numbers are spoken during audible rendering.

Values:

digits
|
continuous
|
inherit

Initial value:

continuous

Applies to:

All elements

Inherited:

Yes

Computed value:

As specified

speak-punctuation

This property
determines how punctuation is spoken during audible rendering. The value
code
causes punctuation symbols to be rendered
literally.

Values:

code
|
none
|
inherit

Initial value:

none

Applies to:

All elements

Inherited:

Yes

Computed value:

As specified

speech-rate

This sets the average rate at which words are spoken when an element's content is
audibly rendered.

Values:

|
x-slow
|
slow
|
medium
|
fast
|
x-fast
|
faster
|
slower
|
inherit

Initial value:

medium

Applies to:

All elements

Inherited:

Yes

Computed value:

An absolute number

Other books

Pewter Angels by Ripplinger, Henry K.
Sparrow Nights by David Gilmour
From Barcelona, with Love by Elizabeth Adler
Bendigo Shafter (1979) by L'amour, Louis
Darnay Road by Diane Munier
The Last Secret by Mary Mcgarry Morris


readsbookonline.com Copyright 2016 - 2024