NetBSD-Docs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Bugs in new global stylesheet and main page



On 05.08.2012 12:50, Martin Husemann wrote:
> Hey folks,
> 
> since the new navbar happend, my Firefox complains:
> 
> Warning: Expected declaration but found '*'.  Skipped to next declaration.
> Source File: http://netbsd.org/global.css
> Line: 203
> 
> Warning: Unknown property 'zoom'.  Declaration dropped.
> Source File: http://netbsd.org/global.css
> Line: 204

Here they are:

#navBar ul li {
  display: inline-block;
  position: relative;
=>  *display: inline; /* for IE 7 compatibility */
=>  zoom: 1;          /* for IE 7 compatibility */
}

These two are hacks to have a semi-workable display:inline-block with
IE7 (which is completely broken in this regard). Other browsers will
ignore those declaration as they are not standard.

Can be removed: but people looking at the site with IE7 will have a bad
experience.

> Warning: Unknown property 'box-shadow'.  Declaration dropped.
> Source File: http://netbsd.org/
> Line: 1
> 
> Warning: Unknown property 'user-select'.  Declaration dropped.
> Source File: http://netbsd.org/
> Line: 1
> 
> The line 1 ones are a bit strange, as that is the doctype declaration (but
> I am not a web guy, so what do I know)

Properties added by the jsapi for the Google Site Search bar. Firefox
just warns that it does not support these features yet (IIRC they are
part of CSS3).

They are marked as "line 1" because they are inlined to the page.

-- 
Jean-Yves Migeon
jeanyves.migeon%free.fr@localhost


Home | Main Index | Thread Index | Old Index