Re: [csswg-drafts] [css-scoping] Handling global name-defining constructs in shadow trees

Apple's WebKit team's feedback for the proposal will be that:
 1. Bare name reference by font-family, keyframes, etc... should first look up its name in the current scope, and then fallback to its parent scope, its grandparent scope, etc... Also see the compatibility analysis in https://github.com/w3c/csswg-drafts/issues/1995#issuecomment-367170832
 2. We're highly skeptical that `scoped(indent)` would be a useful feature given (1). We propose we get rid of that feature.

Basically our preferred approach here is to adopt WebKit's current approach, add the "inheritance" of names from the parent tree, then fix the inheritance issue since inheritance leaking the existence of shadow tree is a generic problem tracked by https://github.com/whatwg/html/issues/3748.

-- 
GitHub Notification of comment by rniwa
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1995#issuecomment-439275301 using your GitHub account

Received on Friday, 16 November 2018 04:04:41 UTC