Bug 47752: font-family: cursive and fantasy rendered as sans-serif

This 1st sentence should be rendered in a sans-serif font.

This 2nd sentence should be rendered in a cursive font.

This 3rd sentence should be rendered in a fantasy font.