Normally srcdoc documents default to standards mode, but they can end up in quirks mode with a sufficiently nutty DocType.