Status: New
Owner: felix8a
Labels: Type-Defect Priority-Medium

New issue 1781 by felix8a: css @import in es5 creates weird stylesheets
http://code.google.com/p/google-caja/issues/detail?id=1781

afaict, this is harmless, but odd.

ant brserve, then load
http://localhost:8000/ant-testlib/com/google/caja/plugin/browser-test-case.html?test-case=es53-test-css-imports-guest.html&es5=true

examine the guest document structure.

1. there are two <style> blocks where the source doc only has one
2. the <style> blocks have redundant declarations:

.caja-guest-0___ .shouldbetwo{background-color:#000002;}
.caja-guest-0___ .overrideinorder{background-color:#999999;}
.caja-guest-0___ .shouldbezero{background-color:#000000;}
.caja-guest-0___ .overrideinorder{background-color:#000004;}

.caja-guest-0___ .shouldbetwo{background-color:#000002;}
.caja-guest-0___ .overrideinorder{background-color:#999999;}
.caja-guest-0___ .nonstandard{background-color:#000007;}
.caja-guest-0___ .shouldbezero{background-color:#000000;}
.caja-guest-0___ .overrideinorder{background-color:#000004;}

I expect just the second stanza, not the first.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to