DescriptionRemove some "isImplicit" checks on fonts.
Replace the check in appendFontLonghandValueIfExplicit with a check for
"normal", which is equivalent because the parser fills in all "implicit"
properties in the font longhand with "normal". Removing it would result in
things like:
"italic 20px sans-serif" -> "italic normal normal normal 20px/normal sans-serif".
These condition in fontValue() never matches because the parser always fills in
fontSizeProperty and fontFamilyProperty.
Rename appendFontLonghandValueIfExplicit to appendFontLonghandValueIfNotNormal.
BUG=471917
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198111
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Total comments: 6
Patch Set 5 : #Patch Set 6 : #
Total comments: 2
Patch Set 7 : #Patch Set 8 : #Patch Set 9 : #Patch Set 10 : #Messages
Total messages: 12 (4 generated)
|