/** Test for Bug 830260 **/ vardiv = document.createElement("div"); div.style.color = "green"; div.style.color = "null";
is(div.style.color, "green", 'Assigning "null" as a color should not parse'); div.style.setProperty("color", "null");
is(div.style.color, "green", 'Passing "null" as a color to setProperty should not parse');
div.style.setProperty("color", null);
is(div.style.color, "", 'Passing null as a color to setProperty should remove the property');
div.style.color = "green";
is(div.style.color, "green", 'Assigning "green" as a color should parse');
div.style.color = null;
is(div.style.color, "", 'Assigning null as a color should remove the property');
¤ 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.0.12Bemerkung:
(vorverarbeitet)
¤
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.