Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/layout/style/test/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 704 B image not shown  

Quelle  style_attribute_tests.js   Sprache: JAVA

 
SimpleTest.waitForExplicitFinish();

window.addEventListener("load", runTests);

function runTests(event) {
  if (event.target != document) {
    return;
  }

  var elt = document.getElementById("content");

  elt.setAttribute("style""color: blue; background-color: fuchsia");
  is(elt.style.color, "blue""setting correct style attribute (color)");
  is(
    elt.style.backgroundColor,
    "fuchsia",
    "setting correct style attribute (color)"
  );

  elt.setAttribute("style""{color: blue; background-color: fuchsia}");
  is(elt.style.color, """setting braced style attribute (color)");
  is(elt.style.backgroundColor, """setting braced style attribute (color)");

  SimpleTest.finish();
}

Messung V0.5
C=100 H=100 G=100

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

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.