-
This page lists errata from the book (hopefully not too much!), changes to the specifications since publication, and brand new features.
Categories
The paragraph on p20 which reads:
“This syntax tests that both expressions are matched before applying the selected rules. For example, to make sure all permutations of widescreen are covered, as mentioned in the previous section, you would create this query:“
Should read
“This syntax tests that both expressions are matched before applying the selected rules. For example, to test for a small screen in 16:9 widescreen format you could create this query:“
And the code example should read:
@media only screen and (aspect-ratio: 16/9) and (max-device-width: 800px) { rules }
— 8 June, 2011