Index: sky/tests/lowlevel/style-basic.sky |
diff --git a/sky/tests/lowlevel/style-basic.sky b/sky/tests/lowlevel/style-basic.sky |
index 9c08c714d924475ad886a62c1ec9b5c4b505864b..1ae280304c5535b43cf83d44e4b29ff3c057fb1e 100644 |
--- a/sky/tests/lowlevel/style-basic.sky |
+++ b/sky/tests/lowlevel/style-basic.sky |
@@ -28,7 +28,7 @@ |
var i = 1; |
for (Element element = tests.firstElementChild; element != null; element = element.nextElementSibling) { |
var order = int.parse(window.getComputedStyle(element)["order"]); |
- var div = document.createElement("div"); |
+ var p = document.createElement("p"); |
var text = (order == i) ? "PASS" : "FAIL"; |
text += ": <" |
+ element.tagName |
@@ -39,8 +39,8 @@ |
+ order.toString(); |
if (order != i) |
text += " expected " + i; |
- div.textContent = text; |
- log.appendChild(div); |
+ p.textContent = text; |
+ log.appendChild(p); |
++i; |
} |
} |