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

Quelle  257818-1.html   Sprache: HTML

 
 products/Sources/formale Sprachen/C/Firefox/dom/html/crashtests/257818-1.html


<html><head>
<script type="text/javascript">
function cE (v) {
 return document.createElement(v)
}
function cTN (v) {
  return document.createTextNode(v)
}

function OSXBarIcon(elt) {
 this.element = elt; 
 this.labelNode = this.element.firstChild;
 this.labelNodeParent = this.element;
 this.labelNodeParent.removeChild(this.labelNode);
 
 this.contents = [];
 var kids = this.element.childNodes;
 for(var i=0; i<kids.length; i++) this.contents[this.contents.length] = this.element.removeChild(kids[i]); 
 this.popupSubmenu = new OSXBarSubmenu(this);
}

function OSXBarSubmenu(icon) {
 this.parentIcon = icon;
 this.create();
 this.addContent();
}
OSXBarSubmenu.prototype = {
 create : function() {
  var p = this.popupNode = document.createElement("div");
  var b = document.getElementsByTagName("body").item(0);
  if(b) b.appendChild(p);
  this.popupNode.style.display = "none";
                // Uncomment next line to fix the problem
//                var v = document.body.offsetWidth;
 }
};
OSXBarSubmenu.prototype.addContent = function() {

 // add popup label:
 var label = document.createElement("div");
  label.appendChild(document.createTextNode(this.parentIcon.label));
 this.popupNode.appendChild(label);
 
 // add <li> children to the popup: 
 var contents = this.parentIcon.contents;
 for(var i=0; i<contents.length; i++) {
  this.popupNode.appendChild(contents[i]);
  
 }
};

</script>

<script type="text/javascript">
function createControlPanel() {
 var bar = document.getElementById("navigation");
 var item = cE("li");
        item.appendChild(cTN("aaa"));
        var textfield = cE("input");
        textfield.value = 0;
        item.appendChild(textfield);
 bar.insertBefore(item, bar.firstChild);
}

window.addEventListener("load", createControlPanel);
</script>

<script type="text/javascript">
function ssload() {
  new OSXBarIcon(document.getElementById("navigation").childNodes[0]);
}
window.addEventListener("load",ssload);


</script>
</head>

<body>
<ul id="navigation"></ul>
</body></html>



Messung V0.5
C=92 H=81 G=86

¤ Dauer der Verarbeitung: 0.24 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.