Open agnelvishal opened 6 years ago
As per html validator at https://validator.w3.org/check?uri=ncase.me%2Ftrust&charset=%28detect+automatically%29&doctype=Inline&group=0 "html" needs to be mentioned in doctype. But adding <!doctype html> seems to cause css rendering issues.
Omitting the html from the DOCTYPE forces the browser into so-called "quirks mode". The current implementation relies on some quirks, namely "unitless length quirk" values. This could be a mistake.
html
DOCTYPE
Quirks Mode on MDN Quirk examples
As per html validator at https://validator.w3.org/check?uri=ncase.me%2Ftrust&charset=%28detect+automatically%29&doctype=Inline&group=0 "html" needs to be mentioned in doctype. But adding <!doctype html> seems to cause css rendering issues.