Re: [webcomponents] Composition Algorithm shouldn't unwrap slots (#308)

>  > In resolving CSS inheritance, an element must inherit from the parent node in the composed tree, if applicable.

> I think this statement needs to be removed/revised since a slot element is the parent node of its assigned nodes in the composed tree.

We don't need to revise this sentence. Instead, we have to redefine the composition algorithm:
https://w3c.github.io/webcomponents/spec/shadow/#composition-algorithm

This sentence might be unnecessary since I've added the following sentence to the spec recently:

> User agents must use the document composed tree in the visual formatting model, instead of the document tree.

However, explicit might be better than implicit.

Since it turned out that an element with `{display: contents}` should have an effect on style inheritance, I have a concern how we could implement "slots in composed tree" in blink. Let me investigate further.


---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/308#issuecomment-144599950

Received on Thursday, 1 October 2015 02:30:45 UTC