Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix remaining wpt/css/css-contain/container-queries/container-for-shadow-dom.html test #8

Open
3 of 4 tasks
Marshal27 opened this issue Nov 13, 2022 · 1 comment
Open
3 of 4 tasks

Comments

@Marshal27
Copy link
Owner

Marshal27 commented Nov 13, 2022

t4: "Match container in outer tree for :host"
t7: "Match container in outer tree for :host::before"
t10: "Match container for slot light tree child fallback"

  • resolve pipeline issues
  • resolve t4
  • resolve t7
  • resolve t10
@Marshal27
Copy link
Owner Author

The failure on t10 is a result of the target div being a child of the slot.

The slot element having display: contents results in a computed display flag of 1 and thus the conditions are zero'd out and not passed down to the child/children.

The following will not work:

 <slot>
     <span id="t10"></span>
 </slot>

The following will work:

 <slot>
 </slot>
 <span id="t10"></span>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant