Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Rewrite CSS in <tag style="..."> #249

Closed
GoogleCodeExporter opened this issue Apr 6, 2015 · 4 comments
Closed

Rewrite CSS in <tag style="..."> #249

GoogleCodeExporter opened this issue Apr 6, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

See http://www.capitalwines.com.au/, which specifies images like:

<td style="background: url(/images/menu_left_bg.jpg) right repeat-y;">

This CSS is not minified and the images are not rewritten. It shouldn't be too 
hard to rewrite them.

Original issue reported on code.google.com by sligocki@google.com on 22 Mar 2011 at 2:04

@GoogleCodeExporter
Copy link
Author

Thanks.  Would be great if the CSS backgrounds could also be data-ified 
(inlined) as per other images when they're less than 
ModPagespeedImgInlineMaxBytes :)

Original comment by dun...@chirp.com.au on 22 Mar 2011 at 2:16

@GoogleCodeExporter
Copy link
Author

We've got that as http://code.google.com/p/modpagespeed/issues/detail?id=240

Original comment by sligocki@google.com on 22 Mar 2011 at 2:29

@GoogleCodeExporter
Copy link
Author

It's easier to do the data: inlining in this case since we don't need to worry 
about having a separate URL when not supported, though. 

(Anyway, mostly just fly-by fixing the title so it doesn't confuse me.)


Original comment by morlov...@google.com on 22 Mar 2011 at 2:32

  • Changed title: Rewrite CSS in

@GoogleCodeExporter
Copy link
Author

Fixed by Matt.

Original comment by sligocki@google.com on 18 Oct 2011 at 2:15

  • Changed state: Fixed
  • Added labels: release-note

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant