DescriptionMake style building for 'font-family' less custom.
This patch changes style building for 'font-family', such that the
CSSValue -> FontFamily conversion happens on the outside, rather than
passing the CSSValue directly to the FontBuilder. This aligns building
of 'font-family' more with how everything else works, and also removes the
final dependency on CSSValue in FontBuilder.
The in-flight struct FontDescription::FamilyDescription is used to
transfer FontFamily+GenericFamilyType from StyleBuilder::applyProperty to
FontBuilder.
Note: The unrelated FIXME was intentionally removed. I don't consider it
valid (at least not anymore).
R=dglazkov@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182839
Patch Set 1 #
Total comments: 1
Patch Set 2 : Init genericFamily in all cases. #
Messages
Total messages: 15 (5 generated)
|