'************************************************************************
'
'	TopStyle CSS Level 2 Definition
'
'************************************************************************

[definition]
Version=4.0
Revision=0
Author=Nick Bradbury
Icon=w3c
NamedColors=0
SystemColors=1
SystemFonts=1
RGBColors=1
InheritValue=1
ShortName=CSS2
Default=1

[at-rules]
@font-face=1
@import=1
@media=1
@page=1

[known types]
<units>=(pt|in|pc|mm|cm|px|em|ex)
<generic-family>=(serif|sans\-serif|cursive|fantasy|monospace)
<absolute-size>=(xx\-small|x\-small|small|medium|large|x\-large|xx\-large)
<relative-size>=(larger|smaller)

[selectors]
Class=Y
ID=Y
Contextual=Y
Child=Y
Descendant=Y
Sibling=Y
Attribute=Y
Universal=Y

[pseudo]
:link
:visited
:active
:hover
:focus
:first-line
:first-letter
:first-child
:lang
:before
:after

[groups]
Aural
Box
Color and Background
Classification
Font
Generate
Page
Tables
Text
Visual

[properties]
azimuth
background
background-attachment
background-color
background-image
background-position
background-repeat
border
border-bottom
border-bottom-color
border-bottom-style
border-bottom-width
border-collapse
border-color
border-left
border-left-color
border-left-style
border-left-width
border-right
border-right-color
border-right-style
border-right-width
border-spacing
border-style
border-top
border-top-color
border-top-style
border-top-width
border-width
bottom
caption-side
clear
clip
color
content
counter-increment
counter-reset
cue
cue-after
cue-before
cursor
direction
display
elevation
empty-cells
float
font
font-family
font-size
font-size-adjust
font-stretch
font-style
font-variant
font-weight
height
left
letter-spacing
line-height
list-style
list-style-image
list-style-position
list-style-type
margin
margin-bottom
margin-left
margin-right
margin-top
marker-offset
marks
max-height
max-width
min-height
min-width
orphans
outline
outline-color
outline-style
outline-width
overflow
padding
padding-bottom
padding-left
padding-right
padding-top
page
page-break-after
page-break-before
page-break-inside
pause
pause-after
pause-before
pitch
pitch-range
play-during
position
quotes
richness
right
size
speak
speak-header
speak-numeral
speak-punctuation
speech-rate
stress
table-layout
text-align
text-decoration
text-indent
text-shadow
text-transform
top
unicode-bidi
vertical-align
visibility
voice-family
volume
white-space
widows
width
word-spacing
z-index

[azimuth]
inherited=1
group=Aural
initial=center
multiple=1
value1=<angle>|((left\-side|far\-left|center\-left|center\-right|far\-right|right\-side|leftwards|rightwards|left|center|right)||behind)

[background]
inherited=0
initial=
group=Color and Background
value1=<background-color>
value2=<background-image>
value3=<background-repeat>
value4=<background-attachment>
value5=<background-position>

[background-attachment]
inherited=0
initial=scroll
group=Color and Background
value1=scroll|fixed

[background-color]
inherited=0
initial=transparent
group=Color and Background
value1=transparent|<color>

[background-image]
inherited=0
initial=none
group=Color and Background
value1=<url>|none

[background-position]
inherited=0
initial=0% 0%
group=Color and Background
multiple=1
value1=(<percentage>|<length>)||(top|center|bottom)||(left|center|right)

[background-repeat]
inherited=0
initial=repeat
group=Color and Background
value1=repeat\-x|repeat\-y|no\-repeat|repeat

[border]
inherited=0
initial=
group=Box
value1=thin|medium|thick|<length>
value2=none|dotted|dashed|solid|double|groove|ridge|inset|outset|hidden
value3=<color>

[border-bottom]
inherited=0
group=Box
value1=<border-bottom-width>
value2=<border-bottom-style>
value3=<border-bottom-color>

[border-bottom-color]
inherited=0
group=Box
value1=<color>

[border-bottom-style]
inherited=0
group=box
value1=none|dotted|dashed|solid|double|groove|ridge|inset|outset|hidden

