Repository navigation
Description
Testcases:
All of these are in quirks mode in Firefox, Safari, Chrome, and Edge. In the first three you can just check via the console; in Edge the console seems to be disabled on those file types, but you can use the "DOM Explorer" in devtools to add an onclick="alert(document.compatMode)" attribute on <body> and then click somewhere.
What happens in these cases per spec? The relevant steps for text/plain are https://html.spec.whatwg.org/#read-text and the just create a document object without ever setting its mode, as far as I can tell. Per https://dom.spec.whatwg.org/#concept-document-mode (well, the next paragraph), the default mode is "no-quirks". The tokenizer gets placed in the "PLAINTEXT state", which never hits the parts of the tokenizer that might set quirks-or-not mode. So the document should be standards mode.
Similarly, https://html.spec.whatwg.org/#read-media never sets the mode and never runs the parser, so always ends up in standards mode.
The same applies to https://html.spec.whatwg.org/#read-plugin and https://html.spec.whatwg.org/#read-ua-inline but I don't have good (esp cross-browser) testcases to exercise those.
Activity
Make text/plugin/media/ua-inline no-quirks documents
Make text/plugin/media/ua-inline no-quirks documents