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
In CSS, the trailing terminator (semi-colon) is not required for the last rule. In your code, if the last rule is not terminated with a semi-colon it does not get parsed.
In CSS, the trailing terminator (semi-colon) is not required for the last rule. In your code, if the last rule is not terminated with a semi-colon it does not get parsed.
For instance:
Will be parsed to :
Notice that the rule
stroke-linejoin:round
is missing. However, if I terminate the rule with a semi-colon, it is parse correctly.Yes, it is easy enough to add the semi-colon but when using the package on auto-generated styles it isn't always possible.
I found a work-around by simply replacing the closing
}
with;}
to make sure the last rule is always terminated but this is kind of ugly.The text was updated successfully, but these errors were encountered: