tapir-dream / compatibility-detector

Automatically exported from code.google.com/p/compatibility-detector
Apache License 2.0
2 stars 5 forks source link

chrome_comp.hasLayoutInIE throw errors #148

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open http://bangpai.taobao.com/group/thread/185241-684595.htm.

What is the expected output?
1. The detector should not throw the error.

What do you see instead?
1. The detector throw some errors in chrome_comp.hasLayoutInIE when detecting 
the invisible elements.

What version of the product are you using? On what operating system?
Win7 + Chrome 11.0.672.2 dev

Please provide any additional information below.

Original issue reported on code.google.com by luyua...@beyondsoft.com on 3 Mar 2011 at 5:40

GoogleCodeExporter commented 9 years ago
If there is no cached value or there is no specified node, we just return the 
empty object.

if (!ele || !ele[chrome_comp.SPECIFIED_VALUE])
  return {};

Original comment by luyua...@beyondsoft.com on 3 Mar 2011 at 6:07