[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 #11 from Morrita Hajime <morrita@google.com> ---
(In reply to Morrita Hajime from comment #10)
> (In reply to Boris Zbarsky from comment #9)
> There is section 8.1 "Additions to Prepare A Script Algorithm" which
> addresses later. Probably we should elaborate that section.
> Let me see.
OK, I re-read what I wrote there. It says:

> ... and the Document of the HTML parser or XML parser that created the script element has a style sheet that is blocking scripts or has an import that is blocking scripts

I think this is sufficient.

Note that 
- "An import that is blocking scripts" is defined in section 5.
  The gist is that the script should be able to see everything preceding it as
  such predecessors block the script execution.
- An import is considered being loaded after all of its stylesheets are loaded
  (as defined in HTML standard) and its imports are loaded.
  I agree that later isn't super clear. Here is an attempt for the
clarification.
 
https://github.com/w3c/webcomponents/commit/3180b07749ff7a1f8d60460fd27538a6f7bbc674

Probably I overlook some cases that aren't clear.
Please let me know if you see any.

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

Received on Tuesday, 5 August 2014 02:37:12 UTC