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

Unified Diff: sky/tests/editing/delete_block_contents.sky

Issue 879733002: Replace createTextNode with new Text(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/engine/core/html/HTMLTitleElement.cpp ('k') | sky/tests/mutation-observer/delivery-order.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/editing/delete_block_contents.sky
diff --git a/sky/tests/editing/delete_block_contents.sky b/sky/tests/editing/delete_block_contents.sky
index 9fb308533d9dbf519333c3cb03768fa61c47d592..f1ab1f4e36c60216383120fc346e8f60832bbc4f 100644
--- a/sky/tests/editing/delete_block_contents.sky
+++ b/sky/tests/editing/delete_block_contents.sky
@@ -9,9 +9,9 @@ describe("height of an editable block", function() {
var elem = document.getElementById("test");
var originalHeight = elem.offsetHeight;
var d = elem.appendChild(document.createElement('div'));
- d.appendChild(document.createTextNode('aaa'));
+ d.appendChild(new Text('aaa'));
d = elem.appendChild(document.createElement('div'));
- d.appendChild(document.createTextNode('bbb'));
+ d.appendChild(new Text('bbb'));
var newHeight = elem.offsetHeight;
while (elem.firstChild) {
« no previous file with comments | « sky/engine/core/html/HTMLTitleElement.cpp ('k') | sky/tests/mutation-observer/delivery-order.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698