webcomponents / webcomponents/polyfills
shadydom css of one component leaks in other components in Edge18
- Dominant language
- HTML
- Stars
- 1.2k
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Description
I have ten custom elements with styles which acts as global in the document and then i am appending shawdowDOM in one component which i added another style(scoped style in this component),then i am importing pollyfills to make support with other browsers
it works fine with the native supported browsers but in edge browser v18 and chrome V49 and so on, the scoped style overrides the global style which is not the behaviour of shadowDOM
Contributor guide
Research direction
Start by reproducing the reported setup with ten custom elements and a scoped style inside Shadow DOM in Edge 18 and Chrome 49 using the polyfills. Compare the polyfilled behavior with native Shadow DOM; done means component-scoped CSS no longer overrides the other components' global styles.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, html
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100