Errata

HTML5: The Missing Manual

Errata for HTML5: The Missing Manual

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed, PDF Page xiii
last paragraph

"?, including the mobile browsers than run on Apple and Android devices."

"than" should be "that".

Anonymous  May 05, 2014 

You appear to have the Missing Manual links for first & second editions mixed up

Chris Powell  Nov 26, 2014 
ePub Page epub has no page number
Introduction->What You Need To Get Started->Viewing HTML5-> first sentence

Sentence currently reads:
"You’ll get support for most HTML5 features in the latest version of any modern browser, including the mobile browsers than run on Apple and Android devices"

It should read "...that run..."

Anonymous  May 10, 2015 
PDF Page 8
First paragraph in, "2. Pave the Cowpaths."

"A cowpath is the rough, heavily trodden track that gets people from one point to another," should read, "A cowpath is the rough, heavily trodden track that gets cows from one point to another."

Jeff Tiedeman  May 22, 2014 
Printed Page 49
General

The example cases, ApocalypsePage_Original.html and ApocalypsePage_Revised.html both have this:

<p><span class="LeadIn">Right now</span>, you're probably feeling pretty good. After all, life in
the developed world is comfortable<span class="style1">—</span>probably more comfortable than it's
been for the average human being throughout all of recorded history.</p>

The class style1 is undefined. (i.e. neither in the HTML5 nor the CSS files.)

Daniel Feiglin  Jan 07, 2021 
Printed Page 50
in sidebar at the bottom of the page

Not sure how serious this is but it seems the tinyurl does not work.
tinyurl.com/state-of-the-web

Steve Cornwell  Jan 03, 2018 
Printed Page 97
line 8

... datetime="2014-06-26" > January 26</time>

should be...

... datetime="2014-06-26" > June 26</time>

Dave "Bomber" Harris  Jan 31, 2015 
Printed Page 99
penultimate line

... datetime="PT1H" >40 min</time>

should be...

... datetime="PT1H" > 1 Hour </time>

Dave "Bomber" Harris  Jan 31, 2015 
Printed Page 114
Figure 4-5 2nd and 3rd line

Chrome(Top) should be Chrome (middle) and IE(middle) should be IE(top)

Josh  Jul 08, 2014 
Printed Page 135
5th paragraph 1st line

change:
All in all, <progress> and <scale> are minor conveniences that will be useful once their browser support improves just a bit.

yo <progress> and <meter> are...

Josh  Jul 11, 2014 
Printed Page 192
Linear gradients

background: linear-gradient(from top, white, blue); is incorrect

must be 'to' not 'from' in order for this to work

background: linear-gradient(to top, white, blue); is the correct CSS.

Julie  Apr 13, 2015 
Printed Page 202
1st paragraph

Using scaleX() for the .rotatedElement is a mistake as the text states that it is used to move the text 10px to the left. If that is the case then translateX() should be used. Also if it is to the left then the value should be -10px, not 10px

Jason Duquain  Feb 27, 2016 
Printed Page 234
table 7-1, orientation, commonly used to...

... Change the layout for different orientation on a table computer.

should be...

... Change the layout for different orientation on a tablet computer.

(You're missing the "t" at the end of "tablet".)

Dave "Bomber" Harris  Jan 31, 2015 
Printed Page 279
Gem in the rough: Code

Last line of code is width two times, should be width and height.

Anonymous  Oct 01, 2017 
PDF Page 295
line 5

thix.y = 0;

in function:

function Circle() {
this.x = 0;
thix.y = 0;
this.radius = 15;
}

has to be corrected to be:

this.y = 0;

Miša Lihvarček  Feb 15, 2019 
Printed Page 305
First line of code in drawFrame()

Missing starting curly bracket and comment should be on new line.

Anonymous  Oct 01, 2017 
PDF Page 335
8 lines after NOTE section

readAsArryaBuffer() method

is wrongly typed, it should be:

readAsArrayBuffer() method

Miša Lihvarček  Mar 02, 2019 
Printed Page 337
line 13, second sentence

... It deals will images...

should be...

... It deals with images...

Dave "Bomber" Harris  Jan 31, 2015 
Printed Page 355,356
United States

on page 355 step 7 add + '#newsItem' (no space before #)
s/b add + ' #newsItem' (space before #)

and page 356 in completed code example top of page
+ ' .newsItem' (space before .)
s/b + ' #newsItem' (space before #)

and in the example code complete_load.html

+ ' #newsItem' (space before "#")



  Aug 07, 2014 
Printed Page 356
United States

on page 3 paragraph 2 lines up from step 8

like this: load(url + '#newsItem")
s/b load(url + ' #newItem') // space before the #

  Aug 07, 2014 
Printed Page 384
Code in center of page

This is picky, but since the manual places importance on good form, here is my complaint:

The function previousSlide() tests for (slideNumber == 1) and if so, wraps around to slideNumber 5, otherwise it decrements slideNumber, which is normally fine.

However, the global slideNumber is initialized to zero! If the first button pushed by the user is the Previous button, the code will decrement slideNumber to -1, then -2, and so on, which will be a problem when goToNewSlide() is called. Therefore, I suggest the test be changed to (slideNumber < 2).

Regards,

DC

Dale Crumb  Mar 10, 2014 
PDF Page 396
line 9

Line that says:

socket.onopen = connectionClosed;

is not logical, and it is a mistake.

So the correct version is:

socket.onclose = connectionClosed;

Miša Lihvarček  Apr 01, 2019 
Printed Page 397
Last paragraph (with code at bottom of page)

Error? Maybe. At least very confusing: socket.close() is in a function called connect() which is described in the sentence above it as DISCONNECTION code.

Regards,

DC

Dale Crumb  Mar 10, 2014 
Printed Page 428
Error performing Chinasites.html from download for Chapter 13

A slide does not appear after clicking "Next" of "Previous" repeatedly however clicking "Next" changes the address at the top of the page from
file:///Users/brianpyman/Desktop/Chinasite%2013/ChinaSites.html
to file:///Users/brianpyman/Desktop/Chinasite%2013/ChinaSites1.html
With repeated clicking the number of the slide increments.
In any of these states pressing return produces the appropriate slide.

I am depending on solving this problem to present a Melbourne University course a lecture on cochlear implants. I am keen to have a solution. It is important to have HTML files as I want to use movies not still images.
Thank you
Brian 23/4/2014

Brian Pyman  Apr 23, 2014 
Printed Page 448
Second and third sentence.

The text has <span>, but the example code uses a <p> element.

Bruce Orcutt  Apr 09, 2014 
Printed, PDF Page 458
Figure B-2, italicized text description

Last word should be "image" not "link".

Anonymous  Sep 06, 2014 
Mobi Page 4621
kindle location 4261

the CSS for linear-gradient, under FireFox 28.0 the 'from' keyword is not recognized (see https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient?redirectlocale=en-US&redirectslug=CSS%2Flinear-gradient)

To get the gradients to match those in Chrome display needed to use the following
for gradient2: background: linear-gradient(to left, lightblue, white); and
gradient3: background: linear-gradient(to top, violet 0%, yellow 20%, orange 80%, red 100%);

Jane Griscti  Apr 13, 2014