Bug 1885602 - Part 5: Implement navigating to the SUMO help topic from the menu heade...
[gecko.git] / dom / webidl / CSSContainerRule.webidl
blob0a4c96fdbaaf67f2ba32a8e0815b867751e7573a
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4  * You can obtain one at http://mozilla.org/MPL/2.0/.
5  *
6  * The origin of this IDL file is
7  * https://drafts.csswg.org/css-contain-3/#the-csscontainerrule-interface
8  */
10 // https://drafts.csswg.org/css-contain-3/#the-csscontainerrule-interface
11 [Exposed=Window, Pref="layout.css.container-queries.enabled"]
12 interface CSSContainerRule : CSSConditionRule {
13   readonly attribute UTF8String containerName;
14   readonly attribute UTF8String containerQuery;
16   // Performs a container query look-up for an element.
17   [ChromeOnly] Element? queryContainerFor(Element element);