You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You write a custom element "A" that uses another custom element "InsideA". "InsideA" has a slot, and "A" places its own slot element there. "InsideA" also has default content that will be used if it is not slotted any content. If element "A" wishes to allow its users to slot in content via itself to "InsideA", how can "A" achieve this?
When content is shown from within the slot of "InsideA", the css rules from "A" seems to trump the css rules of "InsideA".
The text was updated successfully, but these errors were encountered:
There are some problems with flattening assigned nodes of slot elements.
I've set up the following example to illustrate the problem:
slotFallbackCSS.txt
or see here:
https://codepen.io/orstavik/pen/dgyWMM
The technical problems are:
The text was updated successfully, but these errors were encountered: