-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
The thoughts around the project.
Shadow DOM vs light DOM
css-chain meant to support as classic web components with shadow DOM as usual HTML within/out of web component.
Method $( ...arr ){ return $( this.shadowRoot || this ).$(...arr); } would work in both.
Slots. Shadow DOM vs light DOM tests
where to get the complete SLOT coverage test set?
The slots manipulation by cs-chain in light dom should produce the same result as in shadow DOM as in light DOM. But what is the complete use cases set? I expected to see its coverage in web components polyfill, but could not find. The Chromium sources do have some:
https://github.com/chromium/chromium/blob/main/third_party/blink/web_tests/external/wpt/shadow-dom/slots.html
slotted-element API
has a gentleman set of operations and unit tests for them. css-chain-test would adopt those.