[Bug 24756] [imports]: Cascading order for stylesheets of imported documents should be stated more clearly

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

--- Comment #12 from Gabor Krizsanits <gkrizsanits@mozilla.com> ---
(In reply to Morrita Hajime from comment #7)
> (In reply to Gabor Krizsanits from comment #3)
> Well, right. This is another story how de-dup complicates things and
> I don't have good answer for this either :-(
> Actually same things can be said for <script>.
> So I don't think this is style specific problem.

Could you elaborate on this? I don't see what you mean here...

> 
> Just a random idea: UAs could emit some warning if an import has a
> stylesheet link
> that is de-duped in some unexpected way.

Hmm... this might be a good idea actually, regardless of what we do about
style-sheets! But does not seem to fix all the variation of the problem:

<link href=style.css>
<link href=a.html>

Who comes first? We don't know for sure... Same for inline styles or scripts.
But yeah this is indeed a generic problem for de-duping. (And maybe that's what
you were referring to...) Would it be a stupid idea to introduce/define an
extended version of CompareDocumentPosition and use that to answer all these
questions?

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

Received on Wednesday, 6 August 2014 12:40:39 UTC