Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: sky/tests/lowlevel/style-basic.sky

Issue 1077473002: Stop rendering text inside flex boxes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: make p default to display: paragraph Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/tests/lowlevel/iframe-expected.txt ('k') | sky/tests/lowlevel/text.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
}
« no previous file with comments | « sky/tests/lowlevel/iframe-expected.txt ('k') | sky/tests/lowlevel/text.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698