Merge branch 'add-muted' of https://github.com/drichardson/tidy-html5 into add-muted

This commit is contained in:
Jim Derry 2021-06-30 13:24:49 -04:00
commit 521db71815
3 changed files with 6 additions and 0 deletions

View file

@ -1211,6 +1211,7 @@ typedef enum
TidyAttr_MAX, /**< MAX= */ TidyAttr_MAX, /**< MAX= */
TidyAttr_MEDIAGROUP, /**< MEDIAGROUP= */ TidyAttr_MEDIAGROUP, /**< MEDIAGROUP= */
TidyAttr_MIN, /**< MIN= */ TidyAttr_MIN, /**< MIN= */
TidyAttr_MUTED, /**< MUTED= */
TidyAttr_NOVALIDATE, /**< NOVALIDATE= */ TidyAttr_NOVALIDATE, /**< NOVALIDATE= */
TidyAttr_OPEN, /**< OPEN= */ TidyAttr_OPEN, /**< OPEN= */
TidyAttr_OPTIMUM, /**< OPTIMUM= */ TidyAttr_OPTIMUM, /**< OPTIMUM= */
@ -1266,6 +1267,7 @@ typedef enum
TidyAttr_OnWAITING, /**< OnWAITING= */ TidyAttr_OnWAITING, /**< OnWAITING= */
TidyAttr_PATTERN, /**< PATTERN= */ TidyAttr_PATTERN, /**< PATTERN= */
TidyAttr_PLACEHOLDER, /**< PLACEHOLDER= */ TidyAttr_PLACEHOLDER, /**< PLACEHOLDER= */
TidyAttr_PLAYSINLINE, /**< PLAYSINLINE= */
TidyAttr_POSTER, /**< POSTER= */ TidyAttr_POSTER, /**< POSTER= */
TidyAttr_PRELOAD, /**< PRELOAD= */ TidyAttr_PRELOAD, /**< PRELOAD= */
TidyAttr_PUBDATE, /**< PUBDATE= */ TidyAttr_PUBDATE, /**< PUBDATE= */

View file

@ -3625,6 +3625,8 @@ const AttrVersion TY_(W3CAttrsFor_VIDEO)[] =
{ TidyAttr_HEIGHT, xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|HT50|XH50 }, { TidyAttr_HEIGHT, xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|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r_SRC, xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|HT50|XH50 },

View file

@ -317,6 +317,7 @@ static const Attribute attribute_defs [] =
{ TidyAttr_MAX, "max", CH_PCDATA }, { TidyAttr_MAX, "max", CH_PCDATA },
{ TidyAttr_MEDIAGROUP, "mediagroup", CH_PCDATA }, { TidyAttr_MEDIAGROUP, "mediagroup", CH_PCDATA },
{ TidyAttr_MIN, "min", CH_PCDATA }, { TidyAttr_MIN, "min", CH_PCDATA },
{ TidyAttr_MUTED, "muted", CH_BOOL },
{ TidyAttr_NOVALIDATE, "novalidate", CH_PCDATA }, { TidyAttr_NOVALIDATE, "novalidate", CH_PCDATA },
{ TidyAttr_OPEN, "open", CH_BOOL }, /* Is. #925 PR #932 */ { TidyAttr_OPEN, "open", CH_BOOL }, /* Is. #925 PR #932 */
{ TidyAttr_OPTIMUM, "optimum", CH_PCDATA }, { TidyAttr_OPTIMUM, "optimum", CH_PCDATA },
@ -372,6 +373,7 @@ static const Attribute attribute_defs [] =
{ TidyAttr_OnWAITING, "onwaiting", CH_PCDATA }, { TidyAttr_OnWAITING, "onwaiting", CH_PCDATA },
{ TidyAttr_PATTERN, "pattern", CH_PCDATA }, { TidyAttr_PATTERN, "pattern", CH_PCDATA },
{ TidyAttr_PLACEHOLDER, "placeholder", CH_PCDATA }, { TidyAttr_PLACEHOLDER, "placeholder", CH_PCDATA },
{ TidyAttr_PLAYSINLINE, "playsinline", CH_BOOL },
{ TidyAttr_POSTER, "poster", CH_PCDATA }, { TidyAttr_POSTER, "poster", CH_PCDATA },
{ TidyAttr_PRELOAD, "preload", CH_PCDATA }, { TidyAttr_PRELOAD, "preload", CH_PCDATA },
{ TidyAttr_PUBDATE, "pubdate", CH_PCDATA }, { TidyAttr_PUBDATE, "pubdate", CH_PCDATA },