W3 CSS validation error
W3 CSS validation error
I am using the validation service from https://jigsaw.w3.org/css-validator/validator
and for the script line
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/t/dt/jq-2.2.0,dt-1.10.11/datatables.min.css"/>
I get the below validation errors:
URI : https://cdn.datatables.net/t/dt/jq-2.2.0,dt-1.10.11/datatables.min.css
13 table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc Parse Error ;cursor:hand}
13 .dataTables_wrapper Parse Error ;zoom:1;
13 Parse Error [:1}.dataTables_wrapper .dataTables_length]
13 .dataTables_wrapper .dataTables_paginate .paginate_button Parse Error ;cursor:hand;
13 .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover Parse Error [:#333 !important;border:1px solid transparent;border-radius:2px}.dataTables_wrapper .dataTables_paginate .paginate_button.current]
13 .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody Parse Error {margin-top:-1px;
13 Unknown pseudo-element or pseudo-class :touch
13 -webkit-overflow-scrolling Parse Error touch}
Is this a know issue, documented anywhere?
I have to justify the above errors for my work and hoping to find if there's an article on this as an existing issue.
Thanks,
-Sri
Answers
Hi Sri,
The issues you've highlighted are effectively hacks to support older browsers (DataTables core supports IE6+ currently, hence the use of
zoom:1
etc). So these are known and expected at this time.With the next major update only IE8+ will be supported, so these will be removed at that point.
Allan