Errata
Errata in the first edition of Web Typography by Richard Rutter.
Page numbers refer to the print edition. The latest version (v1.1.0) of the ebook contains clarifications and corrections to these errata. If you spot a mistake please let me know at errata@webtypography.net. Thank you to those who have already been in touch, in particular Elika Etemad.
Errors
The following are errors in the print edition.
- 
Pages 84, 167, 170The OpenType tag for historical ligatures is hlignothist.
- 
Page 117Removed 1pxfromtext-decorationcode sample as it is not allowed here and should be applied (at some point in the future) using thetext-decoration-widthproperty. The updated code sample is:a { text-decoration: none; border-bottom: 1px solid #ccc; } @supports (text-decoration-skip: ink) { a { text-decoration: underline solid #ccc; text-decoration-skip: ink; border-bottom: 0; } }
- 
Page 122Code sample chemical formula should be subscripts not superscripts. Caffeine<sup>1</sup> is C<sub>8</sub>H<sub>10</sub> N<sub>4</sub>O<sub>2</sub>.
- 
Pages 166, 168, 169The font-variant-alternatesproperty, when used withswash,stylisticandstyleset, requires use of a@font-feature-valuesrule as these are font-specific variants. See completely rewritten section of ebook for a full explanation.
- 
Page 284To use to a variable font as a web font, you should set the file format to truetype-variations, notttf-variationsas stated.Development browsers now support both woff-variationsortruetype-variations, so the font format no longer needs to bewofforttfas stated.Safari 11 on MacOS 10.13 supports variable fonts, as does Mobile Safari on iOS 11. 
Clarifications
The following are clarifications to the print edition.
- 
	Pages 19, 32Corrected that pixels have always been relative to the reference pixel (this was not introduced in CSS2 as stated). 
- 
Page 76Clarified that <meta charset>is HTML5, and added that you can use HTTP headers to set character encodings.
- 
	Pages 107, 108Added details about the hanging-punctuationproperty, including updating the example code:.quoted p:first-of-type::before { margin-left: -0.83ch; } .quoted p { hanging-punctuation: first last; } @supports(hanging-punctuation: first last) { .quoted p:first-of-type::before { margin-left: 0; } }Also updated selectors in the hanging quotes example to cope with multiple paragraphs: .quoted p { quotes: '“' '”' '‘' '’'; } .quoted p:first-of-type::before { content: open-quote; } .quoted p:last-of-type::after { content: close-quote; }
- 
Page 109Tweaked example margin. ol li::before { counter-increment: mylist; content: counter(mylist); margin-left: -1.5em; margin-right: 1em; }
- 
Page 124Replaced vertical-align:inheritwithvertical-align:baseline, as on the off-chance the parent element hasvertical-align:something-else, the example will break. (Thevertical-alignproperty doesn't inherit, so unsetting it uses the initial value, not inheritance.)
- 
Page 170Updated table to better imply that all values of font-variant-alternateexcept forhistorical-formsrequire afeature-value-nameas specified in a@font-feature-valuesrule.
- 
Page 191Clarification: “if your column height extends beyond the viewport”. 
- 
Page 260Added details of system-uigeneric font family. In short, use it ahead of-apple-systemfor a more cross-browser, standards-based approach to specifying the system font.
- 
Page 284Typo in penultimate paragraph: "but none supports". 
- 
Pages 325, 326Additions to CSS index: @font-feature-values,counter(),hanging-punctuation.
