- From: <bugzilla@jessica.w3.org>
- Date: Thu, 20 Feb 2014 22:51:41 +0000
- To: public-webapps@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24756 Bug ID: 24756 Summary: [imports]: Cascading order for stylesheets of imported documents should be stated more clearly Product: WebAppsWG Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: Component Model Assignee: dglazkov@chromium.org Reporter: morrita@google.com QA Contact: public-webapps-bugzilla@w3.org CC: mike@w3.org, public-webapps@w3.org Blocks: 20683 This is follow-up for Bug 24616. The spec states how it should be ordered [1] but it should be clearer. Basically, A) The imported style has tree order, The tree order in the import referrer is defined by the location of <link rel=import>. B) If there are multiple link to the same document, the first one should win. A) is for developer ergonomics. <link rel=stylesheet> works in this way, so import is better to follow the same pattern B) is for eliminating duplication. The "first wins" rule is same as what it does for <script> [1] https://github.com/w3c/webcomponents/commit/600f7bf2f06b2cb5f712fc5dc928085682502941 -- You are receiving this mail because: You are on the CC list for the bug.
Received on Thursday, 20 February 2014 22:51:42 UTC