Skip to content

Commit 8d96a7f

Browse files
committed
[css2] Added bottom, right, min and max width and height, aspect ration, and text-shadow-color
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40150
1 parent 8dd9aff commit 8d96a7f

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

css2/properties/properties.db

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@
5858
/* clear;; none | left | right | both;; none;; *;; no;; N/A */
5959

6060
/* position;; absolute | relative | static;; static;; *;; no;; N/A */
61+
/* top;; <length> | <percentage> | auto ;; auto;; *;; no;; N/A */
62+
/* bottom;; <length> | <percentage> | auto ;; auto;; *;; no;; N/A */
63+
/* left;; <length> | <percentage> | auto ;; auto;; *;; no;; N/A */
64+
/* right;; <length> | <percentage> | auto ;; auto;; *;; no;; N/A */
6165

6266
/* z-index;; auto | <integer>;; auto;; elements that may be positioned;; no;; N/A */
6367

@@ -67,6 +71,19 @@
6771
/* height;; <length> | auto;; auto;; block-level and replaced elements;; no;; refer to parent element's width
6872
*/
6973

74+
/* min-width;; <length> | <percentage>;; 0;; all; no;; refer to
75+
parent's width */
76+
/* max-width;; <length> | <percentage>;; 100%;; all; no;; refer to
77+
parent's width */
78+
min-height: <length> | <percentage>
79+
/* min-height;; <length> | <percentage>;; 0;; all; no;; refer to
80+
parent's height */
81+
/* max-height;; <length> | <percentage>;; 100%;; all; no;; refer to
82+
parent's height */
83+
84+
/* aspect-ratio;; <percentage> <percentage>;; 100% 100%;; all;; no;;
85+
refer to element's width and height */
86+
7087
/* line-height;; normal | <number> | <length> | <percentage>;; normal;;
7188
*;; yes;; relative to the font size of the element itself
7289
*/
@@ -125,7 +142,7 @@ XX;; *;; no;; allowed on <'background-position'>
125142
*/
126143

127144
/* font;;
128-
[ <'font-style'> || <'font-variant'> || <'font-weight'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'>;;
145+
[ [ <'font-style'> || <'font-variant'> || <'font-weight'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | <system-font>;;
129146
see individual properties;; *;; yes;;
130147
allowed on <'font-size'> and <'line-height'>
131148
*/
@@ -150,6 +167,9 @@ allowed on <'font-size'> and <'line-height'>
150167
0;; block-level elements;; yes;; refer to parent element's width
151168
*/
152169

170+
/* text-shadow-color;; none | <color> [, <color> ]*;; none;; all;; No, but see
171+
clarification below;; Indicate transparency */
172+
153173
/* alignment;; left | right | center | justify;;
154174
depends on user agent;;
155175
block-level elements;;

0 commit comments

Comments
 (0)