W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2015

[Bug 28522] New: [Shadow] Cascading for trees of no-inner/outer and no-younger/older relationship

From: <bugzilla@jessica.w3.org>
Date: Tue, 21 Apr 2015 07:27:54 +0000
To: public-webapps@w3.org
Message-ID: <bug-28522-2927@http.www.w3.org/Bugs/Public/>

            Bug ID: 28522
           Summary: [Shadow] Cascading for trees of no-inner/outer and
                    no-younger/older relationship
           Product: WebAppsWG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: kojiishi@gmail.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org

This issue should land on CSS Scoping spec, but I think it's better to discuss
here and have some level of common understanding before we go www-style,
because complex tree of trees is too much for most members at www-style. If
this doesn't look right, please close and I'll go www-style.

The Shadow Cascading of CSS Scoping spec[1] defines:
 * Outer wins if inner/outer
 * Younger wins if younger/older

But Takashi and I are finding a few cases where trees have more complex
relationships. We should define how cascading occurs in such cases, which wins,
or prohibit.

Case 1: Re-distributions
By using multiple and nesting together, re-distribution can cause such
relationship. Example:
        style ::content * {color:red}
    style ::content * {color:green}

Case 2: :host and shadow-piercing descendant combinator
The combination of :host and shadow-piercing descendant combinator can select
descendants of younger/older trees.

[1] http://dev.w3.org/csswg/css-scoping/#cascading

You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 21 April 2015 07:27:59 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:31 UTC