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

Side by Side Diff: pkg/polymer/lib/src/html5_utils.dart

Issue 23224003: move polymer.dart into dart svn (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add --deploy to todomvc sample Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « pkg/polymer/lib/src/files.dart ('k') | pkg/polymer/lib/src/info.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 // TODO(jmesserly): html5lib might be a better home for this.
6 // But at the moment we only need it here.
7
8 library html5_utils;
9
10 /**
11 * HTML attributes that expect a URL value.
12 * <http://dev.w3.org/html5/spec/section-index.html#attributes-1>
13 *
14 * Every one of these attributes is a URL in every context where it is used in
15 * the DOM. The comments show every DOM element where an attribute can be used.
16 */
17 const urlAttributes = const [
18 'action', // in form
19 'background', // in body
20 'cite', // in blockquote, del, ins, q
21 'data', // in object
22 'formaction', // in button, input
23 'href', // in a, area, link, base, command
24 'icon', // in command
25 'manifest', // in html
26 'poster', // in video
27 'src', // in audio, embed, iframe, img, input, script, source, track,
28 // video
29 ];
OLDNEW
« no previous file with comments | « pkg/polymer/lib/src/files.dart ('k') | pkg/polymer/lib/src/info.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698