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

Quelle  browser_root_element.js   Sprache: JAVA

 

/* Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/ */


"use strict";

/* import-globals-from ../../mochitest/role.js */
loadScripts({ name: "role.js", dir: MOCHITESTS_DIR });

/**
 * Verify that we don't mutate the accessible tree when the the root
 * element gets a new overflow style.
 */

addAccessibleTask(
  `
<button>button</button>
  `,
  async function testNoMutateOnRootOverflow(browser, accDoc) {
    const tree = {
      DOCUMENT: [
        {
          // Body element gets a generic container.
          TEXT_CONTAINER: [
            {
              PUSHBUTTON: [{ TEXT_LEAF: [] }],
            },
          ],
        },
      ],
    };
    testAccessibleTree(accDoc, tree);
    await contentSpawnMutation(
      browser,
      { unexpected: [[EVENT_REORDER, accDoc]] },
      function () {
        content.document.documentElement.style.overflow = "hidden";
      }
    );
  },
  {
    contentDocBodyAttrs: { style: "overflow: auto;" },
  }
);

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

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-09-30) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Diese beiden folgenden Angebotsgruppen bietet das Unternehmen

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.