DocumentType does not need to know about quirks mode

TSIA. Closes #1498.