gehuangyi20 / ie7-js

Automatically exported from code.google.com/p/ie7-js
0 stars 0 forks source link

Stylesheets from external hosts not being processed #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Include a stylesheet from an external domain (include www.abc.com/a.css 
inside of www.def.com/b.html)

What is the expected output? What do you see instead?
Expected: The styles from that css should be applied to the page, and 
ie7.js should fix bugs in the css.
Actual: although the css class is included and applied, it is as if ie7.js 
were not on the page, ie7.js is not correcting any of the bugs in the css.

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

Please provide any additional information below.
When ie7.js attempts to download the file with the xml http request, it 
throws an error stating 'Permission Denied' because the executor cannot 
cross hosts, so the css is never processed through ie7.js

Original issue reported on code.google.com by Brya...@gmail.com on 9 Jun 2008 at 2:14

GoogleCodeExporter commented 9 years ago
confirmed, ie8.js does not work with external stylesheets.

Original comment by jaysw...@gmail.com on 17 Aug 2009 at 11:10

GoogleCodeExporter commented 9 years ago
How about sub domains, like having the CSS for www.abc.com on def.abc.com?

Original comment by cre...@gmail.com on 10 Feb 2010 at 9:56

GoogleCodeExporter commented 9 years ago
IE7.js cannot work across domains. It can work across sub-domains if you set 
document.domain property:

http://msdn.microsoft.com/en-us/library/cc196989(VS.85).aspx

Original comment by dean.edw...@gmail.com on 11 Feb 2010 at 2:12

GoogleCodeExporter commented 9 years ago
Issue 172 has been merged into this issue.

Original comment by dean.edw...@gmail.com on 11 Feb 2010 at 6:28