css-element-queries icon indicating copy to clipboard operation
css-element-queries copied to clipboard

min-, max- attributes are not HTML standard compliant

Open fabasoft-michael-stedry opened this issue 5 years ago • 3 comments
trafficstars

This library forces the user to use non-standard HTML attributes (eg. min-width, min-height, max-width, max-height) which prevents the resulting software to receive HTML compliance certification.

To alleviate this problem I have created the PR #273 and it works without a hitch for the 1 year we have it in production.

Could you please review and merge it if there is no problem with it? It would be nice to be able to use the official version instead of our fork.

fabasoft-michael-stedry avatar May 11 '20 06:05 fabasoft-michael-stedry

prevents the resulting software to receive HTML compliance certification

Who are you trying to impress with that? I prefer UX over unnecessary pedantic compliance. Custom non-data- attributes will always work in browser engines without complains, so you shouldn't worry about that.

marcj avatar Jul 03 '20 15:07 marcj

Hi Marc, who we are trying to "impress" are the certification auditors, since we want/need our product to be certified. See https://www.fabasoft.com/en/about-us/transparency/certifications-and-audits

Do you have a personal problem with your library being compliant when someone else adds such feature in a backward compatible way?

fabasoft-michael-stedry avatar Jul 06 '20 05:07 fabasoft-michael-stedry

I would appreciate this PR

awacode21 avatar Oct 29 '20 14:10 awacode21