terribleMia’s avatarterribleMia’s Twitter Archive—№ 10,688

  1. Has anyone been experimenting with the overlap of Container Queries and Shadow DOM? Should queries inside the Shadow DOM be able to query containers in the host document? Or should we block container queries from crossing the shadow boundary? github.com/w3c/csswg-drafts/issues/5984
    1. …in reply to @TerribleMia
      Keep in mind that (just like @/media) not all queries are just about the container dimensions. We might also be able to query container styles, or even aspects of a container state (is it position-sticky & currently stuck? etc) Not sure if that impacts the answer…