[Bug 24349] [imports]: Import documents should always be in no-quirks mode
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24349 Morrita Hajime changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |FIXED --- Comment #27 from Morrita Hajime --- OK, let's do always standard path. https://github.com/w3c/webcomponents/commit/e5c1417f687843eafd38a894d9378f2287a9f793 As Anne mentioned, there are two case to use the mode, and even in Blink, these two are distinguished relatively clearly: The resolution is done by main document's StyleResolver, the parsing is par-document CSSParser. I am still a bit concerning that there could be hacks to break this design discipline, but they are hacks and I'm convinced that paying another complexity for existing complexity is not good idea. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug 24349] [imports]: Import documents should always be in no-quirks mode
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24349 Anne changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- -- You are receiving this mail because: You are on the CC list for the bug.
[Bug 24349] [imports]: Import documents should always be in no-quirks mode
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24349 Morrita Hajime changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |FIXED --- Comment #14 from Morrita Hajime --- OK, this was also discussed briefly at F2F, and I don't see any objection in either way. Basically, people like quirks mode. I made a change that the quirks mode is inherited from the master document and let the document ignore signals from the parser. https://github.com/w3c/webcomponents/commit/38dd0c811f224a389947359fbceeec5cacc6d762 I think this behavior is reasonable, but how it is written can be better. Feel free to reopen/file new bug to discuss more. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug 24349] [imports]: Import documents should always be in no-quirks mode
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24349 Bug 24349 depends on bug 24667, which changed state. Bug 24667 Summary: Want an quirks mode override for HTML parser https://www.w3.org/Bugs/Public/show_bug.cgi?id=24667 What|Removed |Added Status|NEW |RESOLVED Resolution|--- |LATER -- You are receiving this mail because: You are on the CC list for the bug.
[Bug 24349] [imports]: Import documents should always be in no-quirks mode
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24349 Anne changed: What|Removed |Added Status|RESOLVED|REOPENED CC||i...@hixie.ch Resolution|FIXED |--- --- Comment #5 from Anne --- Sorry, I should have done some more research. What I think we want is for the HTML parser to accept an override for quirks mode just as it has for encoding. HTML can then use that override for (rather than special casing that in the parser) and then HTML imports and other specifications that need to parse HTML can use it too. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug 24349] [imports]: Import documents should always be in no-quirks mode
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24349 Morrita Hajime changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |FIXED --- Comment #4 from Morrita Hajime --- (In reply to Anne from comment #3) > That's not the right fix. You're pointing to a document that defines > behavior for when a Document is set to quirks mode. You're not actually > preventing a document from being set to quirks mode. You need a particular > HTML parser invocation and everything else is not needed. OK, so here is another attempt: https://github.com/w3c/webcomponents/commit/38326f265eecee0c9455e7884a2504796fb5b819 As the spec already has aparser invocation, I added a tweak there. I wonder this hits the reasonable extension point of the parser though. Feedback and reopen welcome! -- You are receiving this mail because: You are on the CC list for the bug.
[Bug 24349] [imports]: Import documents should always be in no-quirks mode
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24349 Anne changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- --- Comment #3 from Anne --- That's not the right fix. You're pointing to a document that defines behavior for when a Document is set to quirks mode. You're not actually preventing a document from being set to quirks mode. You need a particular HTML parser invocation and everything else is not needed. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug 24349] [imports]: Import documents should always be in no-quirks mode
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24349 Morrita Hajime changed: What|Removed |Added Status|NEW |RESOLVED CC||morr...@google.com Resolution|--- |FIXED --- Comment #2 from Morrita Hajime --- https://github.com/w3c/webcomponents/commit/f7945a427e467285902951336f5b963682e01875 -- You are receiving this mail because: You are on the CC list for the bug.