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

Side by Side Diff: test/regression/0300/0388.unit

Issue 1257793003: Add regression test for previously fixed bug. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 years, 5 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 | « lib/src/chunk_builder.dart ('k') | 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
(Empty)
1 >>>
2 class _SimpleNodeValidator {
3 factory _SimpleNodeValidator.allowImages(UriPolicy uriPolicy) {
4 return new _SimpleNodeValidator(uriPolicy,
5 allowedElements: const ['IMG'],
6 allowedAttributes: const [
7 'IMG::align',
8 'IMG::alt',
9 'IMG::border',
10 'IMG::height',
11 'IMG::hspace',
12 'IMG::ismap',
13 'IMG::name',
14 'IMG::usemap',
15 'IMG::vspace',
16 'IMG::width',
17 ],
18 allowedUriAttributes: const ['IMG::src',]);
19 }
20 }
21 <<<
22 class _SimpleNodeValidator {
23 factory _SimpleNodeValidator.allowImages(UriPolicy uriPolicy) {
24 return new _SimpleNodeValidator(uriPolicy, allowedElements: const [
25 'IMG'
26 ], allowedAttributes: const [
27 'IMG::align',
28 'IMG::alt',
29 'IMG::border',
30 'IMG::height',
31 'IMG::hspace',
32 'IMG::ismap',
33 'IMG::name',
34 'IMG::usemap',
35 'IMG::vspace',
36 'IMG::width',
37 ], allowedUriAttributes: const [
38 'IMG::src',
39 ]);
40 }
41 }
OLDNEW
« no previous file with comments | « lib/src/chunk_builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698