Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/accessible/tests/browser/atk/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1003 B image not shown  

Quelle  browser_prune_children.js

  Sprache: JAVA
 

/* 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/. */


"use strict";

/**
 * Test pruning of children from meter.
 */

addAccessibleTask(
  `
<div id="meter"
     role="meter"
     aria-valuemin="0"
     aria-valuemax="100"
     aria-valuenow="33"
     aria-valuetext="33% (Prepared)">
  <span>Prepared</span>
  <span>Shipped</span>
  <span>Delivered</span>
</div>
  `,
  async function testPruneChildren() {
    const meterChildCount = await runPython(`
      global meter
      doc = getDoc()
      meter = findByDomId(doc, "meter")
      return meter.childCount
    `);
    is(meterChildCount, 0"Meter is pruned");

    const hasTextIface = await runPython(`
      try:
        findByDomId(doc, "meter").queryText()
      except:
        return False

      return True
    `);
    ok(!hasTextIface, "Meter should not have text interface");
  }
);

Messung V0.5 in Prozent
C=91 H=100 G=95

¤ Dauer der Verarbeitung: 0.21 Sekunden  (vorverarbeitet am  2026-08-26) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.