[Bug 24349] [imports]: Import documents should always be in no-quirks mode

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24349

--- Comment #22 from Elliott Sprehn <esprehn@gmail.com> ---
(In reply to Morrita Hajime from comment #21)
> (In reply to Anne from comment #20)
> > The style engine should inherit the mode from a given document. That
> > document already needs to be clear, otherwise referrer and such will be
> > unclear.
> 
> Yes. I agree this is the expected behavior.
> 
> In this case, I'm solely talking about implementation, and I expect there
> are a few places in style resolution code which assume that there is only
> one document associated to the resolution. HTML Imports breaks this
> assumption and causes subtle and hard to diagnose bug. That's what I want to
> avoid.
> 
> That being said, I don't have strong opinion here. We can fix implementation
> bugs after all and it seems like always no-quirks have strong supporters. So
> I'll revise that part.

I don't think we want that complexity in blink. At resolution time we don't
have any knowledge about the document where the CSS rules we're applying came
from, only where the rules are being applied.

We shouldn't make this change if we need to expose the quirks state of the
document with the definition. I don't think we need to though...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 16 April 2014 06:29:57 UTC