Skip Menu |

This queue is for tickets about the CSS-Minifier-XS CPAN distribution.

Report information
The Basics
Id: 97574
Status: new
Priority: 0/
Queue: CSS-Minifier-XS

People
Owner: Nobody in particular
Requestors: dnebdal [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.09
Fixed in: (no value)



Subject: Spaces before colons in selectors are meaningful
Given this CSS: #test :link, #test :visited {color: green} The current minified CSS is: #test:link,#test:visited{color:green} That doesn't mean exactly the same, though - the original is "elements that are links within an element with id 'test'", while the minified only applies to an element if it has both the id 'test' and is a link. In other words, whitespace before a colon in selectors is, sadly, meaningful (but can be collapsed to a single space).