Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Firefox/dom/base/test/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  test_bug254337.html   Sprache: HTML

 
 products/sources/formale Sprachen/C/Firefox/dom/base/test/test_bug254337.html


<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=254337
-->

<head>
  <title>Test for Bug 254337</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=254337">Mozilla Bug 254337</a>
<p id="display"></p>
<div id="content" style="display: none">
  
</div>
<pre id="test">
<script class="testbody" type="text/javascript">

/** Test for Bug 254337 **/

var el = document.createElement("div");
el.setAttribute("class""foobar1");
is(el.className, "foobar1""Wrong className!");
el.className += " foobar2 ";
is(el.className, "foobar1 foobar2 ""Appending to className didn't work!");
el.className += "foobar3";
is(el.className, "foobar1 foobar2 foobar3""Appending to className didn't work!");

var el = document.createElement("div");
el.setAttribute("class"" foobar1 ");
is(el.className, " foobar1 ""Wrong className!");
el.className += "foobar2";
is(el.className, " foobar1 foobar2""Appending to className didn't work!");
el.setAttribute("class"" ");
is(el.getAttribute("class"), " ""class attribute didn't store the right value!");

</script>
</pre>
</body>
</html>


Messung V0.5
C=91 H=72 G=81

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

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