Post

Anyone want to join an API naming discussion? matchContainer() confused me the first time I saw it (it makes more sense now), and a Chromium reviewer had the same reaction. Ideas welcome! github.com/w3c/csswg-dr... #css #csswg

github.com[css-conditional-5] matchContainer() name may be confusing · Issue #14541 · w3c/csswg-draftselement.matchContainer(query) evaluates query against the element's query container, i.e. its nearest eligible ancestor, not the element itself. Regarding the naming, matchContainer() might suggest...

3 reposts6 likes

No replies yet.