<?php
namespace AMPforWP\AMPVendor;
/**
 * Generated by amphtml-update.py - do not edit.
 *
 * This is a list of HTML tags and attributes that are allowed by the
 * AMP specification. Note that tag names have been converted to lowercase.
 *
 * Note: This file only contains tags that are relevant to the `body` of
 * an AMP page. To include additional elements modify the variable
 * `mandatory_parent_blacklist` in the amp_wp_build.py script.
 *
 * phpcs:ignoreFile
 */
class AMP_Allowed_Tags_Generated {

	private static $spec_file_revision = 595;
	private static $minimum_validator_revision_required = 322;

	private static $allowed_tags = array(
		'a' => array(
			array(
				'attr_spec_list' => array(
					'[href]' => array(),
					'border' => array(),
					'download' => array(),
					'href' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_empty' => true,
							'allow_relative' => true,
							'allowed_protocol' => array(
								'ftp',
								'geo',
								'http',
								'https',
								'mailto',
								'maps',
								'bbmi',
								'fb-messenger',
								'intent',
								'line',
								'skype',
								'sms',
								'snapchat',
								'tel',
								'tg',
								'threema',
								'twitter',
								'viber',
								'whatsapp',
							),
						),
					),
					'hreflang' => array(),
					'media' => array(),
					'name' => array(),
					'referrerpolicy' => array(),
					'rel' => array(
						'blacklisted_value_regex' => '(^|\\s)(components|dns-prefetch|import|manifest|preconnect|prefetch|preload|prerender|serviceworker|stylesheet|subresource|)(\\s|$)',
					),
					'role' => array(),
					'tabindex' => array(),
					'target' => array(
						'value_regex' => '(_blank|_self|_top)',
					),
					'type' => array(
						'value_casei' => 'text/html',
					),
				),
				'tag_spec' => array(
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#links',
				),
			),
		),
		'abbr' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'acronym' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'address' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'amp-3q-player' => array(
			array(
				'attr_spec_list' => array(
					'autoplay' => array(
						'value' => '',
					),
					'data-id' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-3q-player',
					),
				),
			),
		),
		'amp-accordion' => array(
			array(
				'attr_spec_list' => array(
					'disable-session-states' => array(
						'value' => '',
					),
					'expand-single-section' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-accordion',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-accordion',
				),
			),
		),
		'amp-ad' => array(
			array(
				'attr_spec_list' => array(
					'alt' => array(),
					'json' => array(),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'rtc-config' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'template' => array(),
					'type' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'also_requires_tag_warning' => array(
						'amp-ad extension .js script',
					),
					'disallowed_ancestor' => array(
						'amp-app-banner',
					),
					'requires_extension' => array(
						'amp-ad',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-ad',
				),
			),
			array(
				'attr_spec_list' => array(
					'alt' => array(),
					'data-multi-size' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value' => '',
					),
					'json' => array(),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'rtc-config' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'type' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'also_requires_tag_warning' => array(
						'amp-ad extension .js script',
					),
					'disallowed_ancestor' => array(
						'amp-app-banner',
						'amp-carousel',
						'amp-fx-flying-carpet',
						'amp-lightbox',
						'amp-sticky-ad',
					),
					'requires_extension' => array(
						'amp-ad',
					),
					'spec_name' => 'amp-ad with data-multi-size attribute',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-ad',
				),
			),
			array(
				'attr_spec_list' => array(
					'alt' => array(),
					'data-enable-refresh' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value' => '',
					),
					'json' => array(),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'type' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'also_requires_tag_warning' => array(
						'amp-ad extension .js script',
					),
					'disallowed_ancestor' => array(
						'amp-app-banner',
						'amp-fx-flying-carpet',
						'amp-lightbox',
					),
					'requires_extension' => array(
						'amp-ad',
					),
					'spec_name' => 'amp-ad with data-enable-refresh attribute',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-ad',
				),
			),
		),
		'amp-analytics' => array(
			array(
				'attr_spec_list' => array(
					'config' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_empty' => true,
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'type' => array(),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-analytics',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-analytics',
				),
			),
		),
		'amp-anim' => array(
			array(
				'attr_spec_list' => array(
					'alt' => array(),
					'attribution' => array(),
					'controls' => array(),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'src' => array(
						'alternative_names' => array(
							'srcset',
						),
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'data',
								'http',
								'https',
							),
						),
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-anim',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-anim',
				),
			),
		),
		'amp-animation' => array(
			array(
				'attr_spec_list' => array(
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'trigger' => array(
						'value' => 'visibility',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-animation',
					),
				),
			),
		),
		'amp-apester-media' => array(
			array(
				'attr_spec_list' => array(
					'data-apester-channel-token' => array(
						'value_regex' => '[0-9a-zA-Z]+',
					),
					'data-apester-media-id' => array(
						'value_regex' => '[0-9a-zA-Z]+',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-apester-media',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-apester-media',
				),
			),
		),
		'amp-app-banner' => array(
			array(
				'attr_spec_list' => array(
					'id' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'body',
					'requires_extension' => array(
						'amp-app-banner',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-app-banner',
					'unique' => true,
				),
			),
		),
		'amp-audio' => array(
			array(
				'attr_spec_list' => array(
					'album' => array(),
					'artist' => array(),
					'artwork' => array(),
					'autoplay' => array(
						'value' => '',
					),
					'controls' => array(),
					'controlslist' => array(),
					'loop' => array(
						'value' => '',
					),
					'media' => array(),
					'muted' => array(
						'value' => '',
					),
					'noloading' => array(
						'value' => '',
					),
					'preload' => array(
						'value_regex_casei' => '(auto|metadata|none|)',
					),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
				),
				'tag_spec' => array(
					'disallowed_ancestor' => array(
						'amp-story',
					),
					'requires_extension' => array(
						'amp-audio',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-audio',
				),
			),
			array(
				'attr_spec_list' => array(
					'album' => array(),
					'artist' => array(),
					'artwork' => array(),
					'autoplay' => array(
						'mandatory' => true,
						'value' => '',
					),
					'controls' => array(),
					'controlslist' => array(),
					'loop' => array(
						'value' => '',
					),
					'media' => array(),
					'muted' => array(
						'value' => '',
					),
					'noloading' => array(
						'value' => '',
					),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'amp-story',
					'requires_extension' => array(
						'amp-audio',
					),
					'spec_name' => 'amp-story >> amp-audio',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-audio',
				),
			),
		),
		'amp-auto-ads' => array(
			array(
				'attr_spec_list' => array(
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'type' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'body',
					'requires_extension' => array(
						'amp-auto-ads',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-auto-ads',
				),
			),
		),
		'amp-beopinion' => array(
			array(
				'attr_spec_list' => array(
					'data-account' => array(
						'mandatory' => true,
						'value_regex_casei' => '[0-9a-f]{24}',
					),
					'data-content' => array(
						'value_regex_casei' => '[0-9a-f]{24}',
					),
					'data-my-content' => array(
						'value_regex' => '0|1',
					),
					'data-name' => array(),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-beopinion',
					),
				),
			),
		),
		'amp-bind-macro' => array(
			array(
				'attr_spec_list' => array(
					'arguments' => array(),
					'expression' => array(
						'mandatory' => true,
					),
					'id' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-bind',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-bind',
				),
			),
		),
		'amp-bodymovin-animation' => array(
			array(
				'attr_spec_list' => array(
					'loop' => array(
						'value_regex_casei' => '(false|number|true)',
					),
					'noautoplay' => array(
						'value' => '',
					),
					'src' => array(
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-bodymovin-animation',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-bodymovin-animation',
				),
			),
		),
		'amp-brid-player' => array(
			array(
				'attr_spec_list' => array(
					'autoplay' => array(),
					'data-outstream' => array(
						'value_regex' => '[0-9]+',
					),
					'data-partner' => array(
						'mandatory' => true,
						'value_regex' => '[0-9]+',
					),
					'data-player' => array(
						'mandatory' => true,
						'value_regex' => '[0-9]+',
					),
					'data-playlist' => array(
						'value_regex' => '[0-9]+',
					),
					'data-video' => array(
						'value_regex' => '[0-9]+',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-brid-player',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-brid-player',
				),
			),
		),
		'amp-brightcove' => array(
			array(
				'attr_spec_list' => array(
					'[data-account]' => array(),
					'[data-embed]' => array(),
					'[data-player-id]' => array(),
					'[data-player]' => array(),
					'[data-playlist-id]' => array(),
					'[data-video-id]' => array(),
					'data-account' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-brightcove',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-brightcove',
				),
			),
		),
		'amp-byside-content' => array(
			array(
				'attr_spec_list' => array(
					'data-label' => array(
						'mandatory' => true,
					),
					'data-webcare-id' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-byside-content',
					),
				),
			),
		),
		'amp-call-tracking' => array(
			array(
				'attr_spec_list' => array(
					'config' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-call-tracking',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-call-tracking',
				),
			),
		),
		'amp-carousel' => array(
			array(
				'attr_spec_list' => array(
					'[slide]' => array(),
					'arrows' => array(
						'value' => '',
					),
					'autoplay' => array(
						'value' => '',
					),
					'controls' => array(),
					'delay' => array(
						'value_regex' => '[0-9]+',
					),
					'dots' => array(
						'value' => '',
					),
					'lightbox' => array(),
					'lightbox-exclude' => array(
						'value' => '',
					),
					'lightbox-thumbnail-id' => array(
						'value_regex_casei' => '^[a-z][a-z\\d_-]*',
					),
					'loop' => array(
						'value' => '',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'type' => array(
						'value_regex' => 'slides|carousel',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-carousel',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-carousel',
				),
			),
		),
		'amp-consent' => array(
			array(
				'attr_spec_list' => array(
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-consent',
					),
					'unique' => true,
				),
			),
		),
		'amp-dailymotion' => array(
			array(
				'attr_spec_list' => array(
					'autoplay' => array(),
					'data-endscreen-enable' => array(
						'value_regex' => 'true|false',
					),
					'data-info' => array(
						'value_regex' => 'true|false',
					),
					'data-mute' => array(
						'value_regex' => 'true|false',
					),
					'data-sharing-enable' => array(
						'value_regex' => 'true|false',
					),
					'data-start' => array(
						'value_regex' => '[0-9]+',
					),
					'data-ui-highlight' => array(
						'value_regex_casei' => '([0-9a-f]{3}){1,2}',
					),
					'data-ui-logo' => array(
						'value_regex' => 'true|false',
					),
					'data-videoid' => array(
						'mandatory' => true,
						'value_regex_casei' => '[a-z0-9]+',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-dailymotion',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-dailymotion',
				),
			),
		),
		'amp-date-countdown' => array(
			array(
				'attr_spec_list' => array(
					'biggest-unit' => array(
						'value_casei' => array(
							'days',
							'hours',
							'minutes',
							'seconds',
						),
					),
					'end-date' => array(
						'value_regex' => '\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d(:[0-5]\\d(\\.\\d+)?)?(Z|[+-][0-1][0-9]:[0-5][0-9])',
					),
					'locale' => array(
						'value_casei' => array(
							'de',
							'en',
							'es',
							'fr',
							'id',
							'it',
							'ja',
							'ko',
							'nl',
							'pt',
							'ru',
							'th',
							'tr',
							'vi',
							'zh-cn',
							'zh-tw',
						),
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'offset-seconds' => array(
						'value_regex' => '-?\\d+',
					),
					'template' => array(),
					'timeleft-ms' => array(
						'value_regex' => '\\d+',
					),
					'timestamp-ms' => array(
						'value_regex' => '\\d{13}',
					),
					'timestamp-seconds' => array(
						'value_regex' => '\\d{10}',
					),
					'when-ended' => array(
						'value_casei' => array(
							'continue',
							'stop',
						),
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-date-countdown',
					),
				),
			),
		),
		'amp-date-picker' => array(
			array(
				'attr_spec_list' => array(
					'allow-blocked-ranges' => array(
						'value' => '',
					),
					'blocked' => array(),
					'day-size' => array(
						'value_regex' => '[0-9]+',
					),
					'first-day-of-week' => array(
						'value_regex' => '[0-6]',
					),
					'format' => array(),
					'fullscreen' => array(
						'value' => '',
					),
					'highlighted' => array(),
					'input-selector' => array(),
					'locale' => array(),
					'max' => array(),
					'media' => array(),
					'min' => array(),
					'mode' => array(
						'value_casei' => 'static',
					),
					'month-format' => array(),
					'noloading' => array(
						'value' => '',
					),
					'number-of-months' => array(
						'value_regex' => '[0-9]+',
					),
					'open-after-clear' => array(
						'value' => '',
					),
					'open-after-select' => array(
						'value' => '',
					),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'type' => array(
						'value_casei' => 'single',
					),
					'week-day-format' => array(),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-date-picker',
					),
					'spec_name' => 'amp-date-picker[type=single][mode=static]',
				),
			),
			array(
				'attr_spec_list' => array(
					'allow-blocked-ranges' => array(
						'value' => '',
					),
					'blocked' => array(),
					'day-size' => array(
						'value_regex' => '[0-9]+',
					),
					'first-day-of-week' => array(
						'value_regex' => '[0-6]',
					),
					'format' => array(),
					'highlighted' => array(),
					'input-selector' => array(),
					'locale' => array(),
					'max' => array(),
					'media' => array(),
					'min' => array(),
					'mode' => array(
						'mandatory' => true,
						'value_casei' => 'overlay',
					),
					'month-format' => array(),
					'noloading' => array(
						'value' => '',
					),
					'number-of-months' => array(
						'value_regex' => '[0-9]+',
					),
					'open-after-clear' => array(
						'value' => '',
					),
					'open-after-select' => array(
						'value' => '',
					),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'type' => array(
						'value_casei' => 'single',
					),
					'week-day-format' => array(),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-date-picker',
					),
					'spec_name' => 'amp-date-picker[type=single][mode=overlay]',
				),
			),
			array(
				'attr_spec_list' => array(
					'allow-blocked-ranges' => array(
						'value' => '',
					),
					'blocked' => array(),
					'day-size' => array(
						'value_regex' => '[0-9]+',
					),
					'end-input-selector' => array(),
					'first-day-of-week' => array(
						'value_regex' => '[0-6]',
					),
					'format' => array(),
					'fullscreen' => array(
						'value' => '',
					),
					'highlighted' => array(),
					'locale' => array(),
					'max' => array(),
					'media' => array(),
					'min' => array(),
					'mode' => array(
						'value_casei' => 'static',
					),
					'month-format' => array(),
					'noloading' => array(
						'value' => '',
					),
					'number-of-months' => array(
						'value_regex' => '[0-9]+',
					),
					'open-after-clear' => array(
						'value' => '',
					),
					'open-after-select' => array(
						'value' => '',
					),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'start-input-selector' => array(),
					'type' => array(
						'mandatory' => true,
						'value_casei' => 'range',
					),
					'week-day-format' => array(),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-date-picker',
					),
					'spec_name' => 'amp-date-picker[type=range][mode=static]',
				),
			),
			array(
				'attr_spec_list' => array(
					'allow-blocked-ranges' => array(
						'value' => '',
					),
					'blocked' => array(),
					'day-size' => array(
						'value_regex' => '[0-9]+',
					),
					'end-input-selector' => array(),
					'first-day-of-week' => array(
						'value_regex' => '[0-6]',
					),
					'format' => array(),
					'highlighted' => array(),
					'locale' => array(),
					'max' => array(),
					'media' => array(),
					'min' => array(),
					'mode' => array(
						'mandatory' => true,
						'value_casei' => 'overlay',
					),
					'month-format' => array(),
					'noloading' => array(
						'value' => '',
					),
					'number-of-months' => array(
						'value_regex' => '[0-9]+',
					),
					'open-after-clear' => array(
						'value' => '',
					),
					'open-after-select' => array(
						'value' => '',
					),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'start-input-selector' => array(),
					'type' => array(
						'mandatory' => true,
						'value_casei' => 'range',
					),
					'week-day-format' => array(),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-date-picker',
					),
					'spec_name' => 'amp-date-picker[type=range][mode=overlay]',
				),
			),
		),
		'amp-document-recommendations' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(
					'mandatory_parent' => 'body',
					'requires_extension' => array(
						'amp-document-recommendations',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-document-recommendations',
				),
			),
		),
		'amp-embed' => array(
			array(
				'attr_spec_list' => array(
					'alt' => array(),
					'json' => array(),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'rtc-config' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'template' => array(),
					'type' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'also_requires_tag_warning' => array(
						'amp-ad extension .js script',
					),
					'disallowed_ancestor' => array(
						'amp-app-banner',
					),
					'requires_extension' => array(
						'amp-ad',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-ad',
				),
			),
			array(
				'attr_spec_list' => array(
					'alt' => array(),
					'data-multi-size' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value' => '',
					),
					'json' => array(),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'rtc-config' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'type' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'also_requires_tag_warning' => array(
						'amp-ad extension .js script',
					),
					'disallowed_ancestor' => array(
						'amp-app-banner',
						'amp-carousel',
						'amp-fx-flying-carpet',
						'amp-lightbox',
						'amp-sticky-ad',
					),
					'requires_extension' => array(
						'amp-ad',
					),
					'spec_name' => 'amp-embed with data-multi-size attribute',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-ad',
				),
			),
		),
		'amp-experiment' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-experiment',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-experiment',
					'unique' => true,
				),
			),
		),
		'amp-facebook' => array(
			array(
				'attr_spec_list' => array(
					'data-href' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-facebook',
					),
				),
			),
		),
		'amp-facebook-comments' => array(
			array(
				'attr_spec_list' => array(
					'data-href' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-facebook-comments',
					),
				),
			),
		),
		'amp-facebook-like' => array(
			array(
				'attr_spec_list' => array(
					'data-href' => array(
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-facebook-like',
					),
				),
			),
		),
		'amp-facebook-page' => array(
			array(
				'attr_spec_list' => array(
					'data-href' => array(
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-facebook-page',
					),
				),
			),
		),
		'amp-fit-text' => array(
			array(
				'attr_spec_list' => array(
					'max-font-size' => array(),
					'media' => array(),
					'min-font-size' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-fit-text',
					),
				),
			),
		),
		'amp-font' => array(
			array(
				'attr_spec_list' => array(
					'font-family' => array(
						'mandatory' => true,
					),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'on-error-add-class' => array(),
					'on-error-remove-class' => array(),
					'on-load-add-class' => array(),
					'on-load-remove-class' => array(),
					'timeout' => array(
						'value_regex' => '[0-9]+',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-font',
					),
				),
			),
		),
		'amp-fx-flying-carpet' => array(
			array(
				'attr_spec_list' => array(
					'height' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-fx-flying-carpet',
					),
				),
			),
		),
		'amp-gfycat' => array(
			array(
				'attr_spec_list' => array(
					'data-gfyid' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noautoplay' => array(
						'value' => '',
					),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-gfycat',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-gfycat',
				),
			),
		),
		'amp-gist' => array(
			array(
				'attr_spec_list' => array(
					'data-gistid' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-gist',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-gist',
				),
			),
		),
		'amp-hulu' => array(
			array(
				'attr_spec_list' => array(
					'data-eid' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-hulu',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-hulu',
				),
			),
		),
		'amp-iframe' => array(
			array(
				'attr_spec_list' => array(
					'[src]' => array(),
					'allow' => array(),
					'allowfullscreen' => array(
						'value' => '',
					),
					'allowpaymentrequest' => array(
						'value' => '',
					),
					'allowtransparency' => array(
						'value' => '',
					),
					'frameborder' => array(
						'value_regex' => '0|1',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'referrerpolicy' => array(),
					'resizable' => array(
						'value' => '',
					),
					'sandbox' => array(),
					'scrolling' => array(
						'value_regex' => 'auto|yes|no',
					),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'data',
								'https',
							),
						),
					),
					'srcdoc' => array(),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-iframe',
					),
				),
			),
		),
		'amp-ima-video' => array(
			array(
				'attr_spec_list' => array(
					'autoplay' => array(
						'value' => '',
					),
					'data-src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'data-tag' => array(
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-ima-video',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-ima-video',
				),
			),
		),
		'amp-image-lightbox' => array(
			array(
				'attr_spec_list' => array(
					'controls' => array(),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-image-lightbox',
					),
				),
			),
		),
		'amp-image-slider' => array(
			array(
				'attr_spec_list' => array(
					'disable-hint-reappear' => array(),
					'initial-slider-position' => array(
						'value_regex' => '0(\\.[0-9]+)?|1(\\.0+)?',
					),
					'media' => array(),
					'noloading' => array(
						'value' => array(
							'',
						),
					),
					'step-size' => array(
						'value_regex' => '0(\\.[0-9]+)?|1(\\.0+)?',
					),
				),
				'tag_spec' => array(
					'amp_layout' => array(
						'supported_layouts' => array(
							2,
							9,
							1,
							4,
						),
					),
					'child_tags' => array(
						'child_tag_name_oneof' => array(
							'amp-img',
							'div',
						),
						'mandatory_min_num_child_tags' => 2,
					),
					'requires_extension' => array(
						'amp-image-slider',
					),
					'spec_url' => 'https://amp.dev/documentation/components/amp-image-slider',
				),
			),
		),
		'amp-img' => array(
			array(
				'attr_spec_list' => array(
					'[alt]' => array(),
					'[attribution]' => array(),
					'[src]' => array(),
					'[srcset]' => array(),
					'alt' => array(),
					'attribution' => array(),
					'lightbox' => array(),
					'lightbox-exclude' => array(
						'value' => '',
					),
					'lightbox-thumbnail-id' => array(
						'value_regex_casei' => '^[a-z][a-z\\d_-]*',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'placeholder' => array(),
					'src' => array(
						'alternative_names' => array(
							'srcset',
						),
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'data',
								'http',
								'https',
							),
						),
					),
				),
				'tag_spec' => array(
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-img',
				),
			),
		),
		'amp-imgur' => array(
			array(
				'attr_spec_list' => array(
					'data-imgur-id' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-imgur',
					),
				),
			),
		),
		'amp-instagram' => array(
			array(
				'attr_spec_list' => array(
					'alt' => array(),
					'data-shortcode' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-instagram',
					),
				),
			),
		),
		'amp-install-serviceworker' => array(
			array(
				'attr_spec_list' => array(
					'data-iframe-src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-install-serviceworker',
					),
				),
			),
		),
		'amp-izlesene' => array(
			array(
				'attr_spec_list' => array(
					'data-videoid' => array(
						'mandatory' => true,
						'value_regex' => '[0-9]+',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-izlesene',
					),
				),
			),
		),
		'amp-jwplayer' => array(
			array(
				'attr_spec_list' => array(
					'data-media-id' => array(
						'value_regex_casei' => '[0-9a-z]{8}',
					),
					'data-player-id' => array(
						'mandatory' => true,
						'value_regex_casei' => '[0-9a-z]{8}',
					),
					'data-playlist-id' => array(
						'value_regex_casei' => '[0-9a-z]{8}',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-jwplayer',
					),
				),
			),
		),
		'amp-kaltura-player' => array(
			array(
				'attr_spec_list' => array(
					'data-partner' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-kaltura-player',
					),
				),
			),
		),
		'amp-layout' => array(
			array(
				'attr_spec_list' => array(
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-layout',
				),
			),
		),
		'amp-lightbox' => array(
			array(
				'attr_spec_list' => array(
					'controls' => array(),
					'from' => array(),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'scrollable' => array(),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-lightbox',
					),
				),
			),
		),
		'amp-list' => array(
			array(
				'attr_spec_list' => array(
					'[src]' => array(),
					'[state]' => array(),
					'credentials' => array(),
					'items' => array(),
					'max-items' => array(),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'reset-on-refresh' => array(
						'value' => '',
					),
					'single-item' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'template' => array(),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-list',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'[src]' => array(
						'mandatory' => true,
					),
					'credentials' => array(),
					'items' => array(),
					'max-items' => array(),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'single-item' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'template' => array(),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-list',
					),
					'spec_name' => 'AMP-LIST [SRC]',
				),
			),
		),
		'amp-live-list' => array(
			array(
				'attr_spec_list' => array(
					'data-max-items-per-page' => array(
						'mandatory' => true,
						'value_regex' => '\\d+',
					),
					'data-poll-interval' => array(
						'value_regex' => '\\d{5,}',
					),
					'disabled' => array(
						'value' => '',
					),
					'id' => array(
						'mandatory' => true,
					),
					'sort' => array(
						'value_regex' => 'ascending',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-live-list',
					),
				),
			),
		),
		'amp-mathml' => array(
			array(
				'attr_spec_list' => array(
					'data-formula' => array(
						'mandatory' => true,
					),
					'inline' => array(),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-mathml',
					),
				),
			),
		),
		'amp-nexxtv-player' => array(
			array(
				'attr_spec_list' => array(
					'data-client' => array(
						'mandatory' => true,
					),
					'data-mediaid' => array(
						'mandatory' => true,
						'value_regex' => '[^=/?:]+',
					),
					'data-mode' => array(
						'value_regex' => 'api|static',
					),
					'data-origin' => array(
						'value_url' => array(
							'allow_empty' => true,
							'allowed_protocol' => array(
								'https',
								'http',
							),
						),
					),
					'data-streamtype' => array(
						'value_regex' => 'album|audio|live|playlist|playlist-marked|video',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-nexxtv-player',
					),
				),
			),
		),
		'amp-o2-player' => array(
			array(
				'attr_spec_list' => array(
					'data-bcid' => array(
						'mandatory' => true,
					),
					'data-pid' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-o2-player',
					),
				),
			),
		),
		'amp-ooyala-player' => array(
			array(
				'attr_spec_list' => array(
					'data-embedcode' => array(
						'mandatory' => true,
					),
					'data-pcode' => array(
						'mandatory' => true,
					),
					'data-playerid' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-ooyala-player',
					),
				),
			),
		),
		'amp-pinterest' => array(
			array(
				'attr_spec_list' => array(
					'alt' => array(),
					'data-do' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-pinterest',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-pinterest',
				),
			),
		),
		'amp-pixel' => array(
			array(
				'attr_spec_list' => array(
					'allow-ssr-img' => array(),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'referrerpolicy' => array(
						'value' => 'no-referrer',
					),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_empty' => true,
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
				),
				'tag_spec' => array(
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-pixel',
				),
			),
		),
		'amp-playbuzz' => array(
			array(
				'attr_spec_list' => array(
					'data-comments' => array(
						'value_regex_casei' => '(false|true)',
					),
					'data-item' => array(),
					'data-item-info' => array(
						'value_regex_casei' => '(false|true)',
					),
					'data-share-buttons' => array(
						'value_regex_casei' => '(false|true)',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'src' => array(),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-playbuzz',
					),
				),
			),
		),
		'amp-position-observer' => array(
			array(
				'attr_spec_list' => array(
					'intersection-ratios' => array(
						'value_regex' => '^([0]*?\\.\\d*$|1$|0$)|([0]*?\\.\\d*|1|0)\\s{1}([0]*?\\.\\d*$|1$|0$)',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'target' => array(),
					'viewport-margins' => array(
						'value_regex' => '^(\\d+$|\\d+px$|\\d+vh$)|((\\d+|\\d+px|\\d+vh)\\s{1}(\\d+$|\\d+px$|\\d+vh$))',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-position-observer',
					),
				),
			),
		),
		'amp-recaptcha-input' => array(
			array(
				'attr_spec_list' => array(
					'data-action' => array(
						'mandatory' => true,
					),
					'data-sitekey' => array(
						'mandatory' => true,
					),
					'name' => array(
						'blacklisted_value_regex' => '(^|\\s)(__amp_\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\S*|\\$p|\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\s|$)',
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'amp_layout' => array(
						'supported_layouts' => array(
							1,
						),
					),
					'mandatory_ancestor' => 'form',
					'requires_extension' => array(
						'amp-form',
						'amp-recaptcha-input',
					),
				),
			),
		),
		'amp-reach-player' => array(
			array(
				'attr_spec_list' => array(
					'data-embed-id' => array(
						'mandatory' => true,
						'value_regex' => '[0-9a-z-]+',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-reach-player',
					),
				),
			),
		),
		'amp-reddit' => array(
			array(
				'attr_spec_list' => array(
					'data-embedlive' => array(
						'value_regex_casei' => '(false|true)',
					),
					'data-embedparent' => array(
						'value_regex_casei' => '(false|true)',
					),
					'data-embedtype' => array(
						'mandatory' => true,
						'value_regex_casei' => '(comment|post)',
					),
					'data-src' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-reddit',
					),
				),
			),
		),
		'amp-riddle-quiz' => array(
			array(
				'attr_spec_list' => array(
					'data-riddle-id' => array(
						'mandatory' => true,
						'value_regex' => '[0-9]+',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-riddle-quiz',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-riddle-quiz',
				),
			),
		),
		'amp-selector' => array(
			array(
				'attr_spec_list' => array(
					'[disabled]' => array(),
					'[selected]' => array(),
					'disabled' => array(
						'value' => '',
					),
					'form' => array(),
					'keyboard-select-mode' => array(
						'value_regex_casei' => 'focus|none|select',
					),
					'media' => array(),
					'multiple' => array(
						'value' => '',
					),
					'name' => array(
						'blacklisted_value_regex' => '(^|\\s)(__amp_\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\S*|\\$p|\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\s|$)',
					),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'disallowed_ancestor' => array(
						'amp-selector',
					),
					'requires_extension' => array(
						'amp-selector',
					),
				),
			),
		),
		'amp-sidebar' => array(
			array(
				'attr_spec_list' => array(
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'side' => array(
						'value_regex' => '(left|right)',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'body',
					'requires_extension' => array(
						'amp-sidebar',
					),
				),
			),
		),
		'amp-social-share' => array(
			array(
				'attr_spec_list' => array(
					'data-share-endpoint' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'ftp',
								'http',
								'https',
								'mailto',
								'bbmi',
								'fb-messenger',
								'intent',
								'line',
								'skype',
								'sms',
								'snapchat',
								'tel',
								'tg',
								'threema',
								'viber',
								'whatsapp',
							),
						),
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'type' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-social-share',
					),
				),
			),
		),
		'amp-soundcloud' => array(
			array(
				'attr_spec_list' => array(
					'data-color' => array(
						'value_regex_casei' => '([0-9a-f]{3}){1,2}',
					),
					'data-playlistid' => array(
						'value_regex' => '[0-9]+',
					),
					'data-secret-token' => array(
						'value_regex' => '[A-Za-z0-9_-]+',
					),
					'data-trackid' => array(
						'value_regex' => '[0-9]+',
					),
					'data-visual' => array(
						'value_regex' => 'true|false',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-soundcloud',
					),
				),
			),
		),
		'amp-springboard-player' => array(
			array(
				'attr_spec_list' => array(
					'data-content-id' => array(
						'mandatory' => true,
					),
					'data-domain' => array(
						'mandatory' => true,
					),
					'data-items' => array(
						'mandatory' => true,
					),
					'data-mode' => array(
						'mandatory' => true,
						'value_regex_casei' => 'playlist|video',
					),
					'data-player-id' => array(
						'mandatory' => true,
						'value_regex_casei' => '[a-z0-9]+',
					),
					'data-site-id' => array(
						'mandatory' => true,
						'value_regex' => '[0-9]+',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-springboard-player',
					),
				),
			),
		),
		'amp-state' => array(
			array(
				'attr_spec_list' => array(
					'[src]' => array(),
					'credentials' => array(),
					'id' => array(
						'mandatory' => true,
					),
					'overridable' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-bind',
					),
					'spec_name' => 'amp-state',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-bind',
				),
			),
		),
		'amp-sticky-ad' => array(
			array(
				'attr_spec_list' => array(
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'disallowed_ancestor' => array(
						'amp-app-banner',
					),
					'requires_extension' => array(
						'amp-sticky-ad',
					),
					'unique' => true,
				),
			),
		),
		'amp-story' => array(
			array(
				'attr_spec_list' => array(
					'background-audio' => array(
						'value_url' => array(
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
					'bookend-config-src' => array(
						'value_url' => array(
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
					'standalone' => array(
						'mandatory' => true,
						'value' => '',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'body',
					'requires_extension' => array(
						'amp-story',
					),
				),
			),
		),
		'amp-story-auto-ads' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-story',
					'requires_extension' => array(
						'amp-story-auto-ads',
					),
					'spec_url' => 'https://github.com/ampproject/amphtml/blob/master/extensions/amp-story/amp-story-auto-ads.md',
					'unique' => true,
				),
			),
		),
		'amp-story-cta-layer' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(
					'mandatory_ancestor' => 'amp-story-page',
				),
			),
		),
		'amp-story-grid-layer' => array(
			array(
				'attr_spec_list' => array(
					'template' => array(
						'mandatory' => true,
						'value_regex' => '(fill|horizontal|vertical|thirds)',
					),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'amp-story-page',
				),
			),
		),
		'amp-story-page' => array(
			array(
				'attr_spec_list' => array(
					'auto-advance-after' => array(),
					'background-audio' => array(
						'value_url' => array(
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
					'id' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-story',
					'requires_extension' => array(
						'amp-story',
					),
				),
			),
		),
		'amp-timeago' => array(
			array(
				'attr_spec_list' => array(
					'cutoff' => array(
						'value_regex' => '\\d+',
					),
					'datetime' => array(
						'mandatory' => true,
						'value_regex' => '\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d(:[0-5]\\d(\\.\\d+)?)?(Z|[+-][0-1][0-9]:[0-5][0-9])',
					),
					'locale' => array(),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-timeago',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-timeago',
				),
			),
		),
		'amp-twitter' => array(
			array(
				'attr_spec_list' => array(
					'data-tweetid' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-twitter',
					),
				),
			),
		),
		'amp-user-notification' => array(
			array(
				'attr_spec_list' => array(
					'data-dismiss-href' => array(
						'value_url' => array(
							'allow_empty' => false,
							'allow_relative' => false,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'data-show-if-href' => array(
						'value_url' => array(
							'allow_empty' => false,
							'allow_relative' => false,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'enctype' => array(
						'value' => 'application/x-www-form-urlencoded',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-user-notification',
					),
				),
			),
		),
		'amp-video' => array(
			array(
				'attr_spec_list' => array(
					'[album]' => array(),
					'[alt]' => array(),
					'[artist]' => array(),
					'[artwork]' => array(),
					'[attribution]' => array(),
					'[controls]' => array(),
					'[controlslist]' => array(),
					'[loop]' => array(),
					'[poster]' => array(),
					'[preload]' => array(),
					'[src]' => array(),
					'[title]' => array(),
					'album' => array(),
					'alt' => array(),
					'artist' => array(),
					'artwork' => array(),
					'attribution' => array(),
					'autoplay' => array(
						'value' => '',
					),
					'controls' => array(
						'value' => '',
					),
					'controlslist' => array(),
					'crossorigin' => array(),
					'disableremoteplayback' => array(
						'value' => '',
					),
					'lightbox' => array(),
					'lightbox-exclude' => array(
						'value' => '',
					),
					'lightbox-thumbnail-id' => array(
						'value_regex_casei' => '^[a-z][a-z\\d_-]*',
					),
					'loop' => array(
						'value' => '',
					),
					'media' => array(),
					'muted' => array(
						'value' => '',
					),
					'noloading' => array(
						'value' => '',
					),
					'placeholder' => array(),
					'poster' => array(),
					'preload' => array(
						'value_regex' => '(none|metadata|auto|)',
					),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
				),
				'tag_spec' => array(
					'also_requires_tag_warning' => array(
						'amp-video extension .js script',
					),
					'disallowed_ancestor' => array(
						'amp-story',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-video',
				),
			),
			array(
				'attr_spec_list' => array(
					'[album]' => array(),
					'[alt]' => array(),
					'[artist]' => array(),
					'[artwork]' => array(),
					'[attribution]' => array(),
					'[controls]' => array(),
					'[controlslist]' => array(),
					'[loop]' => array(),
					'[poster]' => array(),
					'[preload]' => array(),
					'[src]' => array(),
					'[title]' => array(),
					'album' => array(),
					'alt' => array(),
					'artist' => array(),
					'artwork' => array(),
					'attribution' => array(),
					'autoplay' => array(
						'value' => '',
					),
					'controls' => array(
						'value' => '',
					),
					'controlslist' => array(),
					'crossorigin' => array(),
					'disableremoteplayback' => array(
						'value' => '',
					),
					'loop' => array(
						'value' => '',
					),
					'media' => array(),
					'muted' => array(
						'value' => '',
					),
					'noloading' => array(
						'value' => '',
					),
					'placeholder' => array(),
					'poster' => array(
						'mandatory' => true,
					),
					'preload' => array(
						'value_regex' => '(none|metadata|auto|)',
					),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'amp-story',
					'requires_extension' => array(
						'amp-video',
					),
					'spec_name' => 'amp-story >> amp-video',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-video',
				),
			),
		),
		'amp-vimeo' => array(
			array(
				'attr_spec_list' => array(
					'data-videoid' => array(
						'mandatory' => true,
						'value_regex' => '[0-9]+',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-vimeo',
					),
				),
			),
		),
		'amp-vine' => array(
			array(
				'attr_spec_list' => array(
					'data-vineid' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-vine',
					),
				),
			),
		),
		'amp-vk' => array(
			array(
				'attr_spec_list' => array(
					'data-embedtype' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-vk',
					),
				),
			),
		),
		'amp-web-push' => array(
			array(
				'attr_spec_list' => array(
					'helper-iframe-url' => array(
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'id' => array(
						'mandatory' => true,
						'value_regex' => 'amp-web-push',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'permission-dialog-url' => array(
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'service-worker-url' => array(
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-web-push',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-web-push',
				),
			),
		),
		'amp-web-push-widget' => array(
			array(
				'attr_spec_list' => array(
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
					'visibility' => array(
						'mandatory' => true,
						'value_regex' => '(blocked|subscribed|unsubscribed)',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-web-push',
					),
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-web-push',
				),
			),
		),
		'amp-wistia-player' => array(
			array(
				'attr_spec_list' => array(
					'data-media-hashed-id' => array(
						'mandatory' => true,
						'value_regex' => '[0-9a-zA-Z]+',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-wistia-player',
					),
				),
			),
		),
		'amp-youtube' => array(
			array(
				'attr_spec_list' => array(
					'[data-videoid]' => array(),
					'autoplay' => array(),
					'credentials' => array(
						'value_regex_casei' => '(include|omit)',
					),
					'data-live-channelid' => array(
						'value_regex' => '[^=/?:]+',
					),
					'data-videoid' => array(
						'value_regex' => '[^=/?:]+',
					),
					'lightbox' => array(),
					'lightbox-exclude' => array(
						'value' => '',
					),
					'lightbox-thumbnail-id' => array(
						'value_regex_casei' => '^[a-z][a-z\\d_-]*',
					),
					'media' => array(),
					'noloading' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'requires_extension' => array(
						'amp-youtube',
					),
				),
			),
		),
		'article' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'aside' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'audio' => array(
			array(
				'attr_spec_list' => array(
					'autoplay' => array(),
					'controls' => array(),
					'loop' => array(),
					'muted' => array(),
					'preload' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'data',
								'https',
							),
						),
					),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'noscript',
					'mandatory_ancestor_suggested_alternative' => 'amp-audio',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-audio',
				),
			),
		),
		'b' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'base' => array(
			array(
				'attr_spec_list' => array(
					'href' => array(
						'value' => '/',
					),
					'target' => array(
						'value_regex_casei' => '(_blank|_self|_top)',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'head',
					'unique' => true,
				),
			),
		),
		'bdi' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'bdo' => array(
			array(
				'attr_spec_list' => array(
					'dir' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'big' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'blockquote' => array(
			array(
				'attr_spec_list' => array(
					'align' => array(),
					'cite' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_empty' => true,
							'allow_relative' => true,
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
				),
				'tag_spec' => array(),
			),
		),
		'body' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(
					'mandatory' => true,
					'mandatory_parent' => 'html',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#required-markup',
					'unique' => true,
				),
			),
		),
		'br' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'button' => array(
			array(
				'attr_spec_list' => array(
					'[disabled]' => array(),
					'[type]' => array(),
					'[value]' => array(),
					'disabled' => array(
						'value' => '',
					),
					'name' => array(
						'blacklisted_value_regex' => '(^|\\s)(__amp_\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\S*|\\$p|\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\s|$)',
					),
					'role' => array(),
					'tabindex' => array(),
					'type' => array(),
					'value' => array(),
				),
				'tag_spec' => array(),
			),
			array(
				'attr_spec_list' => array(
					'name' => array(
						'blacklisted_value_regex' => '(^|\\s)(__amp_\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\S*|\\$p|\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\s|$)',
					),
					'open-button' => array(
						'value' => '',
					),
					'role' => array(),
					'tabindex' => array(),
					'type' => array(),
					'value' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'amp-app-banner',
					'spec_name' => 'amp-app-banner button[open-button]',
				),
			),
		),
		'caption' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'center' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'circle' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'cx' => array(),
					'cy' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'r' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'shape-rendering' => array(),
					'sketch:type' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'transform' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'cite' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'clippath' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'clippathunits' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'transform' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'code' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'col' => array(
			array(
				'attr_spec_list' => array(
					'span' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'colgroup' => array(
			array(
				'attr_spec_list' => array(
					'span' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'data' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'datalist' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-form',
				),
			),
		),
		'dd' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'defs' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'transform' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'del' => array(
			array(
				'attr_spec_list' => array(
					'cite' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_empty' => true,
							'allow_relative' => true,
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
					'datetime' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'desc' => array(
			array(
				'attr_spec_list' => array(
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'dfn' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'dir' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'div' => array(
			array(
				'attr_spec_list' => array(
					'align' => array(),
				),
				'tag_spec' => array(),
			),
			array(
				'attr_spec_list' => array(
					'align' => array(),
					'submitting' => array(
						'dispatch_key' => 1,
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'form',
					'spec_name' => 'FORM > DIV [submitting]',
				),
			),
			array(
				'attr_spec_list' => array(
					'align' => array(),
					'submit-success' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'form',
					'spec_name' => 'FORM > DIV [submit-success]',
				),
			),
			array(
				'attr_spec_list' => array(
					'align' => array(),
					'submit-success' => array(
						'mandatory' => true,
					),
					'template' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'form',
					'spec_name' => 'FORM > DIV [submit-success][template]',
				),
			),
			array(
				'attr_spec_list' => array(
					'align' => array(),
					'submit-error' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'form',
					'spec_name' => 'FORM > DIV [submit-error]',
				),
			),
			array(
				'attr_spec_list' => array(
					'align' => array(),
					'submit-error' => array(
						'mandatory' => true,
					),
					'template' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'form',
					'spec_name' => 'FORM > DIV [submit-error][template]',
				),
			),
		),
		'dl' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'dt' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'ellipse' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'cx' => array(),
					'cy' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'rx' => array(),
					'ry' => array(),
					'shape-rendering' => array(),
					'sketch:type' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'transform' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'em' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'fecolormatrix' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'height' => array(),
					'image-rendering' => array(),
					'in' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'result' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'type' => array(),
					'unicode-bidi' => array(),
					'values' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'width' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'fecomposite' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'height' => array(),
					'image-rendering' => array(),
					'in' => array(),
					'in2' => array(),
					'k1' => array(),
					'k2' => array(),
					'k3' => array(),
					'k4' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'operator' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'result' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'width' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'feflood' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'height' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'result' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'width' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'fegaussianblur' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'edgemode' => array(),
					'enable-background' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'height' => array(),
					'image-rendering' => array(),
					'in' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'result' => array(),
					'shape-rendering' => array(),
					'stddeviation' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'width' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'femerge' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'height' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'result' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'width' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'femergenode' => array(
			array(
				'attr_spec_list' => array(
					'in' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'feoffset' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'dx' => array(),
					'dy' => array(),
					'enable-background' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'height' => array(),
					'image-rendering' => array(),
					'in' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'result' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'width' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'fieldset' => array(
			array(
				'attr_spec_list' => array(
					'[disabled]' => array(),
					'disabled' => array(),
					'name' => array(
						'blacklisted_value_regex' => '(^|\\s)(__amp_\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\S*|\\$p|\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\s|$)',
					),
				),
				'tag_spec' => array(),
			),
		),
		'figcaption' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'figure' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'filter' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'filterres' => array(),
					'filterunits' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'height' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'primitiveunits' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'width' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x' => array(),
					'xlink:actuate' => array(),
					'xlink:arcrole' => array(),
					'xlink:href' => array(
						'alternative_names' => array(
							'href',
						),
						'value_url' => array(
							'allow_empty' => false,
							'allow_relative' => true,
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
					'xlink:role' => array(),
					'xlink:show' => array(),
					'xlink:title' => array(),
					'xlink:type' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'footer' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'foreignobject' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'height' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'transform' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'width' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'form' => array(
			array(
				'attr_spec_list' => array(
					'accept' => array(),
					'accept-charset' => array(),
					'action' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'action-xhr' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'autocomplete' => array(),
					'custom-validation-reporting' => array(
						'value_regex' => '(show-first-on-submit|show-all-on-submit|as-you-go|interact-and-submit)',
					),
					'enctype' => array(),
					'method' => array(
						'value_casei' => 'get',
					),
					'name' => array(),
					'novalidate' => array(),
					'target' => array(
						'mandatory' => true,
						'value_regex_casei' => '(_blank|_top)',
					),
					'verify-xhr' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
				),
				'tag_spec' => array(
					'disallowed_ancestor' => array(
						'amp-app-banner',
					),
					'requires_extension' => array(
						'amp-form',
					),
					'spec_name' => 'FORM [method=GET]',
				),
			),
			array(
				'attr_spec_list' => array(
					'accept' => array(),
					'accept-charset' => array(),
					'action-xhr' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'autocomplete' => array(),
					'custom-validation-reporting' => array(
						'value_regex' => '(show-first-on-submit|show-all-on-submit|as-you-go)',
					),
					'enctype' => array(),
					'method' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'post',
					),
					'name' => array(),
					'novalidate' => array(),
					'target' => array(
						'mandatory' => true,
						'value_regex_casei' => '(_blank|_top)',
					),
					'verify-xhr' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
				),
				'tag_spec' => array(
					'disallowed_ancestor' => array(
						'amp-app-banner',
					),
					'requires_extension' => array(
						'amp-form',
					),
					'spec_name' => 'FORM [method=POST]',
				),
			),
		),
		'g' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'transform' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'glyph' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'arabic-form' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'd' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-name' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'horiz-adv-x' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'orientation' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'unicode' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'vert-adv-y' => array(),
					'vert-origin-x' => array(),
					'vert-origin-y' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'glyphref' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'dx' => array(),
					'dy' => array(),
					'enable-background' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'format' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'glyphref' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x' => array(),
					'xlink:actuate' => array(),
					'xlink:arcrole' => array(),
					'xlink:href' => array(
						'alternative_names' => array(
							'href',
						),
						'value_url' => array(
							'allow_empty' => false,
							'allow_relative' => true,
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
					'xlink:role' => array(),
					'xlink:show' => array(),
					'xlink:title' => array(),
					'xlink:type' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'h1' => array(
			array(
				'attr_spec_list' => array(
					'align' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'h2' => array(
			array(
				'attr_spec_list' => array(
					'align' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'h3' => array(
			array(
				'attr_spec_list' => array(
					'align' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'h4' => array(
			array(
				'attr_spec_list' => array(
					'align' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'h5' => array(
			array(
				'attr_spec_list' => array(
					'align' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'h6' => array(
			array(
				'attr_spec_list' => array(
					'align' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'head' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(
					'mandatory' => true,
					'mandatory_parent' => 'html',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#required-markup',
					'unique' => true,
				),
			),
		),
		'header' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'hgroup' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'hkern' => array(
			array(
				'attr_spec_list' => array(
					'g1' => array(),
					'g2' => array(),
					'k' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'u1' => array(),
					'u2' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'hr' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'html' => array(
			array(
				'attr_spec_list' => array(
					'\\u26a1' => array(
						'alternative_names' => array(
							'amp',
						),
						'mandatory' => true,
						'value' => '',
					),
				),
				'tag_spec' => array(
					'mandatory' => true,
					'mandatory_parent' => '!doctype',
					'spec_name' => 'html \\u26a1 for top-level html',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#required-markup',
					'unique' => true,
				),
			),
		),
		'i' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'iframe' => array(
			array(
				'attr_spec_list' => array(
					'frameborder' => array(
						'value_regex' => '0|1',
					),
					'height' => array(),
					'name' => array(),
					'referrerpolicy' => array(),
					'resizable' => array(
						'value' => '',
					),
					'sandbox' => array(),
					'scrolling' => array(
						'value_regex' => 'auto|yes|no',
					),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'data',
								'https',
							),
						),
					),
					'srcdoc' => array(),
					'width' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'noscript',
					'mandatory_ancestor_suggested_alternative' => 'amp-iframe',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-iframe',
				),
			),
		),
		'image' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'height' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'preserveaspectratio' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'transform' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'width' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x' => array(),
					'xlink:actuate' => array(),
					'xlink:arcrole' => array(),
					'xlink:href' => array(
						'alternative_names' => array(
							'href',
						),
						'blacklisted_value_regex' => '(^|\\s)data:image\\/svg\\+xml',
						'value_url' => array(
							'allow_empty' => false,
							'allow_relative' => true,
							'allowed_protocol' => array(
								'data',
								'http',
								'https',
							),
						),
					),
					'xlink:role' => array(),
					'xlink:show' => array(),
					'xlink:title' => array(),
					'xlink:type' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'img' => array(
			array(
				'attr_spec_list' => array(
					'alt' => array(),
					'border' => array(),
					'height' => array(),
					'ismap' => array(),
					'longdesc' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
					'src' => array(
						'alternative_names' => array(
							'srcset',
						),
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'data',
								'https',
							),
						),
					),
					'width' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'noscript',
					'mandatory_ancestor_suggested_alternative' => 'amp-img',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-img',
				),
			),
		),
		'input' => array(
			array(
				'attr_spec_list' => array(
					'[accept]' => array(),
					'[accesskey]' => array(),
					'[autocomplete]' => array(),
					'[checked]' => array(),
					'[disabled]' => array(),
					'[height]' => array(),
					'[inputmode]' => array(),
					'[max]' => array(),
					'[maxlength]' => array(),
					'[min]' => array(),
					'[minlength]' => array(),
					'[multiple]' => array(),
					'[pattern]' => array(),
					'[placeholder]' => array(),
					'[readonly]' => array(),
					'[required]' => array(),
					'[selectiondirection]' => array(),
					'[size]' => array(),
					'[spellcheck]' => array(),
					'[step]' => array(),
					'[type]' => array(),
					'[value]' => array(),
					'[width]' => array(),
					'accept' => array(),
					'accesskey' => array(),
					'autocomplete' => array(),
					'autofocus' => array(),
					'checked' => array(),
					'disabled' => array(),
					'height' => array(),
					'inputmode' => array(),
					'list' => array(),
					'max' => array(),
					'maxlength' => array(),
					'min' => array(),
					'minlength' => array(),
					'multiple' => array(),
					'name' => array(
						'blacklisted_value_regex' => '(^|\\s)(__amp_\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\S*|\\$p|\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\s|$)',
					),
					'pattern' => array(),
					'placeholder' => array(),
					'readonly' => array(),
					'required' => array(),
					'selectiondirection' => array(),
					'size' => array(),
					'spellcheck' => array(),
					'step' => array(),
					'tabindex' => array(),
					'type' => array(
						'blacklisted_value_regex' => '(^|\\s)(button|file|image|password|)(\\s|$)',
					),
					'value' => array(),
					'width' => array(),
				),
				'tag_spec' => array(
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-form',
				),
			),
		),
		'ins' => array(
			array(
				'attr_spec_list' => array(
					'cite' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_empty' => true,
							'allow_relative' => true,
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
					'datetime' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'kbd' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'label' => array(
			array(
				'attr_spec_list' => array(
					'for' => array(),
				),
				'tag_spec' => array(
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-form',
				),
			),
		),
		'legend' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'li' => array(
			array(
				'attr_spec_list' => array(
					'value' => array(
						'value_regex' => '[0-9]*',
					),
				),
				'tag_spec' => array(),
			),
		),
		'line' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'shape-rendering' => array(),
					'sketch:type' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'transform' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x1' => array(),
					'x2' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y1' => array(),
					'y2' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'lineargradient' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'gradienttransform' => array(),
					'gradientunits' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'shape-rendering' => array(),
					'spreadmethod' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x1' => array(),
					'x2' => array(),
					'xlink:actuate' => array(),
					'xlink:arcrole' => array(),
					'xlink:href' => array(
						'alternative_names' => array(
							'href',
						),
						'value_url' => array(
							'allow_empty' => false,
							'allow_relative' => true,
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
					'xlink:role' => array(),
					'xlink:show' => array(),
					'xlink:title' => array(),
					'xlink:type' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y1' => array(),
					'y2' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'link' => array(
			array(
				'attr_spec_list' => array(
					'charset' => array(
						'value_casei' => 'utf-8',
					),
					'color' => array(),
					'crossorigin' => array(),
					'href' => array(),
					'hreflang' => array(),
					'media' => array(),
					'rel' => array(
						'blacklisted_value_regex' => '(^|\\s)(canonical|components|import|manifest|preload|serviceworker|stylesheet|subresource|)(\\s|$)',
						'mandatory' => true,
					),
					'sizes' => array(),
					'target' => array(),
					'type' => array(),
				),
				'tag_spec' => array(
					'disallowed_ancestor' => array(
						'template',
					),
					'spec_name' => 'link rel=',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#html-tags',
				),
			),
			array(
				'attr_spec_list' => array(
					'charset' => array(
						'value_casei' => 'utf-8',
					),
					'color' => array(),
					'crossorigin' => array(),
					'href' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
					'hreflang' => array(),
					'media' => array(),
					'rel' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'canonical',
					),
					'sizes' => array(),
					'target' => array(),
					'type' => array(),
				),
				'tag_spec' => array(
					'mandatory' => true,
					'mandatory_parent' => 'head',
					'spec_name' => 'link rel=canonical',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#required-markup',
					'unique' => true,
				),
			),
			array(
				'attr_spec_list' => array(
					'charset' => array(
						'value_casei' => 'utf-8',
					),
					'color' => array(),
					'crossorigin' => array(),
					'href' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'hreflang' => array(),
					'media' => array(),
					'rel' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'manifest',
					),
					'sizes' => array(),
					'target' => array(),
					'type' => array(),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'head',
					'spec_name' => 'link rel=manifest',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#html-tags',
				),
			),
			array(
				'attr_spec_list' => array(
					'as' => array(),
					'charset' => array(
						'value_casei' => 'utf-8',
					),
					'color' => array(),
					'crossorigin' => array(),
					'href' => array(),
					'hreflang' => array(),
					'media' => array(),
					'rel' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'preload',
					),
					'sizes' => array(),
					'target' => array(),
					'type' => array(),
				),
				'tag_spec' => array(
					'disallowed_ancestor' => array(
						'template',
					),
					'spec_name' => 'link rel=preload',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#html-tags',
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(),
					'crossorigin' => array(),
					'href' => array(
						'mandatory' => true,
						'value_regex' => 'https://cdn\\.materialdesignicons\\.com/([0-9]+\\.?)+/css/materialdesignicons\\.min\\.css|https://cloud\\.typography\\.com/[0-9]*/[0-9]*/css/fonts\\.css|https://fast\\.fonts\\.net/.*|https://fonts\\.googleapis\\.com/css\\?.*|https://fonts\\.googleapis\\.com/icon\\?.*|https://fonts\\.googleapis\\.com/earlyaccess/.*\\.css|https://maxcdn\\.bootstrapcdn\\.com/font-awesome/([0-9]+\\.?)+/css/font-awesome\\.min\\.css(\\?.*)?|https://use\\.fontawesome\\.com/releases/v([0-9]+\\.?)+/css/(all|brands|solids|fontawesome)\\.css|https://use\\.typekit\\.net/[\\w\\p{L}\\p{N}_]+\\.css',
					),
					'integrity' => array(),
					'media' => array(),
					'rel' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'stylesheet',
					),
					'type' => array(
						'value_casei' => 'text/css',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'head',
					'spec_name' => 'link rel=stylesheet for fonts',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#custom-fonts',
				),
			),
			array(
				'attr_spec_list' => array(
					'charset' => array(
						'value_casei' => 'utf-8',
					),
					'color' => array(),
					'crossorigin' => array(),
					'href' => array(
						'mandatory' => true,
					),
					'hreflang' => array(),
					'itemprop' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'sameas',
					),
					'media' => array(),
					'sizes' => array(),
					'target' => array(),
					'type' => array(),
				),
				'tag_spec' => array(
					'spec_name' => 'link itemprop=sameAs',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#html-tags',
				),
			),
			array(
				'attr_spec_list' => array(
					'charset' => array(
						'value_casei' => 'utf-8',
					),
					'color' => array(),
					'crossorigin' => array(),
					'href' => array(
						'mandatory' => true,
					),
					'hreflang' => array(),
					'itemprop' => array(
						'mandatory' => true,
					),
					'media' => array(),
					'sizes' => array(),
					'target' => array(),
					'type' => array(),
				),
				'tag_spec' => array(
					'spec_name' => 'link itemprop=',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#html-tags',
				),
			),
			array(
				'attr_spec_list' => array(
					'charset' => array(
						'value_casei' => 'utf-8',
					),
					'color' => array(),
					'crossorigin' => array(),
					'href' => array(
						'mandatory' => true,
					),
					'hreflang' => array(),
					'media' => array(),
					'property' => array(
						'mandatory' => true,
					),
					'sizes' => array(),
					'target' => array(),
					'type' => array(),
				),
				'tag_spec' => array(
					'spec_name' => 'link property=',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#html-tags',
				),
			),
		),
		'listing' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'main' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'mark' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'marker' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'markerheight' => array(),
					'markerunits' => array(),
					'markerwidth' => array(),
					'mask' => array(),
					'opacity' => array(),
					'orient' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'preserveaspectratio' => array(),
					'refx' => array(),
					'refy' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'transform' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'viewbox' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'mask' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'height' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'maskcontentunits' => array(),
					'maskunits' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'width' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'meta' => array(
			array(
				'attr_spec_list' => array(
					'charset' => array(
						'dispatch_key' => 1,
						'mandatory' => true,
						'value_casei' => 'utf-8',
					),
				),
				'tag_spec' => array(
					'mandatory' => true,
					'mandatory_parent' => 'head',
					'spec_name' => 'meta charset=utf-8',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#required-markup',
					'unique' => true,
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
						'value_properties' => array(
							'height' => array(),
							'initial-scale' => array(),
							'maximum-scale' => array(),
							'minimum-scale' => array(
								'mandatory' => true,
								'value_double' => 1.0,
							),
							'shrink-to-fit' => array(),
							'user-scalable' => array(),
							'viewport-fit' => array(),
							'width' => array(
								'mandatory' => true,
								'value' => 'device-width',
							),
						),
					),
					'name' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value' => 'viewport',
					),
				),
				'tag_spec' => array(
					'mandatory' => true,
					'mandatory_parent' => 'head',
					'spec_name' => 'meta name=viewport',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#required-markup',
					'unique' => true,
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
						'value_properties' => array(
							'chrome' => array(
								'value' => '1',
							),
							'ie' => array(
								'value' => 'edge',
							),
						),
					),
					'http-equiv' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'x-ua-compatible',
					),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'head',
					'spec_name' => 'meta http-equiv=X-UA-Compatible',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#html-tags',
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
						'value_regex' => '.*app-id=.*',
					),
					'name' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'apple-itunes-app',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'head',
					'spec_name' => 'meta name=apple-itunes-app',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#html-tags',
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
					),
					'name' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'amp-experiments-opt-in',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'head',
					'spec_name' => 'meta name=amp-experiments-opt-in',
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
						'value_url' => array(
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'name' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'amp-3p-iframe-src',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'head',
					'spec_name' => 'meta name=amp-3p-iframe-src',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-ad',
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
					),
					'name' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'amp-experiment-token',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'head',
					'spec_name' => 'meta name=amp-experiment-token',
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
					),
					'name' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'amp-link-variable-allowed-origin',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'head',
					'spec_name' => 'meta name=amp-link-variable-allowed-origin',
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
					),
					'name' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'amp-google-client-id-api',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'head',
					'spec_name' => 'meta name=amp-google-clientid-id-api',
				),
			),
			array(
				'attr_spec_list' => array(
					'name' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'amp-ad-doubleclick-sra',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'head',
					'spec_name' => 'meta name=amp-ad-doubleclick-sra',
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(),
					'itemprop' => array(),
					'name' => array(
						'blacklisted_value_regex' => '(^|\\s)(amp-.*|amp4ads-.*|apple-itunes-app|content-disposition|revisit-after|viewport)(\\s|$)',
					),
					'property' => array(),
					'scheme' => array(),
				),
				'tag_spec' => array(
					'spec_name' => 'meta name= and content=',
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
						'value_casei' => 'text/html; charset=utf-8',
					),
					'http-equiv' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'content-type',
					),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'head',
					'spec_name' => 'meta http-equiv=Content-Type',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#html-tags',
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
					),
					'http-equiv' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'content-language',
					),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'head',
					'spec_name' => 'meta http-equiv=content-language',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#html-tags',
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
					),
					'http-equiv' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'pics-label',
					),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'head',
					'spec_name' => 'meta http-equiv=pics-label',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#html-tags',
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
					),
					'http-equiv' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'imagetoolbar',
					),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'head',
					'spec_name' => 'meta http-equiv=imagetoolbar',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#html-tags',
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
						'value_casei' => 'text/css',
					),
					'http-equiv' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'content-style-type',
					),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'head',
					'spec_name' => 'meta http-equiv=Content-Style-Type',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#html-tags',
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
						'value_casei' => 'text/javascript',
					),
					'http-equiv' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'content-script-type',
					),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'head',
					'spec_name' => 'meta http-equiv=Content-Script-Type',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#html-tags',
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
					),
					'http-equiv' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'origin-trial',
					),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'head',
					'spec_name' => 'meta http-equiv=origin-trial',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#html-tags',
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
					),
					'http-equiv' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'resource-type',
					),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'head',
					'spec_name' => 'meta http-equiv=resource-type',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#html-tags',
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
						'value_regex_casei' => '(off|on)',
					),
					'http-equiv' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'x-dns-prefetch-control',
					),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'head',
					'spec_name' => 'meta http-equiv=x-dns-prefetch-control',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#html-tags',
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
					),
					'name' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'amp-ad-enable-refresh',
					),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'head',
					'spec_name' => 'meta name=amp-ad-enable-refresh',
				),
			),
			array(
				'attr_spec_list' => array(
					'content' => array(
						'mandatory' => true,
					),
					'name' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'amp-to-amp-navigation',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'head',
					'spec_name' => 'meta name=amp-to-amp-navigation',
					'unique' => true,
				),
			),
		),
		'metadata' => array(
			array(
				'attr_spec_list' => array(
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'meter' => array(
			array(
				'attr_spec_list' => array(
					'high' => array(),
					'low' => array(),
					'max' => array(),
					'min' => array(),
					'optimum' => array(),
					'value' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'multicol' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'nav' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
			array(
				'attr_spec_list' => array(
					'toolbar' => array(
						'dispatch_key' => 1,
						'mandatory' => true,
					),
					'toolbar-target' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-sidebar',
					'spec_name' => 'amp-sidebar > nav',
				),
			),
		),
		'nextid' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'nobr' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'noscript' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(
					'mandatory' => true,
					'mandatory_parent' => 'head',
					'spec_name' => 'noscript enclosure for boilerplate',
					'spec_url' => 'https://github.com/ampproject/amphtml/blob/master/spec/amp-boilerplate.md',
					'unique' => true,
				),
			),
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(
					'disallowed_ancestor' => array(
						'noscript',
					),
					'mandatory_ancestor' => 'body',
				),
			),
		),
		'o:p' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'ol' => array(
			array(
				'attr_spec_list' => array(
					'reversed' => array(
						'value' => '',
					),
					'start' => array(
						'value_regex' => '[0-9]*',
					),
					'type' => array(
						'value_regex' => '[1AaIi]',
					),
				),
				'tag_spec' => array(),
			),
		),
		'optgroup' => array(
			array(
				'attr_spec_list' => array(
					'[disabled]' => array(),
					'[label]' => array(),
					'disabled' => array(),
					'label' => array(),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'select',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-form',
				),
			),
		),
		'option' => array(
			array(
				'attr_spec_list' => array(
					'[disabled]' => array(),
					'[label]' => array(),
					'[selected]' => array(),
					'[value]' => array(),
					'disabled' => array(),
					'label' => array(),
					'selected' => array(),
					'value' => array(),
				),
				'tag_spec' => array(
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-form',
				),
			),
		),
		'output' => array(
			array(
				'attr_spec_list' => array(
					'for' => array(),
					'form' => array(),
					'name' => array(
						'blacklisted_value_regex' => '(^|\\s)(__amp_\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\S*|\\$p|\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\s|$)',
					),
				),
				'tag_spec' => array(),
			),
		),
		'p' => array(
			array(
				'attr_spec_list' => array(
					'align' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'path' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'd' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pathlength' => array(),
					'pointer-events' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'shape-rendering' => array(),
					'sketch:type' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'transform' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'pattern' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'height' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'patterncontentunits' => array(),
					'patterntransform' => array(),
					'patternunits' => array(),
					'pointer-events' => array(),
					'preserveaspectratio' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'viewbox' => array(),
					'visibility' => array(),
					'width' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x' => array(),
					'xlink:actuate' => array(),
					'xlink:arcrole' => array(),
					'xlink:href' => array(
						'alternative_names' => array(
							'href',
						),
						'value_url' => array(
							'allow_empty' => false,
							'allow_relative' => true,
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
					'xlink:role' => array(),
					'xlink:show' => array(),
					'xlink:title' => array(),
					'xlink:type' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'polygon' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'points' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'shape-rendering' => array(),
					'sketch:type' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'transform' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'polyline' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'points' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'shape-rendering' => array(),
					'sketch:type' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'transform' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'pre' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'progress' => array(
			array(
				'attr_spec_list' => array(
					'max' => array(),
					'value' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'q' => array(
			array(
				'attr_spec_list' => array(
					'cite' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_empty' => true,
							'allow_relative' => true,
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
				),
				'tag_spec' => array(),
			),
		),
		'radialgradient' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'cx' => array(),
					'cy' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'fr' => array(),
					'fx' => array(),
					'fy' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'gradienttransform' => array(),
					'gradientunits' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'r' => array(),
					'shape-rendering' => array(),
					'spreadmethod' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'xlink:actuate' => array(),
					'xlink:arcrole' => array(),
					'xlink:href' => array(
						'alternative_names' => array(
							'href',
						),
						'value_url' => array(
							'allow_empty' => false,
							'allow_relative' => true,
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
					'xlink:role' => array(),
					'xlink:show' => array(),
					'xlink:title' => array(),
					'xlink:type' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'rb' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'rect' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'height' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'rx' => array(),
					'ry' => array(),
					'shape-rendering' => array(),
					'sketch:type' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'transform' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'width' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'rp' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'rt' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'rtc' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'ruby' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		's' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'samp' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'script' => array(
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'src' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value' => 'https://cdn.ampproject.org/v0.js',
					),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'cdata' => array(
					'blacklisted_cdata_regex' => array(
						'error_message' => 'contents',
						'regex' => '.',
					),
				),
				'tag_spec' => array(
					'mandatory' => true,
					'mandatory_parent' => 'head',
					'spec_name' => 'amphtml engine v0.js script',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#required-markup',
					'unique' => true,
				),
			),
			array(
				'attr_spec_list' => array(
					'nonce' => array(),
					'type' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'application/ld+json',
					),
				),
				'cdata' => array(
					'blacklisted_cdata_regex' => array(
						'error_message' => 'html comments',
						'regex' => '<!--',
					),
				),
				'tag_spec' => array(
					'spec_name' => 'script type=application/ld+json',
				),
			),
			array(
				'attr_spec_list' => array(
					'id' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value_casei' => 'amp-rtc',
					),
					'nonce' => array(),
					'type' => array(
						'mandatory' => true,
						'value_casei' => 'application/json',
					),
				),
				'cdata' => array(
					'blacklisted_cdata_regex' => array(
						'error_message' => 'html comments',
						'regex' => '<!--',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'head',
					'spec_name' => 'script id=amp-rtc',
					'unique' => true,
				),
			),
			array(
				'attr_spec_list' => array(
					'type' => array(
						'dispatch_key' => 3,
						'mandatory' => true,
						'value_casei' => 'application/json',
					),
				),
				'cdata' => array(
					'blacklisted_cdata_regex' => array(
						'error_message' => 'html comments',
						'regex' => '<!--',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-ima-video',
					'spec_name' => 'amp-ima-video > script[type=application/json]',
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-3q-player',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-access-laterpay',
						'requires_usage' => 3,
					),
					'requires_extension' => array(
						'amp-access',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-access-scroll',
						'requires_usage' => 3,
					),
					'requires_extension' => array(
						'amp-access',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-access',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'id' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value' => 'amp-access',
					),
					'nonce' => array(),
					'type' => array(
						'mandatory' => true,
						'value_casei' => 'application/json',
					),
				),
				'cdata' => array(
					'blacklisted_cdata_regex' => array(
						'error_message' => 'html comments',
						'regex' => '<!--',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'head',
					'requires_extension' => array(
						'amp-access',
						'amp-analytics',
					),
					'spec_name' => 'amp-access extension .json script',
					'unique' => true,
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-accordion',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-ad',
						'requires_usage' => 2,
					),
					'spec_name' => 'amp-ad extension .js script',
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-analytics',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'nonce' => array(),
					'type' => array(
						'dispatch_key' => 3,
						'mandatory' => true,
						'value_casei' => 'application/json',
					),
				),
				'cdata' => array(
					'blacklisted_cdata_regex' => array(
						'error_message' => 'html comments',
						'regex' => '<!--',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-analytics',
					'requires_extension' => array(
						'amp-analytics',
					),
					'spec_name' => 'amp-analytics extension .json script',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-analytics',
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-anim',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-animation',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'nonce' => array(),
					'type' => array(
						'dispatch_key' => 3,
						'mandatory' => true,
						'value_casei' => 'application/json',
					),
				),
				'cdata' => array(
					'blacklisted_cdata_regex' => array(
						'error_message' => 'html comments',
						'regex' => '<!--',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-animation',
					'requires_extension' => array(
						'amp-animation',
					),
					'spec_name' => 'amp-animation extension .json script',
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-apester-media',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-app-banner',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-audio',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-auto-ads',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-beopinion',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-bind',
						'requires_usage' => 3,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'nonce' => array(),
					'type' => array(
						'dispatch_key' => 3,
						'mandatory' => true,
						'value_casei' => 'application/json',
					),
				),
				'cdata' => array(
					'blacklisted_cdata_regex' => array(
						'error_message' => 'html comments',
						'regex' => '<!--',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-state',
					'requires_extension' => array(
						'amp-bind',
					),
					'spec_name' => 'amp-bind extension .json script',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-bind',
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-bodymovin-animation',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-brid-player',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-brightcove',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-byside-content',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-call-tracking',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-carousel',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-consent',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'nonce' => array(),
					'type' => array(
						'dispatch_key' => 3,
						'mandatory' => true,
						'value_casei' => 'application/json',
					),
				),
				'cdata' => array(
					'blacklisted_cdata_regex' => array(
						'error_message' => 'html comments',
						'regex' => '<!--',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-consent',
					'requires_extension' => array(
						'amp-consent',
					),
					'spec_name' => 'amp-consent extension .json script',
					'unique' => true,
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-dailymotion',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-date-picker',
					),
				),
			),
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-document-recommendations',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'recommendations' => array(
						'dispatch_key' => 3,
						'mandatory' => true,
						'value_casei' => 'application/json',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-document-recommendations',
					'requires_extension' => array(
						'amp-document-recommendations',
					),
					'spec_name' => 'amp-document-recommendations extension .json configuration',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-document-recommendations',
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-dynamic-css-classes',
						'requires_usage' => 3,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-experiment',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'nonce' => array(),
					'type' => array(
						'dispatch_key' => 3,
						'mandatory' => true,
						'value_casei' => 'application/json',
					),
				),
				'cdata' => array(
					'blacklisted_cdata_regex' => array(
						'error_message' => 'html comments',
						'regex' => '<!--',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-experiment',
					'spec_name' => 'amp-experiment extension .json script',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-experiment',
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-facebook-comments',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-facebook-like',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-facebook-page',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-facebook',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-fit-text',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-font',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-form',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-fx-collection',
						'requires_usage' => 3,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-fx-flying-carpet',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-gfycat',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-gist',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-hulu',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-iframe',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-ima-video',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-image-lightbox',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-imgur',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-instagram',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-install-serviceworker',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-izlesene',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-jwplayer',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-kaltura-player',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-lightbox-gallery',
						'requires_usage' => 3,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-lightbox',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-list',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-live-list',
						'requires_usage' => 2,
					),
					'mandatory_parent' => 'head',
					'unique_warning' => true,
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-mathml',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'is_custom_template' => true,
						'name' => 'amp-mustache',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-nexxtv-player',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-o2-player',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-ooyala-player',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-pinterest',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-playbuzz',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-position-observer',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-reach-player',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-reddit',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-riddle-quiz',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-selector',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-sidebar',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-social-share',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-soundcloud',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-springboard-player',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'1.0',
							'latest',
						),
						'deprecated_versions' => array(
							'0.1',
						),
						'name' => 'amp-sticky-ad',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-story-auto-ads',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'nonce' => array(),
					'type' => array(
						'dispatch_key' => 3,
						'mandatory' => true,
						'value_casei' => 'application/json',
					),
				),
				'cdata' => array(
					'blacklisted_cdata_regex' => array(
						'error_message' => 'html comments',
						'regex' => '<!--',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-story-auto-ads',
					'requires_extension' => array(
						'amp-story-auto-ads',
					),
					'spec_name' => 'amp-story-auto-ads config script',
					'spec_url' => 'https://github.com/ampproject/amphtml/blob/master/extensions/amp-story/amp-story-auto-ads.md',
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-story',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-subscriptions',
						'requires_usage' => 3,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'id' => array(
						'dispatch_key' => 2,
						'mandatory' => true,
						'value' => 'amp-subscriptions',
					),
					'nonce' => array(),
					'type' => array(
						'mandatory' => true,
						'value_casei' => 'application/json',
					),
				),
				'cdata' => array(
					'blacklisted_cdata_regex' => array(
						'error_message' => 'html comments',
						'regex' => '<!--',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'head',
					'requires_extension' => array(
						'amp-subscriptions',
					),
					'spec_name' => 'amp-subscriptions extension .json script',
					'unique' => true,
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-subscriptions-google',
						'requires_usage' => 3,
					),
					'requires_extension' => array(
						'amp-subscriptions',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-timeago',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-twitter',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-user-notification',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-video',
						'requires_usage' => 3,
					),
					'spec_name' => 'amp-video extension .js script',
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-vimeo',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-vine',
						'requires_usage' => 2,
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-vk',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-web-push',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'name' => 'amp-wistia-player',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'async' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/javascript',
					),
				),
				'tag_spec' => array(
					'extension_spec' => array(
						'allowed_versions' => array(
							'0.1',
							'latest',
						),
						'deprecated_allow_duplicates' => true,
						'name' => 'amp-youtube',
						'requires_usage' => 2,
					),
				),
			),
		),
		'section' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(
					'disallowed_ancestor' => array(
						'amp-accordion',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'expanded' => array(
						'value' => '',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-accordion',
					'spec_name' => 'amp-accordion > section',
				),
			),
		),
		'select' => array(
			array(
				'attr_spec_list' => array(
					'[autofocus]' => array(),
					'[disabled]' => array(),
					'[multiple]' => array(),
					'[required]' => array(),
					'[size]' => array(),
					'autofocus' => array(),
					'disabled' => array(),
					'multiple' => array(),
					'name' => array(
						'blacklisted_value_regex' => '(^|\\s)(__amp_\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\S*|\\$p|\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\s|$)',
					),
					'required' => array(),
					'size' => array(),
				),
				'tag_spec' => array(
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-form',
				),
			),
		),
		'slot' => array(
			array(
				'attr_spec_list' => array(
					'name' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'small' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'solidcolor' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'shape-rendering' => array(),
					'solid-color' => array(),
					'solid-opacity' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'source' => array(
			array(
				'attr_spec_list' => array(
					'[src]' => array(),
					'[type]' => array(),
					'media' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'type' => array(),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-video',
					'spec_name' => 'amp-video > source',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-video',
				),
			),
			array(
				'attr_spec_list' => array(
					'[src]' => array(),
					'[type]' => array(),
					'media' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'type' => array(),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-audio',
					'spec_name' => 'amp-audio > source',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-audio',
				),
			),
			array(
				'attr_spec_list' => array(
					'media' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'type' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'audio',
					'spec_name' => 'audio > source',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-audio',
				),
			),
			array(
				'attr_spec_list' => array(
					'media' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'type' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'video',
					'spec_name' => 'video > source',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-video',
				),
			),
			array(
				'attr_spec_list' => array(
					'[src]' => array(),
					'[type]' => array(),
					'media' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => true,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'type' => array(),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-ima-video',
					'requires_extension' => array(
						'amp-ima-video',
					),
					'spec_name' => 'amp-ima-video > source',
				),
			),
		),
		'spacer' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'span' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'stop' => array(
			array(
				'attr_spec_list' => array(
					'offset' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'lineargradient',
					'spec_name' => 'lineargradient > stop',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
			array(
				'attr_spec_list' => array(
					'offset' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'radialgradient',
					'spec_name' => 'radialgradient > stop',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'strike' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'strong' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'style' => array(
			array(
				'attr_spec_list' => array(
					'amp-custom' => array(
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
					'type' => array(
						'value_casei' => 'text/css',
					),
				),
				'cdata' => array(
					'blacklisted_cdata_regex' => array(
						'error_message' => 'CSS !important',
						'regex' => '!important',
					),
					'max_bytes' => 50000,
					'max_bytes_spec_url' => 'https://www.ampproject.org/docs/reference/spec#maximum-size',
				),
				'tag_spec' => array(
					'mandatory_parent' => 'head',
					'spec_name' => 'style amp-custom',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#stylesheets',
					'unique' => true,
				),
			),
			array(
				'attr_spec_list' => array(
					'amp-boilerplate' => array(
						'dispatch_key' => 3,
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
				),
				'cdata' => array(
					'cdata_regex' => '\\s*body{-webkit-animation:-amp-start\\s+8s\\s+steps\\(1,end\\)\\s+0s\\s+1\\s+normal\\s+both;-moz-animation:-amp-start\\s+8s\\s+steps\\(1,end\\)\\s+0s\\s+1\\s+normal\\s+both;-ms-animation:-amp-start\\s+8s\\s+steps\\(1,end\\)\\s+0s\\s+1\\s+normal\\s+both;animation:-amp-start\\s+8s\\s+steps\\(1,end\\)\\s+0s\\s+1\\s+normal\\s+both}@-webkit-keyframes\\s+-amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes\\s+-amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes\\s+-amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes\\s+-amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes\\s+-amp-start{from{visibility:hidden}to{visibility:visible}}\\s*',
				),
				'tag_spec' => array(
					'mandatory_alternatives' => 'head > style[amp-boilerplate]',
					'mandatory_parent' => 'head',
					'spec_name' => 'head > style[amp-boilerplate]',
					'spec_url' => 'https://github.com/ampproject/amphtml/blob/master/spec/amp-boilerplate.md',
					'unique' => true,
				),
			),
			array(
				'attr_spec_list' => array(
					'amp-boilerplate' => array(
						'dispatch_key' => 3,
						'mandatory' => true,
						'value' => '',
					),
					'nonce' => array(),
				),
				'cdata' => array(
					'cdata_regex' => '\\s*body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}\\s*',
				),
				'tag_spec' => array(
					'mandatory_alternatives' => 'noscript > style[amp-boilerplate]',
					'mandatory_ancestor' => 'head',
					'mandatory_parent' => 'noscript',
					'spec_name' => 'noscript > style[amp-boilerplate]',
					'spec_url' => 'https://github.com/ampproject/amphtml/blob/master/spec/amp-boilerplate.md',
					'unique' => true,
				),
			),
			array(
				'attr_spec_list' => array(
					'amp-keyframes' => array(
						'dispatch_key' => 1,
						'mandatory' => true,
						'value' => '',
					),
				),
				'cdata' => array(
					'max_bytes' => 500000,
					'max_bytes_spec_url' => 'https://www.ampproject.org/docs/reference/spec#keyframes-stylesheet',
				),
				'tag_spec' => array(
					'mandatory_parent' => 'body',
					'spec_name' => 'style[amp-keyframes]',
					'unique' => true,
				),
			),
		),
		'sub' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'sup' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'svg' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'contentscripttype' => array(),
					'contentstyletype' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'height' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'preserveaspectratio' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'version' => array(
						'value_regex' => '(1.0|1.1)',
					),
					'viewbox' => array(),
					'visibility' => array(),
					'width' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y' => array(),
					'zoomandpan' => array(),
				),
				'tag_spec' => array(
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'switch' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'symbol' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'preserveaspectratio' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'viewbox' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'table' => array(
			array(
				'attr_spec_list' => array(
					'align' => array(),
					'bgcolor' => array(),
					'border' => array(
						'value_regex' => '0|1',
					),
					'cellpadding' => array(),
					'cellspacing' => array(),
					'sortable' => array(),
					'width' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'tbody' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'td' => array(
			array(
				'attr_spec_list' => array(
					'align' => array(),
					'bgcolor' => array(),
					'colspan' => array(),
					'headers' => array(),
					'height' => array(),
					'rowspan' => array(),
					'valign' => array(),
					'width' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'template' => array(
			array(
				'attr_spec_list' => array(
					'type' => array(
						'mandatory' => true,
						'value' => 'amp-mustache',
					),
				),
				'tag_spec' => array(
					'disallowed_ancestor' => array(
						'template',
						'amp-story-auto-ads',
						'form > div [submit-success][template]',
						'form > div [submit-error][template]',
					),
					'requires_extension' => array(
						'amp-mustache',
					),
				),
			),
			array(
				'attr_spec_list' => array(
					'type' => array(
						'mandatory' => true,
						'value' => 'amp-mustache',
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-story-auto-ads',
					'requires_extension' => array(
						'amp-mustache',
					),
					'spec_name' => 'amp-story-auto-ads > template',
				),
			),
		),
		'text' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'dx' => array(),
					'dy' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'lengthadjust' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'rotate' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'textlength' => array(),
					'transform' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'textarea' => array(
			array(
				'attr_spec_list' => array(
					'[autocomplete]' => array(),
					'[autofocus]' => array(),
					'[cols]' => array(),
					'[disabled]' => array(),
					'[maxlength]' => array(),
					'[minlength]' => array(),
					'[placeholder]' => array(),
					'[readonly]' => array(),
					'[required]' => array(),
					'[rows]' => array(),
					'[selectiondirection]' => array(),
					'[selectionend]' => array(),
					'[selectionstart]' => array(),
					'[spellcheck]' => array(),
					'[wrap]' => array(),
					'autocomplete' => array(),
					'autofocus' => array(),
					'cols' => array(),
					'disabled' => array(),
					'maxlength' => array(),
					'minlength' => array(),
					'name' => array(
						'blacklisted_value_regex' => '(^|\\s)(__amp_\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\S*|\\$p|\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\s|$)',
					),
					'placeholder' => array(),
					'readonly' => array(),
					'required' => array(),
					'rows' => array(),
					'selectiondirection' => array(),
					'selectionend' => array(),
					'selectionstart' => array(),
					'spellcheck' => array(),
					'wrap' => array(),
				),
				'tag_spec' => array(
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-form',
				),
			),
		),
		'textpath' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'method' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'shape-rendering' => array(),
					'spacing' => array(),
					'startoffset' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'xlink:actuate' => array(),
					'xlink:arcrole' => array(),
					'xlink:href' => array(
						'alternative_names' => array(
							'href',
						),
						'value_url' => array(
							'allow_empty' => false,
							'allow_relative' => true,
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
					'xlink:role' => array(),
					'xlink:show' => array(),
					'xlink:title' => array(),
					'xlink:type' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'tfoot' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'th' => array(
			array(
				'attr_spec_list' => array(
					'abbr' => array(),
					'align' => array(),
					'bgcolor' => array(),
					'colspan' => array(),
					'headers' => array(),
					'height' => array(),
					'rowspan' => array(),
					'scope' => array(),
					'sorted' => array(),
					'valign' => array(),
					'width' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'thead' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'time' => array(
			array(
				'attr_spec_list' => array(
					'datetime' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'title' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(
					'spec_name' => 'title',
				),
			),
			array(
				'attr_spec_list' => array(
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_name' => 'svg title',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'tr' => array(
			array(
				'attr_spec_list' => array(
					'align' => array(),
					'bgcolor' => array(),
					'height' => array(),
					'valign' => array(),
				),
				'tag_spec' => array(),
			),
		),
		'track' => array(
			array(
				'attr_spec_list' => array(
					'default' => array(
						'value' => '',
					),
					'kind' => array(
						'value_regex' => '(captions|descriptions|chapters|metadata)',
					),
					'label' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'srclang' => array(),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'audio',
					'spec_name' => 'audio > track',
				),
			),
			array(
				'attr_spec_list' => array(
					'default' => array(
						'value' => '',
					),
					'kind' => array(
						'mandatory' => true,
						'value_casei' => 'subtitles',
					),
					'label' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'srclang' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'audio',
					'spec_name' => 'audio > track[kind=subtitles]',
				),
			),
			array(
				'attr_spec_list' => array(
					'default' => array(
						'value' => '',
					),
					'kind' => array(
						'value_regex' => '(captions|descriptions|chapters|metadata)',
					),
					'label' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'srclang' => array(),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'video',
					'spec_name' => 'video > track',
				),
			),
			array(
				'attr_spec_list' => array(
					'default' => array(
						'value' => '',
					),
					'kind' => array(
						'mandatory' => true,
						'value_casei' => 'subtitles',
					),
					'label' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'srclang' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'video',
					'spec_name' => 'video > track[kind=subtitles]',
				),
			),
			array(
				'attr_spec_list' => array(
					'[label]' => array(),
					'[src]' => array(),
					'[srclang]' => array(),
					'default' => array(
						'value' => '',
					),
					'kind' => array(
						'value_regex' => '(captions|descriptions|chapters|metadata)',
					),
					'label' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'srclang' => array(),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-audio',
					'spec_name' => 'amp-audio > track',
				),
			),
			array(
				'attr_spec_list' => array(
					'[label]' => array(),
					'[src]' => array(),
					'[srclang]' => array(),
					'default' => array(
						'value' => '',
					),
					'kind' => array(
						'mandatory' => true,
						'value_casei' => 'subtitles',
					),
					'label' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'srclang' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-audio',
					'spec_name' => 'amp-audio > track[kind=subtitles]',
				),
			),
			array(
				'attr_spec_list' => array(
					'[label]' => array(),
					'[src]' => array(),
					'[srclang]' => array(),
					'default' => array(
						'value' => '',
					),
					'kind' => array(
						'value_regex' => '(captions|descriptions|chapters|metadata)',
					),
					'label' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'srclang' => array(),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-video',
					'spec_name' => 'amp-video > track',
				),
			),
			array(
				'attr_spec_list' => array(
					'[label]' => array(),
					'[src]' => array(),
					'[srclang]' => array(),
					'default' => array(
						'value' => '',
					),
					'kind' => array(
						'mandatory' => true,
						'value_casei' => 'subtitles',
					),
					'label' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'srclang' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-video',
					'spec_name' => 'amp-video > track[kind=subtitles]',
				),
			),
			array(
				'attr_spec_list' => array(
					'[label]' => array(),
					'[src]' => array(),
					'[srclang]' => array(),
					'default' => array(
						'value' => '',
					),
					'kind' => array(
						'mandatory' => true,
						'value_casei' => 'subtitles',
					),
					'label' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'mandatory' => true,
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'https',
							),
						),
					),
					'srclang' => array(
						'mandatory' => true,
					),
				),
				'tag_spec' => array(
					'mandatory_parent' => 'amp-ima-video',
					'spec_name' => 'amp-ima-video > track[kind=subtitles]',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-ima-video',
				),
			),
		),
		'tref' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'xlink:actuate' => array(),
					'xlink:arcrole' => array(),
					'xlink:href' => array(
						'alternative_names' => array(
							'href',
						),
						'value_url' => array(
							'allow_empty' => false,
							'allow_relative' => true,
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
					'xlink:role' => array(),
					'xlink:show' => array(),
					'xlink:title' => array(),
					'xlink:type' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'tspan' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'dx' => array(),
					'dy' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'lengthadjust' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'rotate' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'textlength' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'tt' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'u' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'ul' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'use' => array(
			array(
				'attr_spec_list' => array(
					'alignment-baseline' => array(),
					'baseline-shift' => array(),
					'clip' => array(),
					'clip-path' => array(),
					'clip-rule' => array(),
					'color' => array(),
					'color-interpolation' => array(),
					'color-interpolation-filters' => array(),
					'color-profile' => array(),
					'color-rendering' => array(),
					'cursor' => array(),
					'direction' => array(),
					'display' => array(),
					'dominant-baseline' => array(),
					'enable-background' => array(),
					'externalresourcesrequired' => array(),
					'fill' => array(),
					'fill-opacity' => array(),
					'fill-rule' => array(),
					'filter' => array(),
					'flood-color' => array(),
					'flood-opacity' => array(),
					'font-family' => array(),
					'font-size' => array(),
					'font-size-adjust' => array(),
					'font-stretch' => array(),
					'font-style' => array(),
					'font-variant' => array(),
					'font-weight' => array(),
					'glyph-orientation-horizontal' => array(),
					'glyph-orientation-vertical' => array(),
					'height' => array(),
					'image-rendering' => array(),
					'kerning' => array(),
					'letter-spacing' => array(),
					'lighting-color' => array(),
					'marker-end' => array(),
					'marker-mid' => array(),
					'marker-start' => array(),
					'mask' => array(),
					'opacity' => array(),
					'overflow' => array(),
					'pointer-events' => array(),
					'requiredextensions' => array(),
					'requiredfeatures' => array(),
					'shape-rendering' => array(),
					'stop-color' => array(),
					'stop-opacity' => array(),
					'stroke' => array(),
					'stroke-dasharray' => array(),
					'stroke-dashoffset' => array(),
					'stroke-linecap' => array(),
					'stroke-linejoin' => array(),
					'stroke-miterlimit' => array(),
					'stroke-opacity' => array(),
					'stroke-width' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'systemlanguage' => array(),
					'text-anchor' => array(),
					'text-decoration' => array(),
					'text-rendering' => array(),
					'transform' => array(),
					'unicode-bidi' => array(),
					'vector-effect' => array(),
					'visibility' => array(),
					'width' => array(),
					'word-spacing' => array(),
					'writing-mode' => array(),
					'x' => array(),
					'xlink:actuate' => array(),
					'xlink:arcrole' => array(),
					'xlink:href' => array(
						'alternative_names' => array(
							'href',
						),
						'value_url' => array(
							'allow_empty' => false,
							'allow_relative' => true,
							'allowed_protocol' => array(
								'http',
								'https',
							),
						),
					),
					'xlink:role' => array(),
					'xlink:show' => array(),
					'xlink:title' => array(),
					'xlink:type' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'y' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'var' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'video' => array(
			array(
				'attr_spec_list' => array(
					'autoplay' => array(),
					'controls' => array(),
					'height' => array(),
					'loop' => array(),
					'muted' => array(),
					'playsinline' => array(),
					'poster' => array(),
					'preload' => array(),
					'src' => array(
						'blacklisted_value_regex' => '__amp_source_origin',
						'value_url' => array(
							'allow_relative' => false,
							'allowed_protocol' => array(
								'data',
								'https',
							),
						),
					),
					'width' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'noscript',
					'mandatory_ancestor_suggested_alternative' => 'amp-video',
					'spec_url' => 'https://www.ampproject.org/docs/reference/components/amp-video',
				),
			),
		),
		'view' => array(
			array(
				'attr_spec_list' => array(
					'externalresourcesrequired' => array(),
					'preserveaspectratio' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'viewbox' => array(),
					'viewtarget' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
					'zoomandpan' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'vkern' => array(
			array(
				'attr_spec_list' => array(
					'g1' => array(),
					'g2' => array(),
					'k' => array(),
					'style' => array(
						'blacklisted_value_regex' => '!important',
					),
					'u1' => array(),
					'u2' => array(),
					'xml:lang' => array(),
					'xml:space' => array(),
					'xmlns' => array(),
					'xmlns:xlink' => array(),
				),
				'tag_spec' => array(
					'mandatory_ancestor' => 'svg',
					'spec_url' => 'https://www.ampproject.org/docs/reference/spec#svg',
				),
			),
		),
		'wbr' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
		'xmp' => array(
			array(
				'attr_spec_list' => array(),
				'tag_spec' => array(),
			),
		),
	);

	private static $layout_allowed_attrs = array(
		'[height]' => array(),
		'[width]' => array(),
		'height' => array(),
		'heights' => array(),
		'layout' => array(),
		'sizes' => array(),
		'width' => array(),
	);


	private static $globally_allowed_attrs = array(
		'[aria-activedescendant]' => array(),
		'[aria-atomic]' => array(),
		'[aria-autocomplete]' => array(),
		'[aria-busy]' => array(),
		'[aria-checked]' => array(),
		'[aria-controls]' => array(),
		'[aria-describedby]' => array(),
		'[aria-disabled]' => array(),
		'[aria-dropeffect]' => array(),
		'[aria-expanded]' => array(),
		'[aria-flowto]' => array(),
		'[aria-grabbed]' => array(),
		'[aria-haspopup]' => array(),
		'[aria-hidden]' => array(),
		'[aria-invalid]' => array(),
		'[aria-label]' => array(),
		'[aria-labelledby]' => array(),
		'[aria-level]' => array(),
		'[aria-live]' => array(),
		'[aria-multiline]' => array(),
		'[aria-multiselectable]' => array(),
		'[aria-orientation]' => array(),
		'[aria-owns]' => array(),
		'[aria-posinset]' => array(),
		'[aria-pressed]' => array(),
		'[aria-readonly]' => array(),
		'[aria-relevant]' => array(),
		'[aria-required]' => array(),
		'[aria-selected]' => array(),
		'[aria-setsize]' => array(),
		'[aria-sort]' => array(),
		'[aria-valuemax]' => array(),
		'[aria-valuemin]' => array(),
		'[aria-valuenow]' => array(),
		'[aria-valuetext]' => array(),
		'[class]' => array(),
		'[hidden]' => array(),
		'[text]' => array(),
		'about' => array(),
		'accesskey' => array(),
		'amp-access' => array(),
		'amp-access-behavior' => array(),
		'amp-access-hide' => array(),
		'amp-access-id' => array(),
		'amp-access-loader' => array(),
		'amp-access-loading' => array(),
		'amp-access-off' => array(),
		'amp-access-on' => array(),
		'amp-access-show' => array(),
		'amp-access-style' => array(),
		'amp-access-template' => array(),
		'amp-fx' => array(
			'value_casei' => 'parallax',
		),
		'aria-activedescendant' => array(),
		'aria-atomic' => array(),
		'aria-autocomplete' => array(),
		'aria-busy' => array(),
		'aria-checked' => array(),
		'aria-controls' => array(),
		'aria-current' => array(),
		'aria-describedby' => array(),
		'aria-disabled' => array(),
		'aria-dropeffect' => array(),
		'aria-expanded' => array(),
		'aria-flowto' => array(),
		'aria-grabbed' => array(),
		'aria-haspopup' => array(),
		'aria-hidden' => array(),
		'aria-invalid' => array(),
		'aria-label' => array(),
		'aria-labelledby' => array(),
		'aria-level' => array(),
		'aria-live' => array(),
		'aria-multiline' => array(),
		'aria-multiselectable' => array(),
		'aria-orientation' => array(),
		'aria-owns' => array(),
		'aria-posinset' => array(),
		'aria-pressed' => array(),
		'aria-readonly' => array(),
		'aria-relevant' => array(),
		'aria-required' => array(),
		'aria-selected' => array(),
		'aria-setsize' => array(),
		'aria-sort' => array(),
		'aria-valuemax' => array(),
		'aria-valuemin' => array(),
		'aria-valuenow' => array(),
		'aria-valuetext' => array(),
		'class' => array(
			'blacklisted_value_regex' => '(^|\\W)i-amphtml-',
		),
		'content' => array(),
		'datatype' => array(),
		'dir' => array(),
		'draggable' => array(),
		'fallback' => array(
			'value' => '',
		),
		'hidden' => array(
			'value' => '',
		),
		'i-amp-access-id' => array(),
		'id' => array(
			'blacklisted_value_regex' => '(^|\\s)(__amp_\\S*|__count__|__defineGetter__|__defineSetter__|__lookupGetter__|__lookupSetter__|__noSuchMethod__|__parent__|__proto__|__AMP_\\S*|\\$p|\\$proxy|acceptCharset|addEventListener|appendChild|assignedSlot|attachShadow|AMP|baseURI|checkValidity|childElementCount|childNodes|classList|className|clientHeight|clientLeft|clientTop|clientWidth|compareDocumentPosition|computedName|computedRole|contentEditable|createShadowRoot|enqueAction|firstChild|firstElementChild|getAnimations|getAttribute|getAttributeNS|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getDestinationInsertionPoints|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasPointerCapture|i-amphtml-\\S*|innerHTML|innerText|inputMode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|isContentEditable|isDefaultNamespace|isEqualNode|isSameNode|lastChild|lastElementChild|lookupNamespaceURI|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|previousElementSibling|previousSibling|querySelector|querySelectorAll|releasePointerCapture|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|reportValidity|requestPointerLock|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setPointerCapture|shadowRoot|styleMap|tabIndex|tagName|textContent|toString|valueOf|(webkit|ms|moz|o)dropzone|(webkit|moz|ms|o)MatchesSelector|(webkit|moz|ms|o)RequestFullScreen|(webkit|moz|ms|o)RequestFullscreen)(\\s|$)',
		),
		'inlist' => array(),
		'itemid' => array(),
		'itemprop' => array(),
		'itemref' => array(),
		'itemscope' => array(),
		'itemtype' => array(),
		'lang' => array(),
		'lightbox' => array(),
		'on' => array(),
		'overflow' => array(),
		'placeholder' => array(
			'value' => '',
		),
		'prefix' => array(),
		'property' => array(),
		'rel' => array(
			'blacklisted_value_regex' => '(^|\\s)(canonical|components|dns-prefetch|import|manifest|preconnect|preload|prerender|serviceworker|stylesheet|subresource)(\\s|$)',
		),
		'resource' => array(),
		'rev' => array(),
		'role' => array(),
		'subscriptions-action' => array(),
		'subscriptions-actions' => array(
			'value' => '',
		),
		'subscriptions-dialog' => array(
			'value' => '',
		),
		'subscriptions-display' => array(),
		'subscriptions-section' => array(
			'value_regex_casei' => '(actions|content|content-not-granted)',
		),
		'subscriptions-service' => array(),
		'tabindex' => array(),
		'title' => array(),
		'translate' => array(),
		'typeof' => array(),
		'validation-for' => array(),
		'visible-when-invalid' => array(
			'value_regex' => '(badInput|customError|patternMismatch|rangeOverflow|rangeUnderflow|stepMismatch|tooLong|typeMismatch|valueMissing)',
		),
		'vocab' => array(),
	);


	/**
	 * Get allowed tags.
	 *
	 * @since 0.5
	 * @return array Allowed tags.
	 */
	public static function get_allowed_tags() {
		return self::$allowed_tags;
	}

	/**
	 * Get allowed tag.
	 *
	 * Get the rules for a single tag so that the entire data structure needn't be passed around.
	 *
	 * @since 0.7
	 * @param string $node_name Tag name.
	 * @return array|null Allowed tag, or null if the tag does not exist.
	 */
	public static function get_allowed_tag( $node_name ) {
		if ( isset( self::$allowed_tags[ $node_name ] ) ) {
			return self::$allowed_tags[ $node_name ];
		}
		return null;
	}

	/**
	 * Get list of globally-allowed attributes.
	 *
	 * @since 0.5
	 * @return array Allowed tag.
	 */
	public static function get_allowed_attributes() {
		return self::$globally_allowed_attrs;
	}

	/**
	 * Get layout attributes.
	 *
	 * @since 0.5
	 * @return array Allowed tag.
	 */
	public static function get_layout_attributes() {
		return self::$layout_allowed_attrs;
	}

}
