You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.
What steps will reproduce the problem?
1. CSS rule for an element with an id with a '.' character in
eg:
#MyForm\.myfield { ... }
<input id="MyForm.myfield" ... />
2. modpagespeed compresses the CSS, and replaces the \. in the rule with .
http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier
Defines this as valid CSS.
What version of the product are you using (please check X-Mod-Pagespeed
header)?
1.0.22.7-2005
On what operating system?
Debian 6 ('Squeeze')
Which version of Apache?
Apache 2.2.16-6+squeeze8 (http://packages.debian.org/squeeze/apache2.2-bin)
URL of broken page:
Sorry, internal dev site.
Original issue reported on code.google.com by Dev.Anu...@gmail.com on 20 Nov 2012 at 4:00
The text was updated successfully, but these errors were encountered:
Oh, I see, this is a problem because #Myform\.myfield specifies id
Myform.myfield, whereas #Myform.myfield specifies id Myform with class myfield.
Thanks for the report, I'll look into this.
Original comment by sligocki@google.com on 20 Nov 2012 at 8:14
I've noticed another problem along similar lines.
When trying to filter by element id in quotes, the quotes are removed, meaning
that the effect is the same again, the rule is treated as ID.class instead of
ID.MOREID
Eg:
input[id="MyFrm.MyField"]
gets compressed to
input[id=MyFrm.MyField]
Original comment by Dev.Anu...@gmail.com on 21 Nov 2012 at 3:17
Original issue reported on code.google.com by
Dev.Anu...@gmail.com
on 20 Nov 2012 at 4:00The text was updated successfully, but these errors were encountered: