buntarb / closure-stylesheets

Automatically exported from code.google.com/p/closure-stylesheets
Apache License 2.0
0 stars 0 forks source link

Renaming can rename to a class already used #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. pick a stylesheet
2. somewhere in that stylesheet put a class called 'a'
3. put a in --exluded-classes-from-renaming

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

it is expected that no class will be renamed to 'a' as it is already in use

What version of the product are you using? On what operating system?

the latest

Please provide any additional information below.

came across this when adblock was hiding our site because 'body' was being 
renamed to 'Ad' which was in the filters. Tried creating a class called 'Ad' 
but that was being renamed and body was still 'Ad' so added it to the exclude 
renaming but would be worse as 'body' was still 'Ad' and now we have two class 
definitions for 'Ad'

Original issue reported on code.google.com by rhysbret...@gmail.com on 31 Aug 2012 at 9:02