You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though this is a valid font declaration. But when the line-height is present the output is correct. So using body { font: 14px/28px sans-serif; } as source the property is expanded correctly.
This seems to be a general problem with the getToken and ungetToken methods.
I've encountered an error when trying parse the font shorthand property. E.g.
This outputs and empty body rule in the console.
Even though this is a valid font declaration. But when the
line-height
is present the output is correct. So usingbody { font: 14px/28px sans-serif; }
as source the property is expanded correctly.This seems to be a general problem with the
getToken
andungetToken
methods.The last call might return whitespace even though the skip whitespace argument is set to true, because it reads
this.mLookAhead
.This seems to be causing the error when trying to parse the font property.
Is also seems that the code on github is older than that on npm. Is it possible to sync these?
The text was updated successfully, but these errors were encountered: