kissyteam / kissy

A Powerful Collection Of Modules
http://docs.kissyui.com
2.7k stars 863 forks source link

dom: css opacity bug in ie and empty bug in chrome #231

Closed yiminghe closed 12 years ago

yiminghe commented 12 years ago

KISSY Version :

<1.3

Browsers :

all

What steps will reproduce the problem?

<style>
#t {
  opacity:0.5;
  filter:alpha(opacity=50);
}
</style>
<body>
<div id='t'>
</div>
</body>
  DOM.css('#t','opacity','');
  KISSY.log(DOM.css('#t','opacity'));
  KISSY.log(DOM.html('body'));     

Expected

0.5

<div id='t'></div>

actual

ie<9: 1

<div id='t'></div>

chrome: 0.5

<div id='t' style=''></div>
yiminghe commented 12 years ago

http://bugs.jquery.com/ticket/12685

yiminghe commented 12 years ago

https://github.com/jquery/jquery/commit/c78a3ba6577b6735137abcd5c01a35ca28c33660