/** Test for Bug 852846 */ var elem = document.createElement("div");
is(elem.style.color, "", "Shouldn't have color set on HTML element");
elem.style = "color: green";
is(elem.style.color, "green", "Should have color set on HTML element");
elem = document.createElementNS("http://www.w3.org/2000/svg", "svg");
is(elem.style.color, "", "Shouldn't have color set on SVG element");
elem.style = "color: green";
is(elem.style.color, "green", "Should have color set on SVG element");
</script>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=852846">Mozilla Bug 852846</a>
<p id="display"></p>
<div id="content"style="display: none">
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.