Skip to content

Commit 0dd0e2c

Browse files
committed
[css2] Split margin properties since margin-top/bottom do not apply to all elements; fixed border-color property so that transparent may be used for individual sides; fixed syntax of font-family; added shadow-effect to text-shadow property; text-align also applies to table cells
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401772
1 parent 211f4af commit 0dd0e2c

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

css2/properties/properties.db

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# 7 fields: Name;; Values;; Initial value;; Applies to;; Inherited?;;Percentage values;; media groups
22

3-
/* margin-top margin-right margin-bottom margin-left;; <margin-width> | inherit;; 0 ;; *;; no;; refer to width of
4-
containing block ;; visual */
3+
/* margin-right margin-left;; <margin-width> | inherit;; 0 ;; *;; no;; refer to width of containing block ;; visual */
4+
5+
/* margin-top margin-bottom;; <margin-width> | inherit;; 0 ;; all elements but inline, non-replaced elements;; no;; refer to width of containing block ;; visual */
6+
57
/* margin;; <margin-width>{1,4} | inherit;; XX;; *;; no;; refer to width of containing block ;; visual
68
*/
79

@@ -12,7 +14,7 @@ containing block ;; visual */
1214
/* border-width;; <border-width>{1,4} | inherit;; see individual properties;; *;; no;; N/A ;; visual */
1315

1416
/* border-top-color border-right-color border-bottom-color border-left-color;; <color> | transparent | inherit;; the value of the 'color' property;; *;; no;; N/A ;; visual */
15-
/* border-color;; <color>{1,4} | transparent | inherit;; see individual properties;; *;; no;; N/A ;; visual */
17+
/* border-color;; [ <color> | transparent ]{1,4} | inherit;; see individual properties;; *;; no;; N/A ;; visual */
1618

1719
/* border-top-style border-right-style border-bottom-style border-left-style;; <border-style> | inherit;; none;; *;; no;; N/A ;; visual */
1820
/* border-style;; <border-style>{1,4} | inherit;; see individual properties;; *;; no;; N/A ;; visual */
@@ -121,8 +123,7 @@ no;; refer to the size of the box itself ;; visual
121123
XX;; *;; no;; allowed on 'background-position' ;; visual
122124
*/
123125

124-
/* font-family;;
125-
[[ <family-name> | <generic-family> ],]* [<family-name> | <generic-family>] | inherit;;
126+
/* font-family;; [[ <family-name> | <generic-family> ] [, <family-name>| <generic-family>]* ] | inherit;;
126127
depends on user agent;;
127128
*;; yes;; N/A ;; visual
128129
*/
@@ -180,13 +181,12 @@ allowed on 'font-size' and 'line-height' ;; visual
180181
0;; block-level elements;; yes;; refer to width of containing block;; visual
181182
*/
182183

183-
/* text-shadow;; none | [<color> || <length> <length> <length>? ,]*
184-
[<color> || <length> <length> <length>?] | inherit;; none;; *;; no (see
185-
prose);; N/A;; visual */
184+
/* text-shadow;; none | <shadow-effect> [ , <shadow-effect> ]* | inherit
185+
;; none;; *;; no (see prose);; N/A;; visual */
186186

187187
/* text-align;; left | right | center | justify | <string> | inherit;;
188188
depends on user agent and writing direction;;
189-
block-level elements;;
189+
block-level elements and table cells;;
190190
yes;; N/A;; visual
191191
*/
192192

0 commit comments

Comments
 (0)