The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Version |
Location |
Description |
Submitted By |
Date submitted |
Date corrected |
Printed |
Page 127
last paragraph |
The phrase "that with mobile web we can create" is repeated (basically).
Note from the Author or Editor: Instead of "We know that with mobile web we can create that with the mobile web we can create full-screen web apps and native apps." it should be "We know that with mobile web we can create full-screen web apps and native apps.", page 127 last paragraph.
|
Jerry Cunningham |
Aug 14, 2015 |
|
PDF |
Page 171
5th Syntax Rule |
The rule reads, "If you really need to define a value, then the same name as the attribute means true while anything else means false;"
This is not correct. Mentioning the attribute makes it true irrelevant of the value you give. CHROME, IE 11 and MOZILLA exhibits this behavior. Even the 2009 version of HTML5 mentions this explicitly here
http://www.w3.org/TR/2009/WD-html5-20090825/infrastructure.html#boolean-attributes
If you find me incorrect please notify via email.
Note from the Author or Editor: The paragraph "If you really need to define a value, then the same name as the attribute means true while anything else means false;" should say "If you really need to define a value, then the same name as the attribute means true while anything else is invalid;"
|
Syed Farooq Ahmed Zaidi |
Apr 19, 2014 |
|
PDF |
Page 259
Figure 8-16 and 8-18 |
I think the images for figure 8-16 and 8-18 need to be switched. figure 8-16 shows app intents as noted in the subtitle for figure 8-18 on page 262.
Note from the Author or Editor: While the images as they are now are still valid, the reader is right; the images seems to be switched as the captions fit better being swapped. They are talking about the same topic on different situations, that's why they are not really invalid as where they are now.
For a future version, swapping Figures 8-16 and 8-18 (but not the captions) is a good idea.
|
Felix Buenemann |
Apr 11, 2013 |
|
Printed |
Page 364
Caption for figure 10-6 |
On page 364 of the 2nd Edition, the caption for Figure 10.6 refers to the "TiltTunnel" game. However, this is a typo and is inconsistent with all other mentions of it. It should be "TunnelTilt".
Note from the Author or Editor: Replace "Tilttunnel" with "TunnelTilt" on Figure 10.6 caption
|
Edward |
Sep 21, 2013 |
|
Printed |
Page 461
|
On page 461 of the 2nd Edition, there is a code sample that illustrates using JavaScript to change the value of the "content" attribute of a meta refresh tag.
The "id" of the given meta tag is "metarefresh", but the code snippet calls the function getElementById("refresh") to retrieve the object.
I believe this is a typo -- "refresh" is the value of the "http-equiv" attribute, but you should use the "id" value of "metarefresh" in your JavaScript code.
Note from the Author or Editor: On source code page 461, replace:
var mr = document.getElementById("refresh");
with
var mr = document.getElementById("metarefresh");
|
Edward |
Sep 21, 2013 |
|
Printed |
Page 473
Penultimate paragraph |
Starting on page 473 of the 2nd Edition, and continuing to page 474, the author makes confusing statements about the "frequency" of JavaScript timers.
On page 473 the author refers to 10ms as a "low frequency for the timer". However, this is the opposite of what he means. It is a low timeout, but indeed a high frequency.
On page 474 the author talks about low-end devices not accepting "timers with a frequency of less than one second". Again, he probably means "timeout", not "frequency".
Interestingly, in the "bear tracks" sidebar about Gmail at the top of page 475, the author switches the proper usage, referring to low frequency as "1 second or more" and high frequency as "for example, 100ms".
Note from the Author or Editor: On page 473, replace "If we use a low frequency for the timer" with "if we use a low value for the timeout"
On page 474 replace "don?t even accept timers with a frequency of less than 1 second." with "don?t even accept timers with a timeout value of less than 1 second.
|
Edward |
Sep 21, 2013 |
|
Printed |
Page 497
Under the "Floating Bars" heading |
On page 497 of the 2nd Edition, a parenthetical aside tells us: "(described in the "Display Properties" on page 404 section in Chapter 11)".
You can see that "section" needs to go before "on page 404", so that it reads: "(described in the "Display Properties" section on page 404 in Chapter 11)".
Note from the Author or Editor: replace
(described in the "Display Properties" on page 404 section in Chapter 11)
with
(described in the "Display Properties" section on page 404 in Chapter 11)
|
Edward |
Sep 21, 2013 |
|