Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

rewrite_css should not apply to files with an @import in the middle. #722

Closed

Description

@GoogleCodeExporter
See 
http://www.princesspolly.com.au/HttpCombiner.ashx?s=CSSGlobal&t=text/css&v=20121
1141730

Note the @import in the middle.  This must be created by some other combiner 
and it is not a legal result.  Yet mod_pagespeed will rewrite that CSS file, 
moving the import to the top:

http://www.princesspolly.com.au/A.HttpCombiner.ashx,qs=CSSGlobal,at=text,_css,av
=201211141730.pagespeed.cf.FNJS1LATKX.css

mod_pagespeed should consider this file invalid and avoid applying rewrite_css 
(though fallback_rewrite_css can work).

Original issue reported on code.google.com by jmara...@google.com on 19 Jun 2013 at 3:57

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions