CSS Minify/Combine breaks clip-path
-
Hi,
When using clip-path set to an ID on the page, the CSS minify and/or combine options break it by changing it to a relative path.
Like this:
.my-selector-with-clip-path { clip-path: url(#my-object); }
Turns into:
.my-selector-with-clip-path { clip-path: url(wp-content/PATH-TO-THE-STYLESHEET-DIRECTORY-WITH-THE-RULE/#my-object); }
Correct behavior would be to leave it alone. I’ve narrowed this down to know that it happens as soon as CSS minify or combine is active.
I can’t see any other way than to disable CSS minification for now, but would like to see a fix.
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘CSS Minify/Combine breaks clip-path’ is closed to new replies.