Diff for /Amaya/amaya/styleparser.c between versions 1.138 and 1.139

version 1.138, 2002/06/06 13:59:49 version 1.139, 2002/06/07 11:21:57
Line 2489  static char *ParseCSSBackgroundColor (El Line 2489  static char *ParseCSSBackgroundColor (El
   unsigned int          savedtype = 0;    unsigned int          savedtype = 0;
   ThotBool              moved;    ThotBool              moved;
   
   /* move the BODY rule to the HTML element */    /* move the HTML rule to the root element */
   moved = (context->type == HTML_EL_BODY && isHTML);    moved = (context->type == HTML_EL_HTML && isHTML);
   if (moved)    if (moved)
     {      {
       if (element)        if (element)
Line 2740  static char *ParseCSSBackgroundImage (El Line 2740  static char *ParseCSSBackgroundImage (El
   
   /* default element for FetchImage */    /* default element for FetchImage */
   el = TtaGetMainRoot (context->doc);    el = TtaGetMainRoot (context->doc);
   /* move the BODY rule to the HTML element */    /* move the HTML rule to the root element */
   moved = (context->type == HTML_EL_BODY && isHTML);    moved = (context->type == HTML_EL_HTML && isHTML);
   if (moved)    if (moved)
     {      {
       if (element)        if (element)
Line 2862  static char *ParseCSSBackgroundRepeat (E Line 2862  static char *ParseCSSBackgroundRepeat (E
   unsigned int        savedtype = 0;    unsigned int        savedtype = 0;
   ThotBool            moved;    ThotBool            moved;
   
   /* move the BODY rule to the HTML element */    /* move the HTML rule to the root element */
   moved = (context->type == HTML_EL_BODY && isHTML);    moved = (context->type == HTML_EL_HTML && isHTML);
   if (moved)    if (moved)
     {      {
       if (element)        if (element)
Line 2918  static char *ParseCSSBackgroundAttachmen Line 2918  static char *ParseCSSBackgroundAttachmen
   unsigned int          savedtype = 0;    unsigned int          savedtype = 0;
   ThotBool              moved;    ThotBool              moved;
   
   /* move the BODY rule to the HTML element */    /* move the HTML rule to the root element */
   moved = (context->type == HTML_EL_BODY && isHTML);    moved = (context->type == HTML_EL_HTML && isHTML);
   if (moved)    if (moved)
     {      {
       if (element)        if (element)
Line 2957  static char *ParseCSSBackgroundPosition Line 2957  static char *ParseCSSBackgroundPosition
   ThotBool              moved;    ThotBool              moved;
   ThotBool              ok;    ThotBool              ok;
   
   /* move the BODY rule to the HTML element */    /* move the HTML rule to the root element */
   moved = (context->type == HTML_EL_BODY && isHTML);    moved = (context->type == HTML_EL_HTML && isHTML);
   if (moved)    if (moved)
     {      {
       if (element)        if (element)

Removed from v.1.138  
changed lines
  Added in v.1.139


Webmaster