Closed (works as designed)
Project:
GMap Module
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2006 at 01:00 UTC
Updated:
19 Sep 2007 at 00:26 UTC
I have a partial understanding of CSS. The module gives an error, but seems to work. The error message is:
Error: Expected ',' or '{' but found '*'. Ruleset ignored due to bad selector.
Source File: http://www.sefellows.org/modules/gmap/gmap.css
Line: 1
The ruleset in question is:
v\:* {
behavior:url(#default#VML);
}
Any thoughts or help would be appreciated.
Thanks,
Don
Comments
Comment #1
BachusII commentedIt's a slightly dubious hack to use namespaces.
I can confirm that this is the same for all Gecko based browsers I have access to, on both linux and windows systems.
Fortunately, the declaration is only necessary for IE. (AFAIK)
In that case we might be able to include it using conditional comments.
Perhaps;
Otherwise we'll have to put that declaration in a separate file and use some browserchecking to decide if/when to include it. (
= IE && !Opera)Or we could just live with this error. :-P
Comment #2
webgeer commentedIt should probably be noted that this hack is recommended by Google and not unique to this module.
see: http://www.google.com/apis/maps/documentation/#XHTML_and_VML
Comment #3
bdragon commentedSee http://googlemapsapi.blogspot.com/2006/09/vml-security-issue.html for more information about this.
(I just added a pointer to this in the CSS file too, on DRUPAL-5.)
Also, a standards compliant CSS parser will drop unknown rules, so this is only an asthetic issue.