Open Bug 1897594 Opened 2 years ago Updated 8 months ago

Implement matchContainer on HTMLElement

Categories

(Firefox :: General, enhancement)

x86_64
macOS
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: jochen.kuehner, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Steps to reproduce:

try use element.matchContainer Api, does not yet exist.

As statet here: https://www.w3.org/TR/css-contain-3/#the-csscontainerrule-interface (https://crbug.com/chromium/6) and here https://github.com/w3c/csswg-drafts/issues/6205
there should also be a matchContainer Api on the element, so a matching could also be checked via Javascript

Actual results:

does not work

Expected results:

it shoudl work

Setting component for engineering input. Thank you.

Component: Untriaged → General
OS: Unspecified → macOS
Hardware: Unspecified → x86_64
You need to log in before you can comment on or make changes to this bug.