|
1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
2 | 2 | <html lang="en"> |
3 | | -<!-- $Id: syndata.src,v 2.63 1998-05-12 15:40:16 clilley Exp $ --> |
| 3 | +<!-- $Id: syndata.src,v 2.64 1999-11-02 19:09:15 ijacobs Exp $ --> |
4 | 4 | <HEAD> |
5 | 5 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
6 | 6 | <TITLE>CSS2 syntax and basic data types</TITLE> |
@@ -104,7 +104,7 @@ property : IDENT S*; |
104 | 104 | value : [ any | block | ATKEYWORD S* ]+; |
105 | 105 | any : [ IDENT | NUMBER | PERCENTAGE | DIMENSION | STRING |
106 | 106 | | DELIM | URI | HASH | UNICODE-RANGE | INCLUDES |
107 | | - | FUNCTION | DASHMATCH | '(' any* ')' | '[' any* ']' ] S*; |
| 107 | + | FUNCTION any* ')' | DASHMATCH | '(' any* ')' | '[' any* ']' ] S*; |
108 | 108 | </PRE> |
109 | 109 |
|
110 | 110 | <P><a name="comment">COMMENT</a> tokens do not occur |
@@ -915,8 +915,8 @@ specifications. These examples all specify the same color: |
915 | 915 | <PRE> |
916 | 916 | EM { color: #f00 } /* #rgb */ |
917 | 917 | EM { color: #ff0000 } /* #rrggbb */ |
918 | | -EM { color: rgb(255,0,0) } /* integer range 0 - 255 */ |
919 | | -EM { color: rgb(100%, 0%, 0%) } /* float range 0.0% - 100.0% */ |
| 918 | +EM { color: rgb(255,0,0) } |
| 919 | +EM { color: rgb(100%, 0%, 0%) } |
920 | 920 | </PRE> |
921 | 921 | </div> |
922 | 922 |
|
@@ -964,13 +964,12 @@ EM { color: rgb(300,0,0) } /* clipped to rgb(255,0,0) */ |
964 | 964 | EM { color: rgb(255,-10,0) } /* clipped to rgb(255,0,0) */ |
965 | 965 | EM { color: rgb(110%, 0%, 0%) } /* clipped to rgb(100%,0%,0%) */ |
966 | 966 | </PRE> |
| 967 | +</div> |
967 | 968 |
|
968 | 969 | <p>Other devices, such as printers, have different gamuts to sRGB; |
969 | 970 | some colors outside the 0..255 sRGB range will be representable |
970 | 971 | (inside the device gamut), while other colors inside the 0..255 sRGB |
971 | 972 | range will be outside the device gamut and will thus be clipped. |
972 | | -</div> |
973 | | - |
974 | 973 |
|
975 | 974 | <div class="note"><P> |
976 | 975 | <em><strong>Note.</strong> |
|
0 commit comments