Skip to content

Commit

Permalink
feat: update validator to support intrinsic layout (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitrykruchko-nbcuni authored Nov 1, 2023
1 parent c347be9 commit 1655e3b
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions src/Spec/validator-generated.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class AmpLayoutLayout {
const CONTAINER = 'CONTAINER';
const FILL = 'FILL';
const FLEX_ITEM = 'FLEX_ITEM';

const INTRINSIC = 'INTRINSIC';
}
class AtRuleSpec {
public $name = null;
Expand Down Expand Up @@ -2379,7 +2379,7 @@ public static function createValidationRules() {
$o_565->attr_lists = ['extended-amp-global'];
$o_565->spec_url = 'https://www.ampproject.org/docs/reference/amp-ad.html';
$o_571 = new AmpLayout();
$o_571->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_571->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_565->amp_layout = $o_571;
$o_565->disallowed_ancestor = ['amp-sidebar'];
$o_0->tags[] = $o_565;
Expand All @@ -2405,7 +2405,7 @@ public static function createValidationRules() {
$o_572->attr_lists = ['extended-amp-global'];
$o_572->spec_url = 'https://www.ampproject.org/docs/reference/amp-embed.html';
$o_578 = new AmpLayout();
$o_578->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_578->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_572->amp_layout = $o_578;
$o_572->disallowed_ancestor = ['amp-sidebar'];
$o_0->tags[] = $o_572;
Expand All @@ -2423,7 +2423,7 @@ public static function createValidationRules() {
$o_579->attr_lists = ['extended-amp-global', 'mandatory-src-or-srcset'];
$o_579->spec_url = 'https://www.ampproject.org/docs/reference/amp-img.html';
$o_583 = new AmpLayout();
$o_583->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_583->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_579->amp_layout = $o_583;
$o_0->tags[] = $o_579;
$o_584 = new TagSpec();
Expand Down Expand Up @@ -2489,7 +2489,7 @@ public static function createValidationRules() {
$o_588->attr_lists = ['extended-amp-global'];
$o_588->spec_url = 'https://www.ampproject.org/docs/reference/amp-video.html';
$o_600 = new AmpLayout();
$o_600->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_600->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_588->amp_layout = $o_600;
$o_588->disallowed_ancestor = ['amp-sidebar'];
$o_0->tags[] = $o_588;
Expand Down Expand Up @@ -2750,7 +2750,7 @@ public static function createValidationRules() {
$o_654->attr_lists = ['extended-amp-global', 'mandatory-src-or-srcset'];
$o_654->spec_url = 'https://www.ampproject.org/docs/reference/extended/amp-anim.html';
$o_659 = new AmpLayout();
$o_659->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_659->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_654->amp_layout = $o_659;
$o_654->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_654->also_requires_tag = ['amp-anim extension .js script'];
Expand Down Expand Up @@ -2878,7 +2878,7 @@ public static function createValidationRules() {
$o_682->attr_lists = ['extended-amp-global'];
$o_682->spec_url = 'https://github.com/ampproject/amphtml/blob/main/extensions/amp-brid-player/amp-brid-player.md';
$o_687 = new AmpLayout();
$o_687->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_687->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_682->amp_layout = $o_687;
$o_682->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_682->also_requires_tag = ['amp-brid-player extension .js script'];
Expand Down Expand Up @@ -2936,7 +2936,7 @@ public static function createValidationRules() {
$o_695->attr_lists = ['extended-amp-global'];
$o_695->spec_url = 'https://www.ampproject.org/docs/reference/extended/amp-brightcove.html';
$o_701 = new AmpLayout();
$o_701->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_701->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_695->amp_layout = $o_701;
$o_695->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_695->also_requires_tag = ['amp-brightcove extension .js script'];
Expand Down Expand Up @@ -3005,7 +3005,7 @@ public static function createValidationRules() {
$o_709->attr_lists = ['extended-amp-global'];
$o_709->spec_url = 'https://www.ampproject.org/docs/reference/extended/amp-carousel.html';
$o_717 = new AmpLayout();
$o_717->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_717->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_709->amp_layout = $o_717;
$o_709->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_709->also_requires_tag = ['amp-carousel extension .js script'];
Expand Down Expand Up @@ -3080,7 +3080,7 @@ public static function createValidationRules() {
$o_725->attr_lists = ['extended-amp-global'];
$o_725->spec_url = 'https://www.ampproject.org/docs/reference/extended/amp-dailymotion.html';
$o_734 = new AmpLayout();
$o_734->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::RESPONSIVE];
$o_734->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_725->amp_layout = $o_734;
$o_725->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_725->also_requires_tag = ['amp-dailymotion extension .js script'];
Expand Down Expand Up @@ -3158,7 +3158,7 @@ public static function createValidationRules() {
$o_749->attr_lists = ['extended-amp-global'];
$o_749->spec_url = 'https://www.ampproject.org/docs/reference/extended/amp-facebook.html';
$o_751 = new AmpLayout();
$o_751->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_751->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_749->amp_layout = $o_751;
$o_749->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_749->also_requires_tag = ['amp-facebook extension .js script'];
Expand Down Expand Up @@ -3206,7 +3206,7 @@ public static function createValidationRules() {
$o_759->attr_lists = ['extended-amp-global'];
$o_759->spec_url = 'https://www.ampproject.org/docs/reference/extended/amp-fit-text.html';
$o_762 = new AmpLayout();
$o_762->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_762->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_759->amp_layout = $o_762;
$o_759->disallowed_ancestor = ['head'];
$o_759->also_requires_tag = ['amp-fit-text extension .js script'];
Expand Down Expand Up @@ -3354,7 +3354,7 @@ public static function createValidationRules() {
$o_788->attr_lists = ['extended-amp-global'];
$o_788->spec_url = 'https://www.ampproject.org/docs/reference/extended/amp-iframe.html';
$o_798 = new AmpLayout();
$o_798->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_798->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_788->amp_layout = $o_798;
$o_788->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_788->also_requires_tag = ['amp-iframe extension .js script'];
Expand Down Expand Up @@ -3462,7 +3462,7 @@ public static function createValidationRules() {
$o_816->attr_lists = ['extended-amp-global'];
$o_816->spec_url = 'https://www.ampproject.org/docs/reference/extended/amp-instagram.html';
$o_822 = new AmpLayout();
$o_822->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_822->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_816->amp_layout = $o_822;
$o_816->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_816->also_requires_tag = ['amp-instagram extension .js script'];
Expand Down Expand Up @@ -3567,7 +3567,7 @@ public static function createValidationRules() {
$o_841->attrs[] = $o_844;
$o_841->spec_url = 'https://github.com/ampproject/amphtml/blob/main/extensions/amp-jwplayer/amp-jwplayer.md';
$o_845 = new AmpLayout();
$o_845->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_845->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_841->amp_layout = $o_845;
$o_841->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_841->also_requires_tag = ['amp-jwplayer extension .js script'];
Expand Down Expand Up @@ -3613,7 +3613,7 @@ public static function createValidationRules() {
$o_853->attr_lists = ['extended-amp-global'];
$o_853->spec_url = 'https://www.ampproject.org/docs/reference/extended/amp-kaltura-player.html';
$o_855 = new AmpLayout();
$o_855->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_855->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_853->amp_layout = $o_855;
$o_853->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_853->also_requires_tag = ['amp-kaltura-player extension .js script'];
Expand Down Expand Up @@ -3717,7 +3717,7 @@ public static function createValidationRules() {
$o_874->attr_lists = ['extended-amp-global'];
$o_874->spec_url = 'https://www.ampproject.org/docs/reference/extended/amp-list.html';
$o_879 = new AmpLayout();
$o_879->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_879->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_874->amp_layout = $o_879;
$o_874->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_874->also_requires_tag = ['amp-list extension .js script'];
Expand Down Expand Up @@ -3806,7 +3806,7 @@ public static function createValidationRules() {
$o_896->attr_lists = ['extended-amp-global'];
$o_896->spec_url = 'https://www.ampproject.org/docs/reference/extended/amp-pinterest.html';
$o_898 = new AmpLayout();
$o_898->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_898->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_896->amp_layout = $o_898;
$o_896->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_896->also_requires_tag = ['amp-pinterest extension .js script'];
Expand Down Expand Up @@ -3851,7 +3851,7 @@ public static function createValidationRules() {
$o_906->attrs[] = $o_907;
$o_906->attr_lists = ['extended-amp-global'];
$o_908 = new AmpLayout();
$o_908->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::RESPONSIVE];
$o_908->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_906->amp_layout = $o_908;
$o_906->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_906->also_requires_tag = ['amp-reach-player extension .js script'];
Expand Down Expand Up @@ -3984,7 +3984,7 @@ public static function createValidationRules() {
$o_933->attr_lists = ['extended-amp-global'];
$o_933->spec_url = 'https://www.ampproject.org/docs/reference/extended/amp-social-share.html';
$o_937 = new AmpLayout();
$o_937->supported_layouts = [AmpLayoutLayout::CONTAINER, AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_937->supported_layouts = [AmpLayoutLayout::CONTAINER, AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_933->amp_layout = $o_937;
$o_933->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_933->also_requires_tag = ['amp-social-share extension .js script'];
Expand Down Expand Up @@ -4108,7 +4108,7 @@ public static function createValidationRules() {
$o_957->attr_lists = ['extended-amp-global'];
$o_957->spec_url = 'https://github.com/ampproject/amphtml/blob/main/extensions/amp-springboard-player/amp-springboard-player.html';
$o_964 = new AmpLayout();
$o_964->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::RESPONSIVE];
$o_964->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_957->amp_layout = $o_964;
$o_957->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_957->also_requires_tag = ['amp-springboard-player extension .js script'];
Expand Down Expand Up @@ -4209,7 +4209,7 @@ public static function createValidationRules() {
$o_982->attr_lists = ['extended-amp-global'];
$o_982->spec_url = 'https://www.ampproject.org/docs/reference/extended/amp-twitter.html';
$o_986 = new AmpLayout();
$o_986->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_986->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_982->amp_layout = $o_986;
$o_982->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_982->also_requires_tag = ['amp-twitter extension .js script'];
Expand Down Expand Up @@ -4298,7 +4298,7 @@ public static function createValidationRules() {
$o_1003->attr_lists = ['extended-amp-global'];
$o_1003->spec_url = 'https://www.ampproject.org/docs/reference/extended/amp-vimeo.html';
$o_1005 = new AmpLayout();
$o_1005->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::RESPONSIVE];
$o_1005->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_1003->amp_layout = $o_1005;
$o_1003->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_1003->also_requires_tag = ['amp-vimeo extension .js script'];
Expand Down Expand Up @@ -4344,7 +4344,7 @@ public static function createValidationRules() {
$o_1013->attr_lists = ['extended-amp-global'];
$o_1013->spec_url = 'https://www.ampproject.org/docs/reference/extended/amp-tiktok.html';
$o_1015 = new AmpLayout();
$o_1015->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_1015->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_1013->amp_layout = $o_1015;
$o_1013->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_1013->also_requires_tag = ['amp-tiktok extension .js script'];
Expand Down Expand Up @@ -4404,7 +4404,7 @@ public static function createValidationRules() {
$o_1023->attr_lists = ['extended-amp-global'];
$o_1023->spec_url = 'https://www.ampproject.org/docs/reference/extended/amp-youtube.html';
$o_1028 = new AmpLayout();
$o_1028->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE];
$o_1028->supported_layouts = [AmpLayoutLayout::FILL, AmpLayoutLayout::FIXED, AmpLayoutLayout::FIXED_HEIGHT, AmpLayoutLayout::FLEX_ITEM, AmpLayoutLayout::NODISPLAY, AmpLayoutLayout::RESPONSIVE, AmpLayoutLayout::INTRINSIC];
$o_1023->amp_layout = $o_1028;
$o_1023->disallowed_ancestor = ['head', 'amp-sidebar'];
$o_1023->also_requires_tag = ['amp-youtube extension .js script'];
Expand Down

0 comments on commit 1655e3b

Please sign in to comment.