The issue is that we track the 1em as a custom reference and thus fail to compute the color. But in this case 1em is not a valid value and we should fall back to the initial value. Differential Revision: https://phabricator.services.mozilla.com/D216030