[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 #3 from Gabor Krizsanits <gkrizsanits@mozilla.com> ---
Right, now I have a little concern about this definition, although I could not
come up with anything better yet. So the problem is that we let's say
parsing/building two imports in sort of parallel. We determine their position
to each other in the import graph, and adding their stylesheets to the document
accordingly. Then when we find a link import that changes their order in the
import graph, we will have to look up all their sheets from the document and
reorder them. This is kind of suboptimal...

It is also a bit concerning that if someone sees <link rel=import id=A><link
rel=import id=B> in a document, one would think that style sheets of A will
come before the ones of B, while this can be totally change any time one
imports B in some other part of the import tree... This is not just a bit
counter-intuitive but also hurts encapsulation somewhat. Then again I could not
find a better definition yet, just want to put my concerns out there for now.
Thoughts?

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

Received on Wednesday, 30 July 2014 12:49:13 UTC