forked from SchemaStore/schemastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
css-module-layout.xml
56 lines (46 loc) · 6.87 KB
/
css-module-layout.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="utf-8"?>
<CssModule name="CSS Legacy" standard-reference="http://www.w3.org/TR/CSS2/visuren.html" status="WD" pub-date="2011-11-29">
<CssProperty name="position" version="2.0" restriction="enum" syntax="div { $(name): absolute; }" standard-reference="http://www.w3.org/TR/CSS2/visuren.html#propdef-position">
<entry value="absolute" description="The box's position (and possibly size) is specified with the 'top', 'right', 'bottom', and 'left' properties. These properties specify offsets with respect to the box's 'containing block'." />
<entry value="fixed" description="The box's position is calculated according to the 'absolute' model, but in addition, the box is fixed with respect to some reference. As with the 'absolute' model, the box's margins do not collapse with any other margins." />
<entry value="relative" description="The box's position is calculated according to the normal flow (this is called the position in normal flow). Then the box is offset relative to its normal position." />
<entry value="static" description="The box is a normal box, laid out according to the normal flow. The 'top', 'right', 'bottom', and 'left' properties do not apply." />
<entry value="sticky" description="The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes." />
<entry value="center" description="Center positioned boxes are taken out of the normal flow. This means they have no impact on the layout of later siblings." />
<entry value="page" description="The box's position is calculated according to the 'absolute' model." />
</CssProperty>
<CssProperty name="left" version="2.0" restriction="length, percentage" description="Specifies how far an absolutely positioned box's left margin edge is offset to the right of the left edge of the box's 'containing block'." syntax="article { $(name): 50px; }" standard-reference="http://www.w3.org/TR/CSS2/visuren.html#propdef-left">
<entry value="auto" description="For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well" />
</CssProperty>
<CssProperty name="top" ref="left" description="Specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's 'containing block'." standard-reference="http://www.w3.org/TR/CSS2/visuren.html#propdef-top" />
<CssProperty name="right" ref="left" description="Specifies how far an absolutely positioned box's right margin edge is offset to the left of the right edge of the box's 'containing block'." standard-reference="http://www.w3.org/TR/CSS2/visuren.html#propdef-right" />
<CssProperty name="bottom" ref="left" description="Specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's 'containing block'." standard-reference="http://www.w3.org/TR/CSS2/visuren.html#propdef-bottom" />
<CssProperty name="z-index" version="2.0" restriction="integer" description="For a positioned box, the 'z-index' property specifies the stack level of the box in the current stacking context and whether the box establishes a local stacking context." syntax="img { $(name): 3; }" standard-reference="http://www.w3.org/TR/CSS2/visuren.html#propdef-z-index">
<entry value="auto" description="The stack level of the generated box in the current stacking context is 0. The box does not establish a new stacking context unless it is the root element." />
</CssProperty>
<CssProperty name="line-height" version="1.0" restriction="number, length, percentage" description="Determines the block-progression dimension of the text content area of an inline box." syntax="#menu { $(name): 22px; }" standard-reference="http://www.w3.org/TR/css3-linebox/#line-height">
<entry value="normal" description="Tells user agents to set the computed value to a 'reasonable' value based on the font size of the element." />
</CssProperty>
<CssProperty name="line-grid" version="3.0" restriction="enum" description="Specifies whether this box creates a new baseline grid for its descendants or uses the same baseline grid as its parent." syntax="div { $(name): create; }" standard-reference="http://www.w3.org/TR/css-line-grid-1/#propdef-line-grid">
<entry value="match-parent" />
<entry value="create" />
</CssProperty>
<CssProperty name="line-snap" version="3.0" restriction="enum" description="Snaps line boxes contained by the element to the line grid specified by the 'line-grid' property." syntax="div { $(name): baseline; }" standard-reference="http://www.w3.org/TR/css-line-grid-1/#propdef-line-snap">
<entry value="none" />
<entry value="baseline" />
<entry value="contain" />
</CssProperty>
<CssProperty name="vertical-align" version="1.0" restriction="percentage, length" description="Affects the vertical positioning of the inline boxes generated by an inline-level element inside a line box." syntax="div { $(name): middle; }" standard-reference="http://www.w3.org/TR/css3-linebox/#vertical-align">
<entry value="baseline" description="Align the 'alphabetic' baseline of the element with the 'alphabetic' baseline of the parent element." />
<entry value="sub" description="Lower the baseline of the box to the proper position for subscripts of the parent's box. (This value has no effect on the font size of the element's text.)" />
<entry value="super" description="Raise the baseline of the box to the proper position for superscripts of the parent's box. (This value has no effect on the font size of the element's text.)" />
<entry value="top" description="Align the before edge of the extended inline box with the before-edge of the line box." />
<entry value="text-top" description="Align the top of the box with the before-edge of the parent element's font." />
<entry value="bottom" description="Align the after edge of the extended inline box with the after-edge of the line box." />
<entry value="text-bottom" description="Align the bottom of the box with the after-edge of the parent element's font." />
<entry value="auto" version="3.0" description="Align the dominant baseline of the parent box with the equivalent, or heuristically reconstructed, baseline of the element inline box." />
<entry value="use-script" version="3.0" browsers="none" description="Align the script preferred baseline of the element (determined by the computed script value) with the equivalent baseline of the parent element." />
<entry value="central" browsers="none" version="3.0" description="Align the 'central' baseline of the inline element with the central baseline of the parent." />
<entry value="middle" version="3.0" description="Align the 'middle' baseline of the inline element with the middle baseline of the parent." />
</CssProperty>
</CssModule>