change to make code work for both tinycss2 v0.4 and v0.5