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.

CSS selector broken by removing quote #575

@GoogleCodeExporter

Description

@GoogleCodeExporter
From joyce@joycebabu.com:

I am using Bootstrap CSS framework from Twitter for my site. I just noticed 
that bootstrap is breaking some of my css by removing quotes from CSS selectors

Bootstrap uses the following CSS selector for elements with classes beginning 
with icon- prefix

[class^="icon-"],[class*=" icon-"]

ModPagespeed optimizes this into 

[class^=icon-],[class*= icon-]

After this change, Firefox ignores the leading whitespace and starts matching 
classes like thumbnails-icon-list.

Original issue reported on code.google.com by jmara...@google.com on 25 Nov 2012 at 4:45

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