version 1.131, 2002/05/22 13:02:26
|
version 1.132, 2002/05/29 13:18:17
|
Line 4943 char ReadCSSRules (Document docRef, CSSI
|
Line 4943 char ReadCSSRules (Document docRef, CSSI
|
else |
else |
base = strstr (&CSSbuffer[import], "screen"); |
base = strstr (&CSSbuffer[import], "screen"); |
if (base == NULL) |
if (base == NULL) |
|
base = strstr (&CSSbuffer[import], "all"); |
|
if (base == NULL) |
ignoreMedia = TRUE; |
ignoreMedia = TRUE; |
noRule = TRUE; |
noRule = TRUE; |
} |
} |
Line 5015 char ReadCSSRules (Document docRef, CSSI
|
Line 5017 char ReadCSSRules (Document docRef, CSSI
|
if (quoted) |
if (quoted) |
cssRule--; |
cssRule--; |
*cssRule = EOS; |
*cssRule = EOS; |
|
if (TtaIsPrinting ()) |
|
base = strstr (&cssRule[1], "print"); |
|
else |
|
base = strstr (&cssRule[1], "screen"); |
|
if (base == NULL) |
|
base = strstr (&cssRule[1], "all"); |
|
if (base == NULL) |
|
ignoreImport = TRUE; |
if (!ignoreImport) |
if (!ignoreImport) |
LoadStyleSheet (base, docRef, NULL, css, |
LoadStyleSheet (base, docRef, NULL, css, |
css->media[docRef], |
css->media[docRef], |