Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (43 sloc) 1.27 KB
#
# Copyright 2016 The AMP HTML Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS-IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the license.
#
tags: { # <script custom-element="amp-sticky-ad">
html_format: AMP # Ads are not allowed inside ads.
tag_name: "SCRIPT"
extension_spec: {
name: "amp-sticky-ad"
version: "0.1"
version: "1.0"
version: "latest"
deprecated_version: "0.1"
requires_usage: GRANDFATHERED
}
attr_lists: "common-extension-attrs"
}
tags: { # <amp-sticky-ad>
html_format: AMP
tag_name: "AMP-STICKY-AD"
disallowed_ancestor: "AMP-APP-BANNER"
requires_extension: "amp-sticky-ad"
attr_lists: "extended-amp-global"
unique: true
child_tags: {
mandatory_num_child_tags: 1
first_child_tag_name_oneof: "AMP-AD"
}
amp_layout: {
supported_layouts: NODISPLAY
}
}