Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1064)

Side by Side Diff: sky/framework/sky-element/element-registry.sky

Issue 899133002: Adds src to the list of attributes known for iframes (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!-- 1 <!--
2 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Copyright 2014 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 --> 5 -->
6 <import src="sky-binder.sky" as="binder" /> 6 <import src="sky-binder.sky" as="binder" />
7 <script> 7 <script>
8 // TODO(esprehn): It would be nice if these were exposed by the platform so 8 // TODO(esprehn): It would be nice if these were exposed by the platform so
9 // the framework didn't need to hard code a list. 9 // the framework didn't need to hard code a list.
10 var globalAttributesNames = new Set([ 10 var globalAttributesNames = new Set([
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 158
159 registerElement('style', { 159 registerElement('style', {
160 'media': 'string', 160 'media': 'string',
161 }); 161 });
162 162
163 registerElement('template', { 163 registerElement('template', {
164 'if': 'string', 164 'if': 'string',
165 'repeat': 'string', 165 'repeat': 'string',
166 }); 166 });
167 167
168 registerElement('iframe', {
169 'src': 'string',
170 });
171
168 module.exports = { 172 module.exports = {
169 registerElement: registerElement, 173 registerElement: registerElement,
170 getRegistration: getRegistration, 174 getRegistration: getRegistration,
171 checkAttribute: checkAttribute, 175 checkAttribute: checkAttribute,
172 isGlobalAttribute: isGlobalAttribute, 176 isGlobalAttribute: isGlobalAttribute,
173 isExpandableAttribute: isExpandableAttribute, 177 isExpandableAttribute: isExpandableAttribute,
174 }; 178 };
175 </script> 179 </script>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698