OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <!-- | 2 <!-- |
3 This file is autogenerated with polymer/tool/create_message_details_page.dart | 3 This file is autogenerated with polymer/tool/create_message_details_page.dart |
4 --> | 4 --> |
5 <html> | 5 <html> |
6 <style> | 6 <style> |
7 @font-face { | 7 @font-face { |
8 font-family: 'Montserrat'; | 8 font-family: 'Montserrat'; |
9 font-style: normal; | 9 font-style: normal; |
10 font-weight: 400; | 10 font-weight: 400; |
(...skipping 17 matching lines...) Expand all Loading... |
28 font-weight: 400; | 28 font-weight: 400; |
29 src: url(https://themes.googleusercontent.com/static/fonts/roboto/v10/CrYjSnGj
rRCn0pd9VQsnFOvvDin1pK8aKteLpeZ5c0A.woff) format('woff'); | 29 src: url(https://themes.googleusercontent.com/static/fonts/roboto/v10/CrYjSnGj
rRCn0pd9VQsnFOvvDin1pK8aKteLpeZ5c0A.woff) format('woff'); |
30 } | 30 } |
31 | 31 |
32 body { | 32 body { |
33 width: 80vw; | 33 width: 80vw; |
34 margin: 20px; | 34 margin: 20px; |
35 font-family: Roboto, sans-serif; | 35 font-family: Roboto, sans-serif; |
36 } | 36 } |
37 | 37 |
38 h1 { | 38 h2 { |
39 font-family: Montserrat, sans-serif; | 39 font-family: Montserrat, sans-serif; |
40 box-sizing: border-box; | 40 box-sizing: border-box; |
41 color: rgb(72, 72, 72); | 41 color: rgb(72, 72, 72); |
42 display: block; | 42 display: block; |
43 font-style: normal; | 43 font-style: normal; |
44 font-variant: normal; | 44 font-variant: normal; |
45 font-weight: normal; | 45 font-weight: normal; |
46 } | 46 } |
47 | 47 |
48 h2 { | 48 h3 { |
49 font-family: Montserrat, sans-serif; | 49 font-family: Montserrat, sans-serif; |
50 box-sizing: border-box; | 50 box-sizing: border-box; |
51 color: rgb(72, 72, 72); | 51 color: rgb(72, 72, 72); |
52 display: block; | 52 display: block; |
53 font-style: normal; | 53 font-style: normal; |
54 font-variant: normal; | 54 font-variant: normal; |
55 font-weight: normal; | 55 font-weight: normal; |
56 } | 56 } |
57 | 57 |
58 pre { | 58 pre { |
59 display: block; | 59 display: block; |
60 padding: 9.5px; | 60 padding: 9.5px; |
61 margin: 0 0 10px; | 61 margin: 0 0 10px; |
62 line-height: 1.42857143; | |
63 color: #333; | 62 color: #333; |
64 word-break: break-all; | 63 word-break: break-all; |
65 word-wrap: break-word; | 64 word-wrap: break-word; |
66 background-color: #f5f5f5; | 65 background-color: #f5f5f5; |
67 border: 1px solid #ccc; | 66 border: 1px solid #ccc; |
68 border-radius: 4px; | 67 border-radius: 4px; |
69 } | 68 } |
70 | 69 |
71 code { | 70 code { |
72 font-family: Menlo,Monaco,Consolas,"Courier New",monospace; | 71 font-family: Menlo,Monaco,Consolas,"Courier New",monospace; |
73 box-sizing: border-box; | 72 box-sizing: border-box; |
74 padding: 0; | 73 padding: 0; |
75 font-size: 90%; | 74 font-size: 90%; |
76 color: #0084c5; | 75 color: #0084c5; |
77 white-space: nowrap; | 76 white-space: nowrap; |
78 border-radius: 4px; | 77 border-radius: 4px; |
79 background-color: #f9f2f4; | 78 background-color: #f9f2f4; |
80 } | 79 } |
81 | 80 |
82 pre > code { | 81 pre code { |
83 white-space: inherit; | 82 white-space: inherit; |
| 83 color: inherit; |
| 84 background-color: inherit; |
84 } | 85 } |
85 | 86 |
86 a { | 87 a { |
87 color: rgb(42, 100, 150); | 88 color: rgb(42, 100, 150); |
88 } | 89 } |
89 | 90 |
90 h2 > a { | 91 h3 > a { |
91 display: none; | 92 display: none; |
92 font-size: 0.8em; | 93 font-size: 0.8em; |
93 } | 94 } |
94 | 95 |
95 h2:hover > a { | 96 h3:hover > a { |
96 display: inline; | 97 display: inline; |
97 } | 98 } |
98 </style> | 99 </style> |
99 <body> | 100 <body> |
100 <h1>Messages from package <code>code_transformers</code></h1> | 101 <h2>Messages from package <code>code_transformers</code></h2> |
101 <hr /> | 102 <hr /> |
102 | 103 |
103 <h2 id="msg_code_transformers_1">Absolute paths not allowed <a href="#msg_code_t
ransformers_1">#1</a> {#hashTag}</h2> | 104 <h3 id="code_transformers_1">Absolute paths not allowed <a href="#code_transform
ers_1">#1</a></h3> |
104 <p>The transformers processing your code were trying to resolve a URL and identi
fy | 105 <p>The transformers processing your code were trying to resolve a URL and identi
fy |
105 a file that they correspond to. Currently only relative paths can be resolved.</
p> | 106 a file that they correspond to. Currently only relative paths can be resolved.</
p> |
106 <hr /> | 107 <hr /> |
107 | 108 |
108 <h2 id="msg_code_transformers_2">Invalid URL to reach another package <a href="#
msg_code_transformers_2">#2</a> {#hashTag}</h2> | 109 <h3 id="code_transformers_2">Invalid URL to reach another package <a href="#code
_transformers_2">#2</a></h3> |
109 <p>To reach an asset that belongs to another package, use <code>package:</code>
URLs in | 110 <p>To reach an asset that belongs to another package, use <code>package:</code>
URLs in |
110 Dart code, but in any other language (like HTML or CSS) use relative URLs.</p> | 111 Dart code, but in any other language (like HTML or CSS) use relative URLs.</p> |
111 <p>These are the rules you must follow to write URLs that refer to files in othe
r | 112 <p>These are the rules you must follow to write URLs that refer to files in othe
r |
112 packages:</p><ul><li> | 113 packages:</p><ul><li> |
113 <p>If the file containing the relative URL is an entrypoint under <code>web</cod
e>, use | 114 <p>If the file containing the relative URL is an entrypoint under <code>web</cod
e>, use |
114 <code>packages/package_name/path_to_file</code></p></li><li> | 115 <code>packages/package_name/path_to_file</code></p></li><li> |
115 <p>If the file containing the URL is under <code>web</code>, but in a different
directory | 116 <p>If the file containing the URL is under <code>web</code>, but in a different
directory |
116 than your entrypoint, walk out to the same level as the entrypoint first, | 117 than your entrypoint, walk out to the same level as the entrypoint first, |
117 then enter the <code>packages</code> directory.</p> | 118 then enter the <code>packages</code> directory.</p> |
118 <p><strong>Note</strong>: If two entrypoints include the file under <code>web</c
ode> containing the | 119 <p><strong>Note</strong>: If two entrypoints include the file under <code>web</c
ode> containing the |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 <p>When you follow the rules above, our tools can detect the pattern in the | 211 <p>When you follow the rules above, our tools can detect the pattern in the |
211 HTML-import URL containing <code>packages/</code> and canonicalize the import | 212 HTML-import URL containing <code>packages/</code> and canonicalize the import |
212 by converting <code>packages/a/a.dart</code> into <code>package:a/a.dart</code>
under the hood.</p></li><li> | 213 by converting <code>packages/a/a.dart</code> into <code>package:a/a.dart</code>
under the hood.</p></li><li> |
213 <p>They need to continue to be valid after applications are built. | 214 <p>They need to continue to be valid after applications are built. |
214 Technically this could be done automatically with pub transformers, but to | 215 Technically this could be done automatically with pub transformers, but to |
215 make sure that code works also in Dartium with a simple HTTP Server, | 216 make sure that code works also in Dartium with a simple HTTP Server, |
216 existing transformers do not fix URLs, they just detect inconsistencies and | 217 existing transformers do not fix URLs, they just detect inconsistencies and |
217 produce an error message like this one, instead.</p></li></ul> | 218 produce an error message like this one, instead.</p></li></ul> |
218 <hr /> | 219 <hr /> |
219 | 220 |
220 <h2 id="msg_code_transformers_3">Incomplete URL to asset in another package <a h
ref="#msg_code_transformers_3">#3</a> {#hashTag}</h2> | 221 <h3 id="code_transformers_3">Incomplete URL to asset in another package <a href=
"#code_transformers_3">#3</a></h3> |
221 <p>URLs that refer to assets in other packages need to explicitly mention the | 222 <p>URLs that refer to assets in other packages need to explicitly mention the |
222 <code>packages/</code> directory. In the future this requirement might be remove
d, but for | 223 <code>packages/</code> directory. In the future this requirement might be remove
d, but for |
223 now you must use a canonical URL form for it.</p> | 224 now you must use a canonical URL form for it.</p> |
224 <p>For example, if <code>packages/a/a.html</code> needs to import <code>packages
/b/b.html</code>, | 225 <p>For example, if <code>packages/a/a.html</code> needs to import <code>packages
/b/b.html</code>, |
225 you might expect a.html to import <code>../b/b.html</code>. Instead, it must imp
ort | 226 you might expect a.html to import <code>../b/b.html</code>. Instead, it must imp
ort |
226 <code>../../packages/b/b.html</code>. | 227 <code>../../packages/b/b.html</code>. |
227 See <a href="http://dartbug.com/15797">issue 15797</a>.</p> | 228 See <a href="http://dartbug.com/15797">issue 15797</a>.</p> |
228 <hr /><h1>Messages from package <code>observe</code></h1> | 229 <hr /><h2>Messages from package <code>observe</code></h2> |
229 <hr /> | 230 <hr /> |
230 | 231 |
231 <h2 id="msg_observe_1"><code>@observable</code> not supported on libraries <a hr
ef="#msg_observe_1">#1</a> {#hashTag}</h2> | 232 <h3 id="observe_1"><code>@observable</code> not supported on libraries <a href="
#observe_1">#1</a></h3> |
232 <p>Only instance fields on <code>Observable</code> classes can be observable, | 233 <p>Only instance fields on <code>Observable</code> classes can be observable, |
233 and you must explicitly annotate each observable field as <code>@observable</cod
e>.</p> | 234 and you must explicitly annotate each observable field as <code>@observable</cod
e>.</p> |
234 <p>Support for using the <code>@observable</code> annotation in libraries, class
es, and | 235 <p>Support for using the <code>@observable</code> annotation in libraries, class
es, and |
235 elsewhere is deprecated.</p> | 236 elsewhere is deprecated.</p> |
236 <hr /> | 237 <hr /> |
237 | 238 |
238 <h2 id="msg_observe_2"><code>@observable</code> not supported on top-level field
s <a href="#msg_observe_2">#2</a> {#hashTag}</h2> | 239 <h3 id="observe_2"><code>@observable</code> not supported on top-level fields <a
href="#observe_2">#2</a></h3> |
239 <p>Only instance fields on <code>Observable</code> classes can be observable, | 240 <p>Only instance fields on <code>Observable</code> classes can be observable, |
240 and you must explicitly annotate each observable field as <code>@observable</cod
e>.</p> | 241 and you must explicitly annotate each observable field as <code>@observable</cod
e>.</p> |
241 <p>Support for using the <code>@observable</code> annotation in libraries, class
es, and | 242 <p>Support for using the <code>@observable</code> annotation in libraries, class
es, and |
242 elsewhere is deprecated.</p> | 243 elsewhere is deprecated.</p> |
243 <hr /> | 244 <hr /> |
244 | 245 |
245 <h2 id="msg_observe_3"><code>@observable</code> not supported on classes <a href
="#msg_observe_3">#3</a> {#hashTag}</h2> | 246 <h3 id="observe_3"><code>@observable</code> not supported on classes <a href="#o
bserve_3">#3</a></h3> |
246 <p>Only instance fields on <code>Observable</code> classes can be observable, | 247 <p>Only instance fields on <code>Observable</code> classes can be observable, |
247 and you must explicitly annotate each observable field as <code>@observable</cod
e>.</p> | 248 and you must explicitly annotate each observable field as <code>@observable</cod
e>.</p> |
248 <p>Support for using the <code>@observable</code> annotation in libraries, class
es, and | 249 <p>Support for using the <code>@observable</code> annotation in libraries, class
es, and |
249 elsewhere is deprecated.</p> | 250 elsewhere is deprecated.</p> |
250 <hr /> | 251 <hr /> |
251 | 252 |
252 <h2 id="msg_observe_4"><code>@observable</code> not supported on static fields <
a href="#msg_observe_4">#4</a> {#hashTag}</h2> | 253 <h3 id="observe_4"><code>@observable</code> not supported on static fields <a hr
ef="#observe_4">#4</a></h3> |
253 <p>Only instance fields on <code>Observable</code> classes can be observable, | 254 <p>Only instance fields on <code>Observable</code> classes can be observable, |
254 and you must explicitly annotate each observable field as <code>@observable</cod
e>.</p> | 255 and you must explicitly annotate each observable field as <code>@observable</cod
e>.</p> |
255 <p>Support for using the <code>@observable</code> annotation in libraries, class
es, and | 256 <p>Support for using the <code>@observable</code> annotation in libraries, class
es, and |
256 elsewhere is deprecated.</p> | 257 elsewhere is deprecated.</p> |
257 <hr /> | 258 <hr /> |
258 | 259 |
259 <h2 id="msg_observe_5"><code>@observable</code> field not in an <code>Observable
</code> class <a href="#msg_observe_5">#5</a> {#hashTag}</h2> | 260 <h3 id="observe_5"><code>@observable</code> field not in an <code>Observable</co
de> class <a href="#observe_5">#5</a></h3> |
260 <p>Only instance fields on <code>Observable</code> classes can be observable, | 261 <p>Only instance fields on <code>Observable</code> classes can be observable, |
261 and you must explicitly annotate each observable field as <code>@observable</cod
e>.</p> | 262 and you must explicitly annotate each observable field as <code>@observable</cod
e>.</p> |
262 <p>Support for using the <code>@observable</code> annotation in libraries, class
es, and | 263 <p>Support for using the <code>@observable</code> annotation in libraries, class
es, and |
263 elsewhere is deprecated.</p> | 264 elsewhere is deprecated.</p> |
264 <hr /><h1>Messages from package <code>polymer</code></h1> | 265 <hr /><h2>Messages from package <code>polymer</code></h2> |
265 <hr /> | 266 <hr /> |
266 | 267 |
267 <h2 id="msg_polymer_1">Import not found <a href="#msg_polymer_1">#1</a> {#hashTa
g}</h2> | 268 <h3 id="polymer_1">Import not found <a href="#polymer_1">#1</a></h3> |
268 <p>An HTML import seems to be broken. This could be because the file doesn't exi
st | 269 <p>An HTML import seems to be broken. This could be because the file doesn't exi
st |
269 or because the link URL is incorrect.</p> | 270 or because the link URL is incorrect.</p> |
270 <hr /> | 271 <hr /> |
271 | 272 |
272 <h2 id="msg_polymer_2">Duplicate definition <a href="#msg_polymer_2">#2</a> {#ha
shTag}</h2> | 273 <h3 id="polymer_2">Duplicate definition <a href="#polymer_2">#2</a></h3> |
273 <p>Custom element names are global and can only be defined once. Some common | 274 <p>Custom element names are global and can only be defined once. Some common |
274 reasons why you might get two definitions:</p><ul><li>Two different elements are
declared with the same name.</li><li> | 275 reasons why you might get two definitions:</p><ul><li>Two different elements are
declared with the same name.</li><li> |
275 <p>A single HTML file defining an element, has been imported using two different | 276 <p>A single HTML file defining an element, has been imported using two different |
276 URLs.</p></li></ul> | 277 URLs.</p></li></ul> |
277 <hr /> | 278 <hr /> |
278 | 279 |
279 <h2 id="msg_polymer_3">Missing import to polymer.html <a href="#msg_polymer_3">#
3</a> {#hashTag}</h2> | 280 <h3 id="polymer_3">Missing import to polymer.html <a href="#polymer_3">#3</a></h
3> |
280 <p>Starting with polymer 0.11.0, each file that uses the definition | 281 <p>Starting with polymer 0.11.0, each file that uses the definition |
281 of polymer-element must import it either directly or transitively.</p> | 282 of polymer-element must import it either directly or transitively.</p> |
282 <hr /> | 283 <hr /> |
283 | 284 |
284 <h2 id="msg_polymer_4">Invalid import inside <polymer-element> <a href="#msg_
polymer_4">#4</a> {#hashTag}</h2> | 285 <h3 id="polymer_4">Invalid import inside <polymer-element> <a href="#polymer_
4">#4</a></h3> |
285 <p>HTML imports are expected at the top of each document, outside of any | 286 <p>HTML imports are expected at the top of each document, outside of any |
286 polymer-element definitions. The polymer build process combines all your HTML | 287 polymer-element definitions. The polymer build process combines all your HTML |
287 files together so you can deploy a single HTML file with your application. This | 288 files together so you can deploy a single HTML file with your application. This |
288 build process ignores imports that appear to be in the wrong location.</p> | 289 build process ignores imports that appear to be in the wrong location.</p> |
289 <hr /> | 290 <hr /> |
290 | 291 |
291 <h2 id="msg_polymer_5">Missing call to <code>initPolymer()</code> <a href="#msg_
polymer_5">#5</a> {#hashTag}</h2> | 292 <h3 id="polymer_5">Missing call to <code>initPolymer()</code> <a href="#polymer_
5">#5</a></h3> |
292 <p>Your application entry point didn't have any Dart script tags, so it's missin
g | 293 <p>Your application entry point didn't have any Dart script tags, so it's missin
g |
293 some initialization needed for polymer.dart.</p> | 294 some initialization needed for polymer.dart.</p> |
294 <hr /> | 295 <hr /> |
295 | 296 |
296 <h2 id="msg_polymer_6">Script tags with experimental bootstrap <a href="#msg_pol
ymer_6">#6</a> {#hashTag}</h2> | 297 <h3 id="polymer_6">Script tags with experimental bootstrap <a href="#polymer_6">
#6</a></h3> |
297 <p>This experimental feature is no longer supported.</p> | 298 <p>This experimental feature is no longer supported.</p> |
298 <hr /> | 299 <hr /> |
299 | 300 |
300 <h2 id="msg_polymer_7">Multiple Dart script tags per document <a href="#msg_poly
mer_7">#7</a> {#hashTag}</h2> | 301 <h3 id="polymer_7">Multiple Dart script tags per document <a href="#polymer_7">#
7</a></h3> |
301 <p>Dartium currently allows only one script tag per document. Any | 302 <p>Dartium currently allows only one script tag per document. Any |
302 additional script tags might be ignored or result in an error. This will | 303 additional script tags might be ignored or result in an error. This will |
303 likely change in the future, but for now, combine the script tags together into | 304 likely change in the future, but for now, combine the script tags together into |
304 a single Dart library.</p> | 305 a single Dart library.</p> |
305 <hr /> | 306 <hr /> |
306 | 307 |
307 <h2 id="msg_polymer_8">Imports before script tags <a href="#msg_polymer_8">#8</a
> {#hashTag}</h2> | 308 <h3 id="polymer_8">Imports before script tags <a href="#polymer_8">#8</a></h3> |
308 <p>It is good practice to put all your HTML imports at the beginning of the | 309 <p>It is good practice to put all your HTML imports at the beginning of the |
309 document, above any Dart script tags. Today, the execution of Dart script tags | 310 document, above any Dart script tags. Today, the execution of Dart script tags |
310 is not synchronous in Dartium, so the difference is not noticeable. However, | 311 is not synchronous in Dartium, so the difference is not noticeable. However, |
311 Dartium that will eventually change and make the timing of script tags execution | 312 Dartium that will eventually change and make the timing of script tags execution |
312 match how they are in JavaScript. At that point the order of your imports with | 313 match how they are in JavaScript. At that point the order of your imports with |
313 respect to script tags will be important. Following the practice of putting | 314 respect to script tags will be important. Following the practice of putting |
314 imports first protects your app from a future breaking change in this respect.</
p> | 315 imports first protects your app from a future breaking change in this respect.</
p> |
315 <hr /> | 316 <hr /> |
316 | 317 |
317 <h2 id="msg_polymer_9">Missing href on a <code><link></code> tag <a href="
#msg_polymer_9">#9</a> {#hashTag}</h2> | 318 <h3 id="polymer_9">Missing href on a <code><link></code> tag <a href="#pol
ymer_9">#9</a></h3> |
318 <p>All <code><link></code> tags should have a valid URL to a resource.</p> | 319 <p>All <code><link></code> tags should have a valid URL to a resource.</p> |
319 <hr /> | 320 <hr /> |
320 | 321 |
321 <h2 id="msg_polymer_10"><code><element></code> is deprecated <a href="#msg
_polymer_10">#10</a> {#hashTag}</h2> | 322 <h3 id="polymer_10"><code><element></code> is deprecated <a href="#polymer
_10">#10</a></h3> |
322 <p>Long ago <code><polymer-element></code> used to be called <code><ele
ment></code>. You probably ran | 323 <p>Long ago <code><polymer-element></code> used to be called <code><ele
ment></code>. You probably ran |
323 into this error if you were migrating code that was written on a very early | 324 into this error if you were migrating code that was written on a very early |
324 version of polymer.</p> | 325 version of polymer.</p> |
325 <hr /> | 326 <hr /> |
326 | 327 |
327 <h2 id="msg_polymer_11">Definition of a custom element not found <a href="#msg_p
olymer_11">#11</a> {#hashTag}</h2> | 328 <h3 id="polymer_11">Definition of a custom element not found <a href="#polymer_1
1">#11</a></h3> |
328 <p>The polymer build was not able to find the definition of a custom element. Th
is | 329 <p>The polymer build was not able to find the definition of a custom element. Th
is |
329 can happen if an element is defined with a <code><polymer-element></code>
tag, but you are | 330 can happen if an element is defined with a <code><polymer-element></code>
tag, but you are |
330 missing an HTML import or the import link is incorrect.</p> | 331 missing an HTML import or the import link is incorrect.</p> |
331 <p>This warning can also be a false alarm. For instance, when an element is defi
ned | 332 <p>This warning can also be a false alarm. For instance, when an element is defi
ned |
332 programatically using <code>document.registerElement</code>. In that case the po
lymer build | 333 programatically using <code>document.registerElement</code>. In that case the po
lymer build |
333 will not be able to see the definition and will produce this warning.</p> | 334 will not be able to see the definition and will produce this warning.</p> |
334 <hr /> | 335 <hr /> |
335 | 336 |
336 <h2 id="msg_polymer_12">Empty script tag <a href="#msg_polymer_12">#12</a> {#has
hTag}</h2> | 337 <h3 id="polymer_12">Empty script tag <a href="#polymer_12">#12</a></h3> |
337 <p>Script tags should either have a <code>src</code> attribute or a non-empty bo
dy.</p> | 338 <p>Script tags should either have a <code>src</code> attribute or a non-empty bo
dy.</p> |
338 <hr /> | 339 <hr /> |
339 | 340 |
340 <h2 id="msg_polymer_13">Expected Dart mime-type <a href="#msg_polymer_13">#13</a
> {#hashTag}</h2> | 341 <h3 id="polymer_13">Expected Dart mime-type <a href="#polymer_13">#13</a></h3> |
341 <p>You seem to have a <code>.dart</code> extension on a script tag, but the mime
-type | 342 <p>You seem to have a <code>.dart</code> extension on a script tag, but the mime
-type |
342 doesn't match <code>application/dart</code>.</p> | 343 doesn't match <code>application/dart</code>.</p> |
343 <hr /> | 344 <hr /> |
344 | 345 |
345 <h2 id="msg_polymer_14">Expected Dart file extension <a href="#msg_polymer_14">#
14</a> {#hashTag}</h2> | 346 <h3 id="polymer_14">Expected Dart file extension <a href="#polymer_14">#14</a></
h3> |
346 <p>You are using the <code>application/dart</code> mime-type on a script tag, so | 347 <p>You are using the <code>application/dart</code> mime-type on a script tag, so |
347 the URL to the script source URL should have a <code>.dart</code> extension.</p> | 348 the URL to the script source URL should have a <code>.dart</code> extension.</p> |
348 <hr /> | 349 <hr /> |
349 | 350 |
350 <h2 id="msg_polymer_15">Script with both src and inline text <a href="#msg_polym
er_15">#15</a> {#hashTag}</h2> | 351 <h3 id="polymer_15">Script with both src and inline text <a href="#polymer_15">#
15</a></h3> |
351 <p>You have a script tag that includes both a <code>src</code> attribute and inl
ine script | 352 <p>You have a script tag that includes both a <code>src</code> attribute and inl
ine script |
352 text. You must choose one or the other.</p> | 353 text. You must choose one or the other.</p> |
353 <hr /> | 354 <hr /> |
354 | 355 |
355 <h2 id="msg_polymer_16">Incorrect instantiation: missing base tag in instantiati
on <a href="#msg_polymer_16">#16</a> {#hashTag}</h2> | 356 <h3 id="polymer_16">Incorrect instantiation: missing base tag in instantiation <
a href="#polymer_16">#16</a></h3> |
356 <p>When you declare that a custom element extends from a base tag, for example:<
/p> | 357 <p>When you declare that a custom element extends from a base tag, for example:<
/p> |
357 <pre><code><polymer-element name="my-example" extends="ul"> | 358 <pre><code><polymer-element name="my-example" extends="ul"> |
358 </code></pre> | 359 </code></pre> |
359 <p>or:</p> | 360 <p>or:</p> |
360 <pre><code><polymer-element name="my-example2" extends="ul"> | 361 <pre><code><polymer-element name="my-example2" extends="ul"> |
361 <polymer-element name="my-example" extends="my-example2"> | 362 <polymer-element name="my-example" extends="my-example2"> |
362 </code></pre> | 363 </code></pre> |
363 <p>You should instantiate <code>my-example</code> by using this syntax:</p> | 364 <p>You should instantiate <code>my-example</code> by using this syntax:</p> |
364 <pre><code><ul is="my-example"> | 365 <pre><code><ul is="my-example"> |
365 </code></pre> | 366 </code></pre> |
366 <p>And not:</p> | 367 <p>And not:</p> |
367 <pre><code><my-example> | 368 <pre><code><my-example> |
368 </code></pre> | 369 </code></pre> |
369 <p>Only elements that don't extend from existing HTML elements are created using | 370 <p>Only elements that don't extend from existing HTML elements are created using |
370 the latter form.</p> | 371 the latter form.</p> |
371 <p>This is because browsers first create the base element, and then upgrade it t
o | 372 <p>This is because browsers first create the base element, and then upgrade it t
o |
372 have the extra functionality of your custom element. In the example above, using | 373 have the extra functionality of your custom element. In the example above, using |
373 <code><ul></code> tells the browser which base type it must create before | 374 <code><ul></code> tells the browser which base type it must create before |
374 doing the upgrade.</p> | 375 doing the upgrade.</p> |
375 <hr /> | 376 <hr /> |
376 | 377 |
377 <h2 id="msg_polymer_17">Incorrect instantiation: extra <code>is</code> attribute
or missing <code>extends</code> in declaration <a href="#msg_polymer_17">#17</a
> {#hashTag}</h2> | 378 <h3 id="polymer_17">Incorrect instantiation: extra <code>is</code> attribute or
missing <code>extends</code> in declaration <a href="#polymer_17">#17</a></h3> |
378 <p>Creating a custom element using the syntax:</p> | 379 <p>Creating a custom element using the syntax:</p> |
379 <pre><code><ul is="my-example"> | 380 <pre><code><ul is="my-example"> |
380 </code></pre> | 381 </code></pre> |
381 <p>means that the declaration of <code>my-example</code> extends transitively fr
om <code>ul</code>. This | 382 <p>means that the declaration of <code>my-example</code> extends transitively fr
om <code>ul</code>. This |
382 error message is shown if the definition of <code>my-example</code> doesn't decl
are this | 383 error message is shown if the definition of <code>my-example</code> doesn't decl
are this |
383 extension. It might be that you no longer extend from the base element, in which | 384 extension. It might be that you no longer extend from the base element, in which |
384 case the fix is to change the instantiation to:</p> | 385 case the fix is to change the instantiation to:</p> |
385 <pre><code><my-example> | 386 <pre><code><my-example> |
386 </code></pre> | 387 </code></pre> |
387 <p>Another possibility is that the declaration needs to be fixed to include the | 388 <p>Another possibility is that the declaration needs to be fixed to include the |
388 <code>extends</code> attribute, for example:</p> | 389 <code>extends</code> attribute, for example:</p> |
389 <pre><code><polymer-element name="my-example" extends="ul"> | 390 <pre><code><polymer-element name="my-example" extends="ul"> |
390 </code></pre> | 391 </code></pre> |
391 <hr /> | 392 <hr /> |
392 | 393 |
393 <h2 id="msg_polymer_18">Incorrect instantiation: base tag seems wrong <a href="#
msg_polymer_18">#18</a> {#hashTag}</h2> | 394 <h3 id="polymer_18">Incorrect instantiation: base tag seems wrong <a href="#poly
mer_18">#18</a></h3> |
394 <p>It seems you have a declaration like:</p> | 395 <p>It seems you have a declaration like:</p> |
395 <pre><code><polymer-element name="my-example" extends="div"> | 396 <pre><code><polymer-element name="my-example" extends="div"> |
396 </code></pre> | 397 </code></pre> |
397 <p>but an instantiation like:</p> | 398 <p>but an instantiation like:</p> |
398 <pre><code><span is="my-example"> | 399 <pre><code><span is="my-example"> |
399 </code></pre> | 400 </code></pre> |
400 <p>Both the declaration and the instantiation need to match on the base type. So | 401 <p>Both the declaration and the instantiation need to match on the base type. So |
401 either the instantiation needs to be fixed to be more like:</p> | 402 either the instantiation needs to be fixed to be more like:</p> |
402 <pre><code><span is="my-example"> | 403 <pre><code><span is="my-example"> |
403 </code></pre> | 404 </code></pre> |
404 <p>or the declaration should be fixed to be like:</p> | 405 <p>or the declaration should be fixed to be like:</p> |
405 <pre><code><polymer-element name="my-example" extends="span"> | 406 <pre><code><polymer-element name="my-example" extends="span"> |
406 </code></pre> | 407 </code></pre> |
407 <hr /> | 408 <hr /> |
408 | 409 |
409 <h2 id="msg_polymer_19">No dashes allowed in custom attributes <a href="#msg_pol
ymer_19">#19</a> {#hashTag}</h2> | 410 <h3 id="polymer_19">No dashes allowed in custom attributes <a href="#polymer_19"
>#19</a></h3> |
410 <p>Polymer used to recognize attributes with dashes like <code>my-name</code> an
d convert them | 411 <p>Polymer used to recognize attributes with dashes like <code>my-name</code> an
d convert them |
411 to match properties where dashes were removed, and words follow the camelCase | 412 to match properties where dashes were removed, and words follow the camelCase |
412 style (for example <code>myName</code>). This feature is no longer available. No
w simply | 413 style (for example <code>myName</code>). This feature is no longer available. No
w simply |
413 use the same name as the property.</p> | 414 use the same name as the property.</p> |
414 <p>Because HTML attributes are case-insensitive, you can also write the name of | 415 <p>Because HTML attributes are case-insensitive, you can also write the name of |
415 your property entirely in lowercase. Just be sure that your custom-elements | 416 your property entirely in lowercase. Just be sure that your custom-elements |
416 don't declare two properties with the same name but different capitalization.</p
> | 417 don't declare two properties with the same name but different capitalization.</p
> |
417 <hr /> | 418 <hr /> |
418 | 419 |
419 <h2 id="msg_polymer_20">Event handlers not supported here <a href="#msg_polymer_
20">#20</a> {#hashTag}</h2> | 420 <h3 id="polymer_20">Event handlers not supported here <a href="#polymer_20">#20<
/a></h3> |
420 <p>Bindings of the form <code>{{ }}</code> are supported inside <code><templa
te></code> nodes, even outside | 421 <p>Bindings of the form <code>{{ }}</code> are supported inside <code><templa
te></code> nodes, even outside |
421 of <code><polymer-element></code> declarations. However, those bindings on
ly support binding | 422 of <code><polymer-element></code> declarations. However, those bindings on
ly support binding |
422 values into the content of a node or an attribute.</p> | 423 values into the content of a node or an attribute.</p> |
423 <p>Inline event handlers of the form <code>on-click="{{method}}"</code> are a sp
ecial feature | 424 <p>Inline event handlers of the form <code>on-click="{{method}}"</code> are a sp
ecial feature |
424 of polymer elements, so they are only supported inside <code><polymer-element
></code> | 425 of polymer elements, so they are only supported inside <code><polymer-element
></code> |
425 definitions.</p> | 426 definitions.</p> |
426 <hr /> | 427 <hr /> |
427 | 428 |
428 <h2 id="msg_polymer_21">No expressions allowed in event handler bindings <a href
="#msg_polymer_21">#21</a> {#hashTag}</h2> | 429 <h3 id="polymer_21">No expressions allowed in event handler bindings <a href="#p
olymer_21">#21</a></h3> |
429 <p>Unlike data bindings, event handler bindings of the form <code>on-click="{{me
thod}}"</code> | 430 <p>Unlike data bindings, event handler bindings of the form <code>on-click="{{me
thod}}"</code> |
430 are not evaluated as expressions. They are meant to just contain a simple name | 431 are not evaluated as expressions. They are meant to just contain a simple name |
431 that resolves to a method in your polymer element's class definition.</p> | 432 that resolves to a method in your polymer element's class definition.</p> |
432 <hr /> | 433 <hr /> |
433 | 434 |
434 <h2 id="msg_polymer_22">Nested polymer element definitions not allowed <a href="
#msg_polymer_22">#22</a> {#hashTag}</h2> | 435 <h3 id="polymer_22">Nested polymer element definitions not allowed <a href="#pol
ymer_22">#22</a></h3> |
435 <p>Because custom element names are global, there is no need to have a | 436 <p>Because custom element names are global, there is no need to have a |
436 <code><polymer-element></code> definition nested within a <code><polyme
r-element></code>. If you have | 437 <code><polymer-element></code> definition nested within a <code><polyme
r-element></code>. If you have |
437 a definition inside another, move the second definition out.</p> | 438 a definition inside another, move the second definition out.</p> |
438 <p>You might see this error if you have an HTML import within a polymer element. | 439 <p>You might see this error if you have an HTML import within a polymer element. |
439 You should be able to move the import out of the element definition.</p> | 440 You should be able to move the import out of the element definition.</p> |
440 <hr /> | 441 <hr /> |
441 | 442 |
442 <h2 id="msg_polymer_23">Polymer element definitions without a name <a href="#msg
_polymer_23">#23</a> {#hashTag}</h2> | 443 <h3 id="polymer_23">Polymer element definitions without a name <a href="#polymer
_23">#23</a></h3> |
443 <p>Polymer element definitions must have a name. You can include a name by using | 444 <p>Polymer element definitions must have a name. You can include a name by using |
444 the <code>name</code> attribute in <code><polymer-element></code> for exam
ple:</p> | 445 the <code>name</code> attribute in <code><polymer-element></code> for exam
ple:</p> |
445 <pre><code><polymer-element name="my-example"> | 446 <pre><code><polymer-element name="my-example"> |
446 </code></pre> | 447 </code></pre> |
447 <hr /> | 448 <hr /> |
448 | 449 |
449 <h2 id="msg_polymer_24">Custom element name missing a dash <a href="#msg_polymer
_24">#24</a> {#hashTag}</h2> | 450 <h3 id="polymer_24">Custom element name missing a dash <a href="#polymer_24">#24
</a></h3> |
450 <p>Custom element names must have a dash (<code>-</code>) and can't be any of th
e following | 451 <p>Custom element names must have a dash (<code>-</code>) and can't be any of th
e following |
451 reserved names:</p><ul><li><code>annotation-xml</code></li><li><code>color-profi
le</code></li><li><code>font-face</code></li><li><code>font-face-src</code></li>
<li><code>font-face-uri</code></li><li><code>font-face-format</code></li><li><co
de>font-face-name</code></li><li><code>missing-glyph</code></li></ul> | 452 reserved names:</p><ul><li><code>annotation-xml</code></li><li><code>color-profi
le</code></li><li><code>font-face</code></li><li><code>font-face-src</code></li>
<li><code>font-face-uri</code></li><li><code>font-face-format</code></li><li><co
de>font-face-name</code></li><li><code>missing-glyph</code></li></ul> |
452 <hr /> | 453 <hr /> |
453 | 454 |
454 <h2 id="msg_polymer_25">Error while inlining an import <a href="#msg_polymer_25"
>#25</a> {#hashTag}</h2> | 455 <h3 id="polymer_25">Error while inlining an import <a href="#polymer_25">#25</a>
</h3> |
455 <p>An error occurred while inlining an import in the polymer build. This is ofte
n | 456 <p>An error occurred while inlining an import in the polymer build. This is ofte
n |
456 the result of a broken HTML import.</p> | 457 the result of a broken HTML import.</p> |
457 <hr /> | 458 <hr /> |
458 | 459 |
459 <h2 id="msg_polymer_26">Error while inlining a stylesheet <a href="#msg_polymer_
26">#26</a> {#hashTag}</h2> | 460 <h3 id="polymer_26">Error while inlining a stylesheet <a href="#polymer_26">#26<
/a></h3> |
460 <p>An error occurred while inlining a stylesheet in the polymer build. This is | 461 <p>An error occurred while inlining a stylesheet in the polymer build. This is |
461 often the result of a broken URL in a <code><link rel="stylesheet" href="..."
></code>.</p> | 462 often the result of a broken URL in a <code><link rel="stylesheet" href="..."
></code>.</p> |
462 <hr /> | 463 <hr /> |
463 | 464 |
464 <h2 id="msg_polymer_27">URL to a script file might be incorrect <a href="#msg_po
lymer_27">#27</a> {#hashTag}</h2> | 465 <h3 id="polymer_27">URL to a script file might be incorrect <a href="#polymer_27
">#27</a></h3> |
465 <p>An error occurred trying to read a script tag on a given URL. This is often t
he | 466 <p>An error occurred trying to read a script tag on a given URL. This is often t
he |
466 result of a broken URL in a <code><script src="..."></code>.</p> | 467 result of a broken URL in a <code><script src="..."></code>.</p> |
467 <hr /> | 468 <hr /> |
468 | 469 |
469 <h2 id="msg_polymer_28">Attribute missing "_" prefix <a href="#msg_polymer_28">#
28</a> {#hashTag}</h2> | 470 <h3 id="polymer_28">Attribute missing "_" prefix <a href="#polymer_28">#28</a></
h3> |
470 <p>Not all browsers support bindings to certain attributes, especially URL | 471 <p>Not all browsers support bindings to certain attributes, especially URL |
471 attributes. Some browsers might sanitize attributes and result in an | 472 attributes. Some browsers might sanitize attributes and result in an |
472 incorrect value. For this reason polymer provides a special set of attributes | 473 incorrect value. For this reason polymer provides a special set of attributes |
473 that let you bypass any browser internal attribute validation. The name of the | 474 that let you bypass any browser internal attribute validation. The name of the |
474 attribute is the same as the original attribute, but with a leading underscore. | 475 attribute is the same as the original attribute, but with a leading underscore. |
475 For example, instead of writing:</p> | 476 For example, instead of writing:</p> |
476 <pre><code><img src="{{binding}}"> | 477 <pre><code><img src="{{binding}}"> |
477 </code></pre> | 478 </code></pre> |
478 <p>you can write:</p> | 479 <p>you can write:</p> |
479 <pre><code><img _src="{{binding}}"> | 480 <pre><code><img _src="{{binding}}"> |
480 </code></pre> | 481 </code></pre> |
481 <p>For more information, see <a href="http://goo.gl/5av8cU">http://goo.gl/5av8cU
</a>.</p> | 482 <p>For more information, see <a href="http://goo.gl/5av8cU">http://goo.gl/5av8cU
</a>.</p> |
482 <hr /> | 483 <hr /> |
483 | 484 |
484 <h2 id="msg_polymer_29">Attribute with extra "_" prefix <a href="#msg_polymer_29
">#29</a> {#hashTag}</h2> | 485 <h3 id="polymer_29">Attribute with extra "_" prefix <a href="#polymer_29">#29</a
></h3> |
485 <p>A special attribute exists to support bindings on URL attributes. For example
, | 486 <p>A special attribute exists to support bindings on URL attributes. For example
, |
486 this correctly binds the <code>src</code> attribute in an image:</p> | 487 this correctly binds the <code>src</code> attribute in an image:</p> |
487 <pre><code><img _src="{{binding}}"> | 488 <pre><code><img _src="{{binding}}"> |
488 </code></pre> | 489 </code></pre> |
489 <p>However, this special <code>_src</code> attribute is only available for bindi
ngs. If you | 490 <p>However, this special <code>_src</code> attribute is only available for bindi
ngs. If you |
490 just have a URL, use the normal <code>src</code> attribute instead.</p> | 491 just have a URL, use the normal <code>src</code> attribute instead.</p> |
491 <hr /> | 492 <hr /> |
492 | 493 |
493 <h2 id="msg_polymer_30">Internal error: don't know how to include a URL <a href=
"#msg_polymer_30">#30</a> {#hashTag}</h2> | 494 <h3 id="polymer_30">Internal error: don't know how to include a URL <a href="#po
lymer_30">#30</a></h3> |
494 <p>Sorry, you just ran into a bug in the polymer transformer code. Please file a | 495 <p>Sorry, you just ran into a bug in the polymer transformer code. Please file a |
495 bug at <a href="http://dartbug.com/new">http://dartbug.com/new</a> including, if
possible, some example code that | 496 bug at <a href="http://dartbug.com/new">http://dartbug.com/new</a> including, if
possible, some example code that |
496 can help the team reproduce the issue.</p> | 497 can help the team reproduce the issue.</p> |
497 <hr /> | 498 <hr /> |
498 | 499 |
499 <h2 id="msg_polymer_31">Internal error: phases run out of order <a href="#msg_po
lymer_31">#31</a> {#hashTag}</h2> | 500 <h3 id="polymer_31">Internal error: phases run out of order <a href="#polymer_31
">#31</a></h3> |
500 <p>Sorry, you just ran into a bug in the polymer transformer code. Please file a | 501 <p>Sorry, you just ran into a bug in the polymer transformer code. Please file a |
501 bug at <a href="http://dartbug.com/new">http://dartbug.com/new</a> including, if
possible, some example code that | 502 bug at <a href="http://dartbug.com/new">http://dartbug.com/new</a> including, if
possible, some example code that |
502 can help the team reproduce the issue.</p> | 503 can help the team reproduce the issue.</p> |
503 <hr /> | 504 <hr /> |
504 | 505 |
505 <h2 id="msg_polymer_32"><code>@CustomTag</code> used on a private class <a href=
"#msg_polymer_32">#32</a> {#hashTag}</h2> | 506 <h3 id="polymer_32"><code>@CustomTag</code> used on a private class <a href="#po
lymer_32">#32</a></h3> |
506 <p>The <code>@CustomTag</code> annotation is currently only supported on public
classes. If | 507 <p>The <code>@CustomTag</code> annotation is currently only supported on public
classes. If |
507 you need to register a custom element whose implementation is a private class | 508 you need to register a custom element whose implementation is a private class |
508 (that is, a class whose name starts with <code>_</code>), you can still do so by
invoking | 509 (that is, a class whose name starts with <code>_</code>), you can still do so by
invoking |
509 <code>Polymer.register</code> within a public method marked with <code>@initMeth
od</code>.</p> | 510 <code>Polymer.register</code> within a public method marked with <code>@initMeth
od</code>.</p> |
510 <hr /> | 511 <hr /> |
511 | 512 |
512 <h2 id="msg_polymer_33"><code>@initMethod</code> is on a private function <a hre
f="#msg_polymer_33">#33</a> {#hashTag}</h2> | 513 <h3 id="polymer_33"><code>@initMethod</code> is on a private function <a href="#
polymer_33">#33</a></h3> |
513 <p>The <code>@initMethod</code> annotation is currently only supported on public
top-level | 514 <p>The <code>@initMethod</code> annotation is currently only supported on public
top-level |
514 functions.</p> | 515 functions.</p> |
515 <hr /> | 516 <hr /> |
516 | 517 |
517 <h2 id="msg_polymer_34">Missing argument in annotation <a href="#msg_polymer_34"
>#34</a> {#hashTag}</h2> | 518 <h3 id="polymer_34">Missing argument in annotation <a href="#polymer_34">#34</a>
</h3> |
518 <p>The annotation expects one argument, but the argument was not provided.</p> | 519 <p>The annotation expects one argument, but the argument was not provided.</p> |
519 <hr /> | 520 <hr /> |
520 | 521 |
521 <h2 id="msg_polymer_35">Invalid argument in annotation <a href="#msg_polymer_35"
>#35</a> {#hashTag}</h2> | 522 <h3 id="polymer_35">Invalid argument in annotation <a href="#polymer_35">#35</a>
</h3> |
522 <p>The polymer transformer was not able to extract a constant value for the | 523 <p>The polymer transformer was not able to extract a constant value for the |
523 annotation argument. This can happen if your code is currently in a state that | 524 annotation argument. This can happen if your code is currently in a state that |
524 can't be analyzed (for example, it has parse errors) or if the expression passed | 525 can't be analyzed (for example, it has parse errors) or if the expression passed |
525 as an argument is invalid (for example, it is not a compile-time constant).</p> | 526 as an argument is invalid (for example, it is not a compile-time constant).</p> |
526 <hr /> | 527 <hr /> |
527 | 528 |
528 <h2 id="msg_polymer_36">No polymer initializers found <a href="#msg_polymer_36">
#36</a> {#hashTag}</h2> | 529 <h3 id="polymer_36">No polymer initializers found <a href="#polymer_36">#36</a><
/h3> |
529 <p>No polymer initializers were found. Make sure to either | 530 <p>No polymer initializers were found. Make sure to either |
530 annotate your polymer elements with @CustomTag or include a | 531 annotate your polymer elements with @CustomTag or include a |
531 top level method annotated with @initMethod that registers your | 532 top level method annotated with @initMethod that registers your |
532 elements. Both annotations are defined in the polymer library ( | 533 elements. Both annotations are defined in the polymer library ( |
533 package:polymer/polymer.dart).</p> | 534 package:polymer/polymer.dart).</p> |
534 <hr /> | 535 <hr /> |
535 | 536 |
536 <h2 id="msg_polymer_37">Event bindings with @ are no longer supported <a href="#
msg_polymer_37">#37</a> {#hashTag}</h2> | 537 <h3 id="polymer_37">Event bindings with @ are no longer supported <a href="#poly
mer_37">#37</a></h3> |
537 <p>For a while there was an undocumented feature that allowed users to include | 538 <p>For a while there was an undocumented feature that allowed users to include |
538 expressions in event bindings using the <code>@</code> prefix, for example:</p> | 539 expressions in event bindings using the <code>@</code> prefix, for example:</p> |
539 <pre><code><div on-click="{{@a.b.c}}"> | 540 <pre><code><div on-click="{{@a.b.c}}"> |
540 | 541 |
541 </code></pre> | 542 </code></pre> |
542 <p>This feature is no longer supported.</p> | 543 <p>This feature is no longer supported.</p> |
543 <hr /> | 544 <hr /> |
544 | 545 |
545 <h2 id="msg_polymer_38">Private symbol in event handler <a href="#msg_polymer_38
">#38</a> {#hashTag}</h2> | 546 <h3 id="polymer_38">Private symbol in event handler <a href="#polymer_38">#38</a
></h3> |
546 <p>Currently private members can't be used in event handler bindings. So you can
't | 547 <p>Currently private members can't be used in event handler bindings. So you can
't |
547 write:</p> | 548 write:</p> |
548 <pre><code><div on-click="{{_method}}"> | 549 <pre><code><div on-click="{{_method}}"> |
549 </code></pre> | 550 </code></pre> |
550 <p>This restriction might be removed in the future, but for now, you need to mak
e | 551 <p>This restriction might be removed in the future, but for now, you need to mak
e |
551 your event handlers public.</p> | 552 your event handlers public.</p> |
552 <hr /> | 553 <hr /> |
553 | 554 |
554 <h2 id="msg_polymer_39">Private symbol in binding expression <a href="#msg_polym
er_39">#39</a> {#hashTag}</h2> | 555 <h3 id="polymer_39">Private symbol in binding expression <a href="#polymer_39">#
39</a></h3> |
555 <p>Private members can't be used in binding expressions. For example, you can't | 556 <p>Private members can't be used in binding expressions. For example, you can't |
556 write:</p> | 557 write:</p> |
557 <pre><code><div>{{a.b._c}}</div> | 558 <pre><code><div>{{a.b._c}}</div> |
558 </code></pre> | 559 </code></pre> |
559 <hr /> | 560 <hr /> |
560 | 561 |
561 <h2 id="msg_polymer_40">A warning was found while parsing the HTML document <a h
ref="#msg_polymer_40">#40</a> {#hashTag}</h2> | 562 <h3 id="polymer_40">A warning was found while parsing the HTML document <a href=
"#polymer_40">#40</a></h3> |
562 <p>The polymer transformer uses a parser that implements the HTML5 spec | 563 <p>The polymer transformer uses a parser that implements the HTML5 spec |
563 (<code>html5lib</code>). This message reports a | 564 (<code>html5lib</code>). This message reports a |
564 warning that the parser detected.</p> | 565 warning that the parser detected.</p> |
565 <hr /> | 566 <hr /> |
566 | 567 |
567 <h2 id="msg_polymer_41">Possible flash of unstyled content <a href="#msg_polymer
_41">#41</a> {#hashTag}</h2> | 568 <h3 id="polymer_41">Possible flash of unstyled content <a href="#polymer_41">#41
</a></h3> |
568 <p>Custom element found in document body without an "unresolved" attribute on it
or | 569 <p>Custom element found in document body without an "unresolved" attribute on it
or |
569 one of its parents. This means your app probably has a flash of unstyled content | 570 one of its parents. This means your app probably has a flash of unstyled content |
570 before it finishes loading. See <a href="http://goo.gl/iN03Pj">http://goo.gl/iN0
3Pj</a> for more info.</p> | 571 before it finishes loading. See <a href="http://goo.gl/iN03Pj">http://goo.gl/iN0
3Pj</a> for more info.</p> |
571 <hr /></body> | 572 <hr /></body> |
572 </html> | 573 </html> |
OLD | NEW |