Skip to main content

Bug Tracker

Side navigation

#7103 closed bug (duplicate)

Opened September 30, 2010 08:09AM UTC

Closed October 01, 2010 12:39AM UTC

Last modified March 09, 2012 07:53PM UTC

Non-standard CSS property values on IE

Reported by: aivopaas Owned by:
Priority: blocker Milestone: 1.4.3
Component: css Version: 1.4.2
Keywords: css background rgba ie Cc:
Blocked by: Blocking:
Description

Setting rgba and probably other CSS3 property values results in unhandled exception on Internet Explorer.

Test case:

$('<div>RGBA</div>').appendTo('body').css('backgroundColor', 'rgba(0,0,0,0.8)');

Fails on 1.4.2 and latest nightly

Other browsers set background color to the correct value, while IE8 just runs into exception. While IE does not support alpha values on background, maybe colors could be converted to RGB hex values. Support for rgba should be easily feature-detected. Removing alpha value for non-suporting browsers would make it run and not crash. The result would be not as pretty as intended, but we should at least be able to benefit from modern browsers.

Attachments (0)
Change History (1)

Changed October 01, 2010 12:39AM UTC by snover comment:1

resolution: → duplicate
status: newclosed

Duplicate of #5509.