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

Side by Side Diff: tools/dom/src/Html5NodeValidator.dart

Issue 1588773002: Add autofocus to the Html5NodeValidator list of standard attributes for <input> (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 // DO NOT EDIT- this file is generated from running tool/generator.sh. 1 // DO NOT EDIT- this file is generated from running tool/generator.sh.
2 2
3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 part of dart.dom.html; 7 part of dart.dom.html;
8 8
9 /** 9 /**
10 * A Dart DOM validator generated from Caja whitelists. 10 * A Dart DOM validator generated from Caja whitelists.
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 'IMG::ismap', 232 'IMG::ismap',
233 'IMG::name', 233 'IMG::name',
234 'IMG::usemap', 234 'IMG::usemap',
235 'IMG::vspace', 235 'IMG::vspace',
236 'IMG::width', 236 'IMG::width',
237 'INPUT::accept', 237 'INPUT::accept',
238 'INPUT::accesskey', 238 'INPUT::accesskey',
239 'INPUT::align', 239 'INPUT::align',
240 'INPUT::alt', 240 'INPUT::alt',
241 'INPUT::autocomplete', 241 'INPUT::autocomplete',
242 'INPUT::autofocus',
242 'INPUT::checked', 243 'INPUT::checked',
243 'INPUT::disabled', 244 'INPUT::disabled',
244 'INPUT::inputmode', 245 'INPUT::inputmode',
245 'INPUT::ismap', 246 'INPUT::ismap',
246 'INPUT::list', 247 'INPUT::list',
247 'INPUT::max', 248 'INPUT::max',
248 'INPUT::maxlength', 249 'INPUT::maxlength',
249 'INPUT::min', 250 'INPUT::min',
250 'INPUT::multiple', 251 'INPUT::multiple',
251 'INPUT::name', 252 'INPUT::name',
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 static bool _standardAttributeValidator(Element element, String attributeName, 442 static bool _standardAttributeValidator(Element element, String attributeName,
442 String value, _Html5NodeValidator context) { 443 String value, _Html5NodeValidator context) {
443 return true; 444 return true;
444 } 445 }
445 446
446 static bool _uriAttributeValidator(Element element, String attributeName, 447 static bool _uriAttributeValidator(Element element, String attributeName,
447 String value, _Html5NodeValidator context) { 448 String value, _Html5NodeValidator context) {
448 return context.uriPolicy.allowsUri(value); 449 return context.uriPolicy.allowsUri(value);
449 } 450 }
450 } 451 }
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