feat(attrask.c): learn about charset attr
This commit is contained in:
parent
53ee94ddba
commit
932cc104a6
|
@ -193,6 +193,10 @@ Bool TIDY_CALL tidyAttrIsROWSPAN( TidyAttr tattr )
|
||||||
{
|
{
|
||||||
return attrIsROWSPAN( tidyAttrToImpl(tattr) );
|
return attrIsROWSPAN( tidyAttrToImpl(tattr) );
|
||||||
}
|
}
|
||||||
|
Bool TIDY_CALL tidyAttrIsCHARSET( TidyAttr tattr )
|
||||||
|
{
|
||||||
|
return attrIsCHARSET( tidyAttrToImpl(tattr) );
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* local variables:
|
* local variables:
|
||||||
|
|
|
@ -197,6 +197,10 @@ TidyAttr TIDY_CALL tidyAttrGetROWSPAN( TidyNode tnod )
|
||||||
{
|
{
|
||||||
return tidyImplToAttr( attrGetROWSPAN( tidyNodeToImpl(tnod) ) );
|
return tidyImplToAttr( attrGetROWSPAN( tidyNodeToImpl(tnod) ) );
|
||||||
}
|
}
|
||||||
|
TidyAttr TIDY_CALL tidyAttrGetCHARSET( TidyNode tnod )
|
||||||
|
{
|
||||||
|
return tidyImplToAttr( attrGetCHARSET( tidyNodeToImpl(tnod) ) );
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* local variables:
|
* local variables:
|
||||||
|
|
|
@ -184,6 +184,7 @@ Bool TY_(AttributeIsMismatched)(Node* node, AttVal* attval, TidyDocImpl* doc);
|
||||||
#define attrIsBOTTOMMARGIN(av) AttrIsId( av, TidyAttr_BOTTOMMARGIN )
|
#define attrIsBOTTOMMARGIN(av) AttrIsId( av, TidyAttr_BOTTOMMARGIN )
|
||||||
#define attrIsCELLPADDING(av) AttrIsId( av, TidyAttr_CELLPADDING )
|
#define attrIsCELLPADDING(av) AttrIsId( av, TidyAttr_CELLPADDING )
|
||||||
#define attrIsCELLSPACING(av) AttrIsId( av, TidyAttr_CELLSPACING )
|
#define attrIsCELLSPACING(av) AttrIsId( av, TidyAttr_CELLSPACING )
|
||||||
|
#define attrIsCHARSET(av) AttrIsId( av, TidyAttr_CHARSET )
|
||||||
#define attrIsCHAR(av) AttrIsId( av, TidyAttr_CHAR )
|
#define attrIsCHAR(av) AttrIsId( av, TidyAttr_CHAR )
|
||||||
#define attrIsCHAROFF(av) AttrIsId( av, TidyAttr_CHAROFF )
|
#define attrIsCHAROFF(av) AttrIsId( av, TidyAttr_CHAROFF )
|
||||||
#define attrIsCHARSET(av) AttrIsId( av, TidyAttr_CHARSET )
|
#define attrIsCHARSET(av) AttrIsId( av, TidyAttr_CHARSET )
|
||||||
|
@ -385,6 +386,7 @@ Bool TY_(AttributeIsMismatched)(Node* node, AttVal* attval, TidyDocImpl* doc);
|
||||||
#define attrGetHEIGHT( nod ) TY_(AttrGetById)( nod, TidyAttr_HEIGHT )
|
#define attrGetHEIGHT( nod ) TY_(AttrGetById)( nod, TidyAttr_HEIGHT )
|
||||||
#define attrGetFOR( nod ) TY_(AttrGetById)( nod, TidyAttr_FOR )
|
#define attrGetFOR( nod ) TY_(AttrGetById)( nod, TidyAttr_FOR )
|
||||||
#define attrGetSELECTED( nod ) TY_(AttrGetById)( nod, TidyAttr_SELECTED )
|
#define attrGetSELECTED( nod ) TY_(AttrGetById)( nod, TidyAttr_SELECTED )
|
||||||
|
#define attrGetCHARSET( nod ) TY_(AttrGetById)( nod, TidyAttr_CHARSET )
|
||||||
#define attrGetCHECKED( nod ) TY_(AttrGetById)( nod, TidyAttr_CHECKED )
|
#define attrGetCHECKED( nod ) TY_(AttrGetById)( nod, TidyAttr_CHECKED )
|
||||||
#define attrGetLANG( nod ) TY_(AttrGetById)( nod, TidyAttr_LANG )
|
#define attrGetLANG( nod ) TY_(AttrGetById)( nod, TidyAttr_LANG )
|
||||||
#define attrGetTARGET( nod ) TY_(AttrGetById)( nod, TidyAttr_TARGET )
|
#define attrGetTARGET( nod ) TY_(AttrGetById)( nod, TidyAttr_TARGET )
|
||||||
|
|
Loading…
Reference in a new issue