JQueryUI css errors

When I load jQueryUI on a computer running Windows XP using Firefox 3.6.3, I get a bunch of css errors:

Error in parsing value for 'filter' Lines 18, 76, 77. Unknown property 'border-top-left-radius' Line 274. Unknown property 'border-top-right-radius' Line 275. unknown property 'zoom' Lines 300,306,336,345,385,408. 

Q: Should I just ignore these errors?

+4
source share
3 answers

The main reason for these CSS errors is that each browser has its own set of CSS properties that the jQuery user interface uses. For instance:

-moz-user-select is only available in Firefox and Mozilla browsers. Equivalent to this property, WebKit-based browsers (e.g. Google Chrome and Safari) have -webkit-user-select .

jQuery UI uses these special CSS properties that are available in different browsers, and it gracefully degrades to zero if the browser does not support this particular property. The jQuery user interface is sure that all of its widgets seem consistent between browsers. And that is why it is safe to avoid such errors without creating visual artifacts.

+5
source

Yes, you must ignore them.

There are attributes to support all browsers, not all CSS are necessarily valid, but they work.

Here you can see the full list of current validation errors (jQuery UI 1.8)

+2
source

Yes. The jQuery user interface uses properties that are not compatible between browsers. Since there is no "logic" in CSS, they should list all the features for all browsers.

These errors are safe to ignore.

+2
source

Source: https://habr.com/ru/post/1306034/


All Articles