3.2.0

CSS errors using AW 2.0 in Firefox 1.5

When using AW 2.0 in Firefox 1.5, the javascript console reports many CSS errors like the following:

Error: Unknown property 'box-sizing'.  Declaration dropped.
Source File: common/site.css Line: 2
Error: Unknown property 'filter'.  Declaration dropped.
Source File: common/site.css Line: 23


Although these errors don't seem to affect the grid, they make it more difficult to find and debug actual javascript or css problems. And I know the errors will make my customers nervous. There were far fewer css errors like these in AW 1.0 so they were easier to avoid.

Is there a firefox-safe version of the aw.css file? My html pages containing the AW grid are jsp-generated, so I could specify a browser-specific css file at runtime. Any other suggetsions?

CK
April 3,
As far as I understand these are not CSS errors - these are Firefox errors :-)

For some reason FF 1.5 reports CSS properties which it does not understand as errors (these are perfectly correct CSS properties in other browsers).

You can try alternative FF console which supposedly fixes this -

http://forums.mozillazine.org/viewtopic.php?t=318102
https://addons.mozilla.org/extensions/moreinfo.php?id=1815&application=firefox

For a really nervous client you can use CSS files coming with firefox-only trial version -

http://www.activewidgets.com/download/activewidgets-2.0.0-trial.zip

Alex (ActiveWidgets)
April 3,
Thanks Alex, I used the aw.css from the firefox-only zip, and now there is only one css "error" in the FF console:

Error: Unknown property 'scrollbar-arrow-color'.  Declaration dropped.
Source File: styles/classic/aw.css Line: 45


And if I use xp style rather than classic, there are no errors!

In the future, it would be great if the commercial release included the FF-only css files. Is that your plan? That would be much more convenient than editing the css files myself.

thanks again
CK
April 3,
Hmmm... has the download referenced above changed? ( http://www.activewidgets.com/download/activewidgets-2.0.0-trial.zip )

I downloaded and have been testing, but haven't had any luck. The download doesn't include the xp folder under \styles and I'm still getting muliple css warnings with classic (more than just the one reported by CK).

I also had to change my doc type from:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
to
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
to make the grid and tree control I have work at all. Css warnings are still produced and the tree doesn't seem to be obeying the height (it is being layered over the top of the other elements I have below it.

Is there any other alternate for firefox or do you suggest manually changing the style sheet that is included for firefox to eliminate the "problem" entries?

Thanks!
SM
December 4,

This topic is archived.

See also:


Back to support forum