viewport-units-buggyfill
viewport-units-buggyfill copied to clipboard
fixed viewportUnitExpression is matching base64 strings
@rodneyrehm check now please
better. But Line 294 uses viewportUnitExpression
without the url test - meaning currently only values in KeyFrames are "safe".
The current solution will fail in situations like background: url(…) 2vw 2vh
. Since url()
can't be nested, we could probably test if a )
comes between url(
and the identified value. If this is done, line 359 would need to be touched as well.