Re: [w3c/webcomponents] CSS Modules (#759)

@matthewp So just to make sure I understand, we have three sheets: `A`, `B, `C`.  `B` and `C` both import `A`.  `B` contains a selector with the same specificity as a selector in `A`, but `B`'s selector wins out because of the "order specified" rule in https://www.w3.org/TR/CSS21/cascade.html#cascading-order step 4 or equivalent in later CSS specs.  `C` comes after `B` in the declaration order, so the version of `A` imported by `C` ends up winning out over `B`.  Is that the situation we're trying to address?

It's not clear to me how the "order specified" would even be defined in the option 3 case, and hence whether it would avoid this problem....

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/759#issuecomment-490489616

Received on Wednesday, 8 May 2019 13:40:54 UTC