[border-bottom-width]
inherited=0
initial=medium
group=Box
value1=thin|medium|thick|<length>

[border-collapse]
group=Tables
inherited=1
initial=collapse
value1=collapse|separate

[border-color]
inherited=0
group=Box
value1=<border-top-color>
value2=<border-right-color>
value3=<border-bottom-color>
value4=<border-left-color>

[border-left]
inherited=0
group=Box
value1=<border-left-width>
value2=<border-left-style>
value3=<border-left-color>

[border-left-color]
inherited=0
group=Box
value1=<color>

[border-left-style]
inherited=0
group=box
value1=none|dotted|dashed|solid|double|groove|ridge|inset|outset|hidden

[border-left-width]
inherited=0
initial=medium
group=Box
value1=thin|medium|thick|<length>

[border-right]
inherited=0
group=Box
value1=<border-right-width>
value2=<border-right-style>
value3=<border-right-color>

[border-right-color]
inherited=0
group=Box
value1=<color>

[border-right-style]
inherited=0
group=box
value1=none|dotted|dashed|solid|double|groove|ridge|inset|outset|hidden

[border-right-width]
inherited=0
initial=medium
group=Box
value1=thin|medium|thick|<length>

[border-spacing]
inherited=1
group=Tables
initial=0
multiple=1
value1=<length>||<length>

[border-style]
inherited=0
initial=none
group=Box
value1=<border-top-style>
value2=<border-right-style>
value3=<border-bottom-style>
value4=<border-left-style>

[border-top]
inherited=0
initial=
group=Box
value1=<border-top-width>
value2=<border-top-style>
value3=<border-top-color>

[border-top-color]
inherited=0
group=Box
value1=<color>

[border-top-style]
inherited=0
group=box
value1=none|dotted|dashed|solid|double|groove|ridge|inset|outset|hidden

[border-top-width]
inherited=0
initial=medium
group=Box
value1=thin|medium|thick|<length>

[border-width]
inherited=0
initial=
group=Box
value1=<border-top-width>
value2=<border-right-width>
value3=<border-bottom-width>
value4=<border-left-width>

[bottom]
inherited=0
group=Visual
initial=auto
value1=<percentage>|<length>|auto

[caption-side]
inherited=1
group=Tables
initial=top
value1=top|bottom|left|right

[clear]
inherited=0
initial=none
group=Box
value1=none|left|right|both

[clip]
inherited=0
initial=auto
group=Visual
value1=<shape>|auto

[color]
inherited=1
group=Color and Background
value1=<color>

[content]
inherited=0
initial=
group=Generate
multiple=1
value1=<uri>||<attr>||<string>||<counter>||(open\-quote|close\-quote|no\-open-quote|no\-close-quote)

[counter-increment]
inherited=0
initial=none
group=Generate
multiple=1
value1=none|<counter-name>

[counter-reset]
inherited=0
initial=none
group=Generate
multiple=1
value1=none|(<counter>||<counter-name>)

[cue]
inherited=0
initial=
group=Aural
value1=<cue-before>
value2=<cue-after>

[cue-after]
inherited=0
initial=none
group=Aural
value1=<uri-audio>|none

[cue-before]
inherited=0
initial=none
group=Aural
value1=<uri-audio>|none

[cursor]
inherited=1
group=Visual
initial=auto
multiple=1
value1=<uri>||<cursor-type>

[direction]
inherited=1
group=Visual
initial=ltr
value1=ltr|rtl

[display]
inherited=0
initial=block
group=Classification
value1=inline|block|list\-item|run\-in|compact|marker|inline\-table|table\-row\-group|table\-header\-group|table\-footer\-group|table\-row|table\-column\-group|table\-column|table\-cell|table\-caption|table|none

[elevation]
inherited=1
group=Aural
initial=level
value1=<angle>|below|level|above|higher|lower

[empty-cells]
inherited=1
group=Tables
initial=show
value1=show|hide

[float]
inherited=0
initial=none
group=Box
value1=left|right|none

[font]
inherited=1
group=Font
value1=<system-font>
value2=<font-style>
value3=<font-variant>
value4=<font-weight>
value5=<font-size>
value6=<line-height>
value7=<font-family>

[font-family]
inherited=1
initial=
group=Font
value1=((<generic-family>|<family-name>|<google-font-family>),)*(<generic-family>|<family-name>|<google-font-family>)

[font-size]
inherited=1
initial=medium
group=Font
value1=<relative-size>|<absolute-size>|<percentage>|<length>

[font-size-adjust]
inherited=1
initial=none
group=Font
value1=<number>|none

[font-stretch]
inherited=1
initial=normal
group=Font
value1=normal|wider|narrower|ultra\-condensed|extra\-condensed|condensed|semi\-condensed|semi\-expanded|expanded|extra\-expanded|ultra\-expanded

[font-style]
inherited=1
initial=normal
group=Font
value1=normal|italic|oblique

[font-variant]
inherited=1
initial=normal
group=Font
value1=normal|small\-caps

[font-weight]
inherited=1
initial=normal
group=Font
value1=normal|bolder|bold|lighter|100|200|300|400|500|600|700|800|900

[height]
inherited=0
initial=auto
group=Visual
value1=<percentage>|<length>|auto

[left]
inherited=0
initial=auto
group=Visual
value1=<percentage>|<length>|auto

[letter-spacing]
inherited=1
initial=normal
group=Text
value1=normal|<length>

[line-height]
inherited=1
initial=normal
group=Text
value1=normal|<percentage>|<length>|<number>

[list-style]
inherited=1
initial=
group=Classification
value1=<list-style-type>
value2=<list-style-position>
value3=<list-style-image>

[list-style-image]
inherited=1
initial=none
group=Classification
value1=<url>|none

[list-style-position]
inherited=1
initial=outside
group=Classification
value1=inside|outside

[list-style-type]
inherited=1
initial=disc
group=Classification
value1=disc|circle|square|decimal\-leading\-zero|decimal|lower\-roman|upper\-roman|lower\-greek|lower\-alpha|lower\-latin|upper\-alpha|upper\-latin|hebrew|armenian|georgian|cjk\-ideographic|hiragana\-iroha|hiragana|katakana\-iroha|katakana|none

[margin]
inherited=0
initial=
group=Box
value1=<margin-top>
value2=<margin-right>
value3=<margin-bottom>
value4=<margin-left>

[margin-bottom]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>|auto

[margin-left]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>|auto

[margin-right]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>|auto

[margin-top]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>|auto

[marker-offset]
inherited=0
initial=auto
group=Generate
value1=<length>|auto

[marks]
inherited=0
initial=none
group=Page
multiple=1
value1=crop|cross|none

[max-height]
inherited=0
initial=none
group=Visual
value1=<percentage>|<length>|none

[max-width]
inherited=0
initial=none
group=Visual
value1=<percentage>|<length>|none

[min-height]
inherited=0
initial=0
group=Visual
value1=<percentage>|<length>

[min-width]
inherited=0
initial=0
group=Visual
value1=<percentage>|<length>

[orphans]
inherited=1
initial=2
group=Page
value1=<integer>

[outline]
inherited=0
initial=
group=Visual
value1=<outline-color>
value2=<outline-style>
value3=<outline-width>

[outline-color]
inherited=0
initial=invert
group=Visual
value1=invert|<color>

[outline-style]
inherited=0
initial=none
group=Visual
value1=none|dotted|dashed|solid|double|groove|ridge|inset|outset|hidden

[outline-width]
inherited=0
initial=medium
group=Visual
value1=thin|medium|thick|<length>

[overflow]
inherited=0
initial=visible
group=Visual
value1=visible|hidden|scroll|auto

[padding]
inherited=0
initial=
group=Box
value1=<padding-top>
value2=<padding-right>
value3=<padding-bottom>
value4=<padding-left>

[padding-bottom]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>

[padding-left]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>

[padding-right]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>

[padding-top]
inherited=0
initial=0
group=Box
value1=<percentage>|<length>

[page]
inherited=1
initial=auto
group=Page
value1=<identifier>|auto

[page-break-after]
inherited=0
initial=auto
group=Page
value1=auto|always|avoid|left|right

[page-break-before]
inherited=0
initial=auto
group=Page
value1=auto|always|avoid|left|right

[page-break-inside]
inherited=1
initial=auto
group=Page
value1=avoid|auto

[pause]
inherited=0
initial=
group=Aural
value1=<pause-before>
value2=<pause-after>

[pause-after]
inherited=0
initial=
group=Aural
value1=<time>|<percentage>

[pause-before]
inherited=0
initial=
group=Aural
value1=<time>|<percentage>

[pitch]
inherited=1
initial=medium
group=Aural
value1=(<frequency>)|(x\-low|low|medium|high|x\-high)

[pitch-range]
inherited=1
initial=50
group=Aural
value1=<number>

[play-during]
inherited=0
initial=auto
group=Aural
multiple=1
value1=<uri-audio>||(mix|repeat)||(auto|none|inherit)

[position]
inherited=0
initial=static
group=Visual
value1=static|relative|absolute|fixed

[quotes]
inherited=1
initial=
group=Visual
multiple=1
value1=none|<string>

[richness]
inherited=1
initial=50
group=Aural
value1=<number>

[right]
inherited=0
initial=auto
group=Visual
value1=<percentage>|<length>|auto

[size]
inherited=0
initial=auto
group=Page
multiple=1
value1=<length>{1,2}|(auto|portrait|landscape|inherit)

[speak]
inherited=1
initial=
group=Aural
value1=normal|none|spell\-out

[speak-header]
inherited=1
initial=once
group=Aural
value1=once|always

[speak-numeral]
inherited=1
initial=continuous
group=Aural
value1=digits|continuous

[speak-punctuation]
inherited=1
initial=none
group=Aural
value1=code|none

[speech-rate]
inherited=1
initial=medium
group=Aural
value1=<number>|x\-slow|slow|medium|fast|x\-fast|faster|slower

[stress]
inherited=1
initial=50
group=Aural
value1=<number>

[table-layout]
inherited=0
initial=auto
group=Tables
value1=auto|fixed

[text-align]
inherited=1
initial=
group=Text
value1=left|right|center|justify|<string>

[text-decoration]
inherited=0
initial=none
group=Text
multiple=1
value1=none|(underline||overline||line\-through||blink)

[text-indent]
inherited=1
initial=0
group=Text
value1=<percentage>|<length>

[text-shadow]
inherited=0
initial=none
group=Text
multiple=1
value1=(<identifier>[\ ]*)*|none|<color>|<length>

[text-transform]
inherited=1
initial=none
group=Text
value1=capitalize|uppercase|lowercase|none

[top]
inherited=0
initial=auto
group=Visual
value1=<percentage>|<length>|auto

[unicode-bidi]
inherited=0
initial=normal
group=Visual
value1=normal|embed|bidi\-override

[vertical-align]
inherited=0
initial=baseline
group=Visual
value1=baseline|sub|super|top|text\-top|middle|bottom|text\-bottom|<percentage>|<length>

[visibility]
inherited=0
initial=inherit
group=Visual
value1=visible|hidden|collapse

[voice-family]
inherited=1
initial=
multiple=1
group=Aural
value1=<specific-voice>
value2=<generic-voice>

[volume]
inherited=1
initial=medium
group=Aural
value1=<percentage>|<number>|silent|x\-soft|soft|medium|loud|x\-loud

[white-space]
inherited=1
initial=normal
group=Classification
value1=normal|pre|nowrap

[widows]
inherited=1
initial=2
group=Page
value1=<integer>

[width]
inherited=0
initial=auto
group=Box
value1=<percentage>|<length>|auto

[word-spacing]
inherited=1
initial=normal
group=Text
value1=normal|<length>

[z-index]
inherited=0
initial=auto
group=Visual
value1=auto|<integer>
