298 Index
em, element, 33
email, input type, 40
embedded content, 71
embedding images, Canvas, 135-141
emptied, event, 99
enableHighAccuracy, attribute
(PositionOptions interface), 191, 200
end
attribute (TimeRanges), 98
keyword (textAlign attribute), 132
ended
attribute (HTMLMediaElement), 98
event, 99
EPSG (European Petroleum Survey Group)
code, Geolocation, 186
error, event, 99
examples
animation with multicolored spheres in
Canvas, 166
bar chart with canvas, 111
Battleships, 239
calculate altitude profiles, 253
chat application, 234
checkered pattern with basic colors, 152
Click to tick!, Web storage, 220
color filters in Canvas, inverting, 147
color filters in Canvas, mono color, 148
color filters in Canvas, sepia, 147
color filters in Canvas, shades of gray, 146
color filters in Canvas, swap channels, 147
color variations with compositing in
Canvas, 151
copying a Canvas graphic into an
HTMLImageElement, 164
CoverFlow effect with Canvas, 161
current position, Geolocation, 194
drag&drop example for reading EXIF
information with FileAPI, 285
drag&drop game 1-2-3-4! (capital cities of
27 EU member states), 273
Figure with figure and figcaption, 29
Geonotes, 197
helper function for circles in Canvas, 125
helper function for converting radians in
degrees, 124
helper function for directional circles in
Canvas, 129
helper function for sectors in Canvas, 125
image montage with Canvas, 139
JavaScript HTML5 audio player, 100
JavaScript HTML5 video player, 86
linear gradient in Canvas, 115
live editing of CSS styles and image sizes, 290
MathML markup, formula for circle
radius, 180
microdata example with several container
elements and itemref, 268
microdata examples, combining hReview,
vEvent, and vCard, 267
microdata Licensing works example, 267
microdata vEvent example with iCal
output, 266
modifying RGBA values in images with
Canvas, 143
pattern with images as source in Canvas, 154
picture collage with mirror effect in pseudo
3D, 160
playing a video in Canvas with
drawImage(), 169
position tracking, 196
radial gradient in Canvas, 116
reading RGBA values in images with
Canvas, 143
rounded corners in Canvas, 122
search for leap years, 251
SVG graphic, circle radius, 182
test application for displaying EXIF
information, 287
test application for drop effects with
drag&drop, 283
text clipping effect with composition in
Canvas, 150
The fictitious HTML5 blog, 20
the three basic Canvas transformations in
combination, 157
EXIF data, reading with JavaScript, 284-287
exif.js, 286
explorercanvas, 176
F
FALLBACK, cache manifest, 213
Feinberg, Jonathan, 9
FFmpeg, 76-80
figcaption, element, 28-29
figure, element, 28
file, input type, use with FileAPI, 284-287
FileAPI, 285
FileList, sequence (FileAPI), 285
files, attribute (FileAPI), 285
fill, attribute (SVG), 182
fill, Canvas, 128
fillRect(), method (drawing context), 111
fillStyle, attribute (drawing context), 113-
114
fillText(), method (drawing context), 134
Firefogg, 79-80