| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |