webcomponents / webcomponents/polyfills

shadydom css of one component leaks in other components in Edge18

Open
#184 3 comments 0 reactions 0 assignees View on GitHub
Package: shadycss Package: shadydom Type: Bug wontfix
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.