The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

mavanderpol (2) [Avatar] Offline
#1
Table 3.1 lists classes as having score 10 but the following specificity calculations seem to treat the classes as having score 100.

The scores should be:
10 pts - one class selector
11 points - one class selector, one element selector
20 points - two class selectors
benvinegar (68) [Avatar] Offline
#2
Re: 3.3.2 Specificity Calculations don't match table
I actually updated this section to use tuples (0, 1, 0, 0) instead of integer scores (i.e. 100). This is how the spec actually defines specificity.

I'll double-check the values in case I didn't fix them during the re-write. Thanks.
benvinegar (68) [Avatar] Offline
#3
Re: 3.3.2 Specificity Calculations don't match table
Yeah, just coming back to this - looks like I spotted the incorrect values, and they're fixed in the current version of the MEAP.