<!doctype html> is right and not <!doctype>
Opened this issue · 1 comments
agnelvishal commented
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.
L1Q commented
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.