better-details-polyfill icon indicating copy to clipboard operation
better-details-polyfill copied to clipboard

styles should not be included if browser supports details natively

Open ffuubarbuzz opened this issue 9 years ago • 3 comments

Here https://github.com/chemerisuk/better-details-polyfill/blob/master/dist/better-details-polyfill.js#L82 styles should not be included if browser supports details natively

ffuubarbuzz avatar Jul 16 '15 11:07 ffuubarbuzz

@ThiRaBrTNK they should, to normalize the element presentation in all browsers

chemerisuk avatar Jul 17 '15 11:07 chemerisuk

Obviously, it's only your choice, but in my opinion styles normalisation looks like work for normalize.css. better-details-polyfill styles even makes native chrome's details worse, clicking arrow doesn't trigger details switch. Personally, I'd prefer native implementations have their own styles and polyfill styling only polyfill.

ffuubarbuzz avatar Jul 17 '15 12:07 ffuubarbuzz

I agree with ThiRaBrTNK. This is a polyfill after all.

smohadjer avatar May 14 '16 19:05 smohadjer