Add support for the HTML5 "crossorigin" attribute
This attribute can only be used on "link" elements. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#Attributes
This commit is contained in:
parent
60c1dd1744
commit
9377f65f89
|
@ -553,6 +553,7 @@ typedef enum
|
|||
TidyAttr_COMPACT, /**< COMPACT= */
|
||||
TidyAttr_CONTENT, /**< CONTENT= */
|
||||
TidyAttr_COORDS, /**< COORDS= */
|
||||
TidyAttr_CROSSORIGIN, /**< CROSSORIGIN= */
|
||||
TidyAttr_DATA, /**< DATA= */
|
||||
TidyAttr_DATAFLD, /**< DATAFLD= */
|
||||
TidyAttr_DATAFORMATAS, /**< DATAFORMATAS= */
|
||||
|
|
|
@ -1950,6 +1950,7 @@ const AttrVersion TY_(W3CAttrsFor_LINK)[] =
|
|||
INCLUDE_MICRODATA
|
||||
{ TidyAttr_CHARSET, xxxx|xxxx|H40T|H41T|X10T|H40F|H41F|X10F|H40S|H41S|X10S|XH11|XB10|xxxx|xxxx },
|
||||
{ TidyAttr_CLASS, xxxx|xxxx|H40T|H41T|X10T|H40F|H41F|X10F|H40S|H41S|X10S|XH11|XB10|HT50|XH50 }, /* CORE override */
|
||||
{ TidyAttr_CROSSORIGIN, xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|HT50|XH50 },
|
||||
{ TidyAttr_DIR, xxxx|xxxx|H40T|H41T|X10T|H40F|H41F|X10F|H40S|H41S|X10S|XH11|xxxx|HT50|XH50 }, /* CORE override */
|
||||
{ TidyAttr_HREF, HT20|HT32|H40T|H41T|X10T|H40F|H41F|X10F|H40S|H41S|X10S|XH11|XB10|HT50|XH50 },
|
||||
{ TidyAttr_HREFLANG, xxxx|xxxx|H40T|H41T|X10T|H40F|H41F|X10F|H40S|H41S|X10S|XH11|XB10|HT50|XH50 },
|
||||
|
|
|
@ -279,6 +279,7 @@ static const Attribute attribute_defs [] =
|
|||
{ TidyAttr_CONTENTEDITABLE, "contenteditable", CH_PCDATA },
|
||||
{ TidyAttr_CONTEXTMENU, "contextmenu", CH_PCDATA },
|
||||
{ TidyAttr_CONTROLS, "controls", CH_PCDATA },
|
||||
{ TidyAttr_CROSSORIGIN, "crossorigin", CH_PCDATA },
|
||||
{ TidyAttr_DEFAULT, "default", CH_PCDATA },
|
||||
{ TidyAttr_DIRNAME, "dirname", CH_PCDATA },
|
||||
{ TidyAttr_DRAGGABLE, "draggable", CH_PCDATA },
|
||||
|
|
Loading…
Reference in a new issue