[Dojo-interest] CSS syntax errors in various dojo CSS files
Peter E Higgins
dante at dojotoolkit.org
Wed Jul 15 16:52:55 EDT 2009
While some of them are "hacks" we should be avoiding, most of them are
intentional. the vendor-specific tags are acceptable. Generally, the CSS
"warnings" are just that. They typically do not affect rendering. If we
have a mis-spelled key or something, that would show up as well, but the
visual effect of that would be mostly obvious.
I typically just turn off all Firebug-CSS-related warning messages and
go on my merry way.
Regards,
Peter
Earl Hood wrote:
> I recently upgraded to FF 3.5 and FB 1.4. FB is reports CSS syntax
> errors against dojo toolkit 1.3.1 release.
>
> Unsure of the real effect of these errors since they probably depend
> on how well a browser recovers from CSS syntax errors.
>
> Should a formal bug report be filed or are these errors a known
> problem?
>
> The following is the list of errors I received. Copy-n-pasting from
> FB console is kind of ugly so one may want to run things directly:
>
> Unknown property '-moz-opacity'. Declaration dropped.
> -moz-opacity: 0.6;\n
> soria.css (line 431)
>
> Error in parsing value for 'filter'. Declaration dropped.
> filter: Alpha(Opacity=60);\n
> soria.css (line 433)
>
> Expected declaration but found '#background-image'. Skipped to next declaration.
> #background-image:url(images/preciseSliderThumbFocus.gif);\n
> soria.css (line 742)
>
> Expected declaration but found '#background'. Skipped to next declaration.
> #background:url(images/sliderThumb.gif) no-repeat center center;\n
> soria.css (line 762)
>
> Expected declaration but found '#background-image'. Skipped to next declaration.
> #background-image:url(images/sliderThumbFocus.gif);\n
> soria.css (line 767)
>
> Expected declaration but found '#background'. Skipped to next declaration.
> #background:url(images/spriteRoundedIconsSmall.gif) no-repeat -45px top;\n
> soria.css (line 782)
>
> Expected declaration but found '#background'. Skipped to next declaration.
> #background:url(images/spriteRoundedIconsSmall.gif) no-repeat -30px top;\n
> soria.css (line 788)
>
> Expected declaration but found '#background'. Skipped to next declaration.
> #background:url(images/spriteRoundedIconsSmall.gif) no-repeat -15px top;\n
> soria.css (line 796)
>
> Expected declaration but found '#background'. Skipped to next declaration.
> #background:url(images/spriteRoundedIconsSmall.gif) no-repeat 0px top;\n
> soria.css (line 800)
>
> Error in parsing value for 'filter'. Declaration dropped.
> filter: gray() alpha(opacity=40);\n
> soria.css (line 812)
>
> Unknown property 'zoom'. Declaration dropped.
> zoom: 1; \n
> soria.css (line 818)
>
> Expected color but found 'none'. Error in parsing value for 'background-color'. Declaration dropped.
> background-color: none !important;\n
> soria.css (line 824)
>
> Expected color but found 'invert'. Expected end of value but found 'invert'. Error in parsing value for 'outline'. Declaration dropped.
> outline: 1px invert dotted;\n
> soria.css (line 860)
>
> Unknown property 'zoom'. Declaration dropped.
> zoom: 1;\n
> soria.css (line 988)
>
> Expected color but found '#3243C5F'. Error in parsing value for 'color'. Declaration dropped.
> color: #3243C5F;\n
> soria.css (line 1241)
>
> Error in parsing value for 'top'. Declaration dropped.
> top: expression(eval((document.documentElement||document.body).scrollTop));\n
> soria.css (line 1425)
>
> Expected declaration but found '*'. Skipped to next declaration.
> *font-size: 75%;\n
> dojo.css (line 24)
>
> Expected declaration but found '*'. Skipped to next declaration.
> *font-size:100%;\n
> dojo.css (line 69)
>
> Error in parsing value for 'background'. Declaration dropped.
> background: #D8E8F9 url(../../../dijit/...tabDisabled.png) #ddd no-repeat center;\n
> tundraGrid.css (line 354)
>
> Expected declaration but found '#zoom'. Skipped to next declaration.
> #zoom: 1; \n
> dijit.css (line 15)
>
> Expected declaration but found '#display'. Skipped to next declaration.
> #display:inline; \n
> dijit.css (line 16)
>
> Expected declaration but found '#vertical-align'. Skipped to next declaration.
> #vertical-align: auto; \n
> dijit.css (line 20)
>
> Expected declaration but found '#zoom'. Skipped to next declaration.
> #zoom: 1; \n
> dijit.css (line 46)
>
> Expected declaration but found '#display'. Skipped to next declaration.
> #display:inline; \n
> dijit.css (line 47)
>
> Unknown property 'box-sizing'. Declaration dropped.
> box-sizing: content-box; -moz-box-sizing: content-box;\n
> dijit.css (line 48)
>
> Expected declaration but found '#zoom'. Skipped to next declaration.
> #zoom:1;\n
> dijit.css (line 71)
>
> Expected declaration but found '#display'. Skipped to next declaration.
> #display:inline; \n
> dijit.css (line 182)
>
> Expected declaration but found '#vertical-align'. Skipped to next declaration.
> #vertical-align: auto;\n
> dijit.css (line 222)
>
> Unknown property 'zoom'. Declaration dropped.
> zoom: 1;\n
> dijit.css (line 238)
>
> Expected declaration but found '#overflow'. Skipped to next declaration.
> #overflow:hidden; \n
> dijit.css (line 289)
>
> Expected declaration but found '#overflow'. Skipped to next declaration.
> #overflow: hidden; \n
> dijit.css (line 300)
>
> Expected declaration but found '#vertical-align'. Skipped to next declaration.
> #vertical-align: auto; \n
> dijit.css (line 303)
>
> Expected color but found 'auto'. Expected color but found '-webkit-focus-ring-color'. Expected end of value but found '-webkit-focus-ring-color'. Error in parsing value for 'outline'. Declaration dropped.
> outline: auto 5px -webkit-focus-ring-color;\n
> dijit.css (line 318)
>
> Error in parsing value for 'filter'. Declaration dropped.
> filter: alpha(opacity=0);\n
> dijit.css (line 386)
>
> Unknown property 'resize'. Declaration dropped.
> resize: none;\n
> dijit.css (line 517)
>
> Error in parsing value for 'filter'. Declaration dropped.
> filter: alpha(opacity=0);\n
> dijit.css (line 552)
>
> Unknown property '-moz-opacity'. Declaration dropped.
> -moz-opacity: 0.5;\n
> dijit.css (line 599)
>
> Error in parsing value for 'filter'. Declaration dropped.
> filter: Alpha(Opacity=50);\n
> dijit.css (line 601)
>
> Error in parsing value for 'filter'. Declaration dropped.
> filter: alpha(opacity=35);\n
> dijit.css (line 775)
>
> Expected declaration but found '#zoom'. Skipped to next declaration.
> #zoom: 1; \n
> dijit.css (line 891)
>
> Expected declaration but found '#display'. Skipped to next declaration.
> #display:inline; \n
> dijit.css (line 892)
>
> Error in parsing value for 'filter'. Declaration dropped.
> filter: alpha(opacity=50);\n
> dijit.css (line 992)
>
> Error in parsing value for 'top'. Declaration dropped.
> top: expression(eval((document.documentElement||document.body).scrollTop));\n
> dijit.css (line 1215)
>
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://dojotoolkit.org/docs/book
> Forums: http://dojotoolkit.org/forum
> Dojo-interest at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>
>
--
Peter E Higgins
Dojo Project Lead : http://dojotoolkit.org
More information about the Dojo-interest
mailing list