Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/webidl/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Quelle  CSSContainerRule.webidl   Sprache: unbekannt

 
Spracherkennung für: .webidl vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * The origin of this IDL file is
 * https://drafts.csswg.org/css-conditional-5/#the-csscontainerrule-interface
 */

dictionary CSSContainerCondition {
  required UTF8String name;
  required UTF8String query;
};

// https://drafts.csswg.org/css-conditional-5/#the-csscontainerrule-interface
[Exposed=Window]
interface CSSContainerRule : CSSConditionRule {
  [Deprecated=CSSContainerRuleSingleCondition] readonly attribute UTF8String containerName;
  [Deprecated=CSSContainerRuleSingleCondition] readonly attribute UTF8String containerQuery;

  // TODO: Use FrozenArray once available. (Bug 1236777)
  [Frozen, Cached, Pure] readonly attribute sequence<CSSContainerCondition> conditions;

  // Performs a container query look-up for an element.
  [ChromeOnly] Element? queryContainerFor(Element element, unsigned long conditionIndex);

  [ChromeOnly] boolean queryConditionMatchesElement(Element element, unsigned long conditionIndex);
};

[Dauer der Verarbeitung: 0.23 Sekunden, vorverarbeitet 2026-08-24]