Skip to content

Commit

Permalink
meter => progress, as it is a task process, not a gauge-ey type progress
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Mar 27, 2012
1 parent ad6df8b commit 8eb9d57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demos/dnd-upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#holder.hover { border: 10px dashed #0c0; }
#holder img { display: block; margin: 10px auto; }
#holder p { margin: 10px; font-size: 14px; }
meter { width: 100%; }
meter:after { content: '%'; }
progress { width: 100%; }
progress:after { content: '%'; }
.fail { background: #c00; padding: 2px; color: #fff; }
.hidden { display: none !important;}
</style>
Expand All @@ -16,7 +16,7 @@
<p id="filereader">File API &amp; FileReader API not supported</p>
<p id="formdata">XHR2's FormData is not supported</p>
<p id="progress">XHR2's upload progress isn't supported</p>
<p>Upload progress: <meter id="uploadprogress" min="0" max="100" value="0">0</meter></p>
<p>Upload progress: <progress id="uploadprogress" min="0" max="100" value="0">0</progress></p>
<p>Drag an image from your desktop on to the drop zone above to see the browser both render the preview, but also upload automatically to this server.</p>
</article>
<script>
Expand Down

0 comments on commit 8eb9d57

Please sign in to comment.