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

Images inlined for CSS inlines in HTML even when CssImageInlineMaxBytes is zero #650

GoogleCodeExporter opened this issue Apr 6, 2015 · 1 comment


Copy link

What steps will reproduce the problem?

1. Set CssImageInlineMaxBytes to zero.
2. Leave ImageInlineMaxBytes at the default of 2048.
3. Load a page that has inline CSS with images smaller than 2048 bytes.

What is the expected output? What do you see instead?

    The images should not inline, however, they do.

Please use labels and text to provide additional information.

The prioritize_critical_css needs to have image inlining applied consistently 
between CSS inlined in HTML and external CSS files.

Proposal: In inline CSS, only inline an image if it is smaller than both 
ImageInlineMaxBytes and CssImageInlineMaxBytes.

The planned fix will also update the documentation.

Original issue reported on by on 19 Mar 2013 at 4:22

Copy link

Fixed in r2631.

Original comment by on 19 Mar 2013 at 9:40

  • Changed state: Fixed

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

No branches or pull requests

1 participant