silverme / base2

Automatically exported from code.google.com/p/base2
0 stars 0 forks source link

Problems with element.style.setProperty() #92

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1.base2.DOM.bind(document); 
2.el.style.setProperty('opacity','0.5',null); 
3.el.style.setProperty('background-color','green',null);  

This should set the opacity to 0.5 and background-color to green. Which it
does on Firefox, Opera and Webkit (Midori and Safari on both Windows XP and
Ubuntu Linux Hardy Heron 8.04). 

However on IE 6 and 7(standalone) you must convert background-color to
camelCase (easy enough to do but it is a bit of a hassle) and you must use
filters to get the opacity. Neither of which work on the other shitty
browsers. I hate you IE.

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

Please provide any additional information below.

Original issue reported on code.google.com by sleek....@gmail.com on 9 Jul 2008 at 9:14

GoogleCodeExporter commented 8 years ago
whoops meant IE was shitty and it really is, not a day goes by when I don't 
hate IE.
The other browsers are great.

Original comment by sleek....@gmail.com on 9 Jul 2008 at 9:18

GoogleCodeExporter commented 8 years ago

Original comment by dean.edw...@gmail.com on 29 Jul 2008 at 6:13