gehuangyi20 / ie7-js

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

'px' is undefined (ie6 bug) #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
CSS docs that use ie expressions will reproduce this error...

* html .selector {
height: expression((document.body.scrollHeight >
document.documentElement.scrollHeight ? document.body.scrollHeight :
document.documentElement.scrollHeight) > document.body.offsetHeight ?
(document.body.scrollHeight > document.documentElement.scrollHeight ?
document.body.scrollHeight : document.documentElement.scrollHeight) :
document.body.offsetHeight + 'px');
}

Original issue reported on code.google.com by makin...@gmail.com on 21 Feb 2008 at 8:35

GoogleCodeExporter commented 9 years ago
IE7 is not compatible with other hacks such as the "star html" hack.

Original comment by dean.edw...@gmail.com on 21 Feb 2008 at 9:08

GoogleCodeExporter commented 9 years ago
Isn't there a way for ie7-js to ignore hacks?

Original comment by makin...@gmail.com on 21 Feb 2008 at 9:13

GoogleCodeExporter commented 9 years ago
I'm not going to code around other hacks.

I'll think about a way to exclude certain style sheets. You can raise a separate
issue for that if you like.

Original comment by dean.edw...@gmail.com on 21 Feb 2008 at 9:29