Make pseudo :before and :after elements inherit style from attached
element, as per http://dev.w3.org/csswg/css2/generate.html, rather
than from the parent element.
Merge pull request #2785 from glennw/content-font-size

Make pseudo :before and :after elements inherit style from attached