DescriptionMake image set insertion work in more cases
In case there was a background with multiple layers (background: url(...),
url(...);), code would just replace first URL occurrence with -webkit-image-set
rule. Handles multiple layers in case there are only url() functions. Still
won't work if value contains more values than just url()s.
Additionally, use \s for matching white space, so that Windows line endings are
also handled.
And allow line breaks between 'content|background[...]:' and the following
value. Code would previously stop matching if there was a line break between
the colon and the value.
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 11 (0 generated)
|