Skip to content

Commit

Permalink
Only allowing amp-audio layout=nodisplay within amp-story. (ampprojec…
Browse files Browse the repository at this point in the history
  • Loading branch information
gmajoulet authored and Noran Azmy committed Mar 22, 2019
1 parent 96ad95f commit a716e9a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions extensions/amp-audio/validator-amp-audio.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,6 @@ tags: { # <amp-audio> for AMP, amp-story (autoplay attribute mandatory)
attr_lists: "extended-amp-global"
spec_url: "https://www.ampproject.org/docs/reference/components/amp-audio"
amp_layout {
defines_default_height: true
# TODO(johannes): in the longer run, defines_default_width should
# be false, to make it a fixed height layout per default, rather
# than a fixed one.
defines_default_width: true
supported_layouts: FIXED
supported_layouts: FIXED_HEIGHT
supported_layouts: NODISPLAY
}
}
Expand Down

0 comments on commit a716e9a

Please sign in to comment.