Changeset 4739 for gaycko/trunk


Ignore:
Timestamp:
Feb 2, 2011, 10:01:36 AM (9 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Added table / tr / td
Location:
gaycko/trunk/src/dom
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gaycko/trunk/src/dom/dom.c

    r4738 r4739  
    5858        }else if(!strncmp(e->name, "img", 3)) {
    5959                e->type = ELEM_IMG;
     60        }else if(!strncmp(e->name, "table", 3)) {
     61                e->type = ELEM_TABLE;
     62        }else if(!strncmp(e->name, "tr", 3)) {
     63                e->type = ELEM_TR;
     64        }else if(!strncmp(e->name, "td", 3)) {
     65                e->type = ELEM_TD;
    6066        }else if(!strncmp(e->name, "text", 4)) {
    6167                e->type = ELEM_TEXT;
  • gaycko/trunk/src/dom/dom.h

    r4716 r4739  
    2121    ELEM_P,
    2222    ELEM_IMG,
     23    ELEM_TABLE,
     24    ELEM_TR,
     25    ELEM_TD
    2326}elementType;
    2427
Note: See TracChangeset for help on using the changeset viewer